Ver código fonte

Update documentation

master
陈福行 5 anos atrás
pai
commit
1c4aa5a83b
2 arquivos alterados com 17 adições e 126 exclusões
  1. 9
    63
      README.md
  2. 8
    63
      README_CN.md

+ 9
- 63
README.md Ver arquivo

@@ -1,5 +1,5 @@

# AILink SDK Instructions - Android
# Module documentation - Android

[aar package download address](https://github.com/elinkthings/AILinkSdkDemoAndroid/releases)

@@ -293,95 +293,41 @@ public interface OnBleOtherDataListener {
#### 6, For more operations, please refer to the demo, you can clone this project


## 六, AILinkBleParsingAndroid library overview
## 六, [AILinkBleParsingAndroid library overview](https://elinkthings.github.io/AILinkSDKAndroidDoc/)

#### 1, baby scale
#### 1, [baby scale](https://elinkthings.github.io/AILinkSDKAndroidDoc/babyscale/en/index.html)
```
BabyDeviceData parsing class
BabyBleConfig directive configuration class
```
#### 2, height gauge
#### 2, [height gauge](height/en/index.html)
```
HeightDeviceData Parsing Class
HeightBleConfig directive configuration class
```
#### 3, sphygmomanometer
#### 3, [sphygmomanometer](https://elinkthings.github.io/AILinkSDKAndroidDoc/sphygmomanometer/en/index.html)
```
SphyDeviceData parsing class
SphyBleConfig instruction configuration class
```
#### 4, thermometer
#### 4, [thermometer](https://elinkthings.github.io/AILinkSDKAndroidDoc/thermometer/en/index.html)
```
TempDeviceData parsing class
TempBleConfig instruction configuration class
```
#### 5, forehead gun
#### 5, [forehead gun](https://elinkthings.github.io/AILinkSDKAndroidDoc/foreheadgun/en/index.html)
```
TempGunDeviceData parsing class
TempGunBleConfig instruction configuration class
```
#### 6, TPMS (Smart Tire Pressure)
#### 6, [TPMS (Smart Tire Pressure)](https://elinkthings.github.io/AILinkSDKAndroidDoc/tpms/en/index.html)
```
TPMS transfer board:
TpmsDeviceData Parsing Class
TpmsBleConfig directive configuration class
```
#### 7, electronic lock
```
Electronic locks:
TempGunDeviceData parsing class
TempGunBleConfig instruction configuration class
LockKeyBean electronic lock (user) key information
public class LockKeyBean implements Serializable {

    / **
     * Key type (password, remote control, fingerprint ...)
     * /
    @ LockBleConfig.KeyType
    private int mKeyType;
    / **
     * User id (key id)
     * /
    private int mUserId;
    / **
     * Password (6 digits), 0 means not supported
     * /
    private int mPassword = 0;
    / **
     * Validity Type
     * /
    @ LockBleConfig.Time
    private int mValidTimeType;
    / **
     * 0 means not supported
     * Year, month, day, hour, minute, second <br>
     * Validity start time (permanent time is 0,0,0,0,0) <br>
     * If it is a babysitter password, the format is: hour, minute <br>
     * /
    private long mStartTime = 0;
    / **
     * 0 means not supported
     * Year, month, day, hour, minute, second <br>
     * Validity end time (permanent time is -1, -1, -1, -1, -1) <br>
     * If it is a babysitter password, the format is: hour, minute <br>
     * /
    private long mStopTime = 0;
    / **
     * 0 means not supported
     * Nanny lock repeat effective way, day, week, month
     * /
    @ LockBleConfig.Repeat
    private int mRepeat = 0;
    / **
     * Repeat time, days of the week, days of the month
     * /
    private List <Integer> mRepeatList = new ArrayList <> ();
}
Electronic lock remote control:
LockRemoteControlDeviceData parsing class
LockRemoteControlBleConfig instruction configuration class
```
#### 8, Body Fat Scale
#### 7, [Body Fat Scale](https://elinkthings.github.io/AILinkSDKAndroidDoc/BodyFatScale/en/index.html)
```
BodyFatBleUtilsData Body Fat Scale Object
BodyFatDataUtil Body fat scale analysis and instruction configuration class

+ 8
- 63
README_CN.md Ver arquivo

@@ -289,95 +289,40 @@ public interface OnBleOtherDataListener {
#### 6,更多操作请参考demo,将此项目clone下来即可


## 六、AILinkBleParsingAndroid库概述
## 六、[AILinkBleParsingAndroid库概述](https://elinkthings.github.io/AILinkSDKAndroidDoc/README_CN.html)

#### 1,婴儿秤
#### 1,[婴儿秤](https://elinkthings.github.io/AILinkSDKAndroidDoc/babyscale/zh/index.html)
```
BabyDeviceData解析类
BabyBleConfig 指令配置类
```
#### 2,身高仪
#### 2,[身高仪](https://elinkthings.github.io/AILinkSDKAndroidDoc/height/zh/index.html)
```
HeightDeviceData解析类
HeightBleConfig指令配置类
```
#### 3,血压计
#### 3,[血压计](https://elinkthings.github.io/AILinkSDKAndroidDoc/sphygmomanometer/zh/index.html)
```
SphyDeviceData解析类
SphyBleConfig指令配置类
```
#### 4,体温计
#### 4,[体温计](https://elinkthings.github.io/AILinkSDKAndroidDoc/thermometer/zh/index.html)
```
TempDeviceData解析类
TempBleConfig指令配置类
```
#### 5,额温枪
#### 5,[额温枪](https://elinkthings.github.io/AILinkSDKAndroidDoc/foreheadgun/zh/index.html)
```
TempGunDeviceData解析类
TempGunBleConfig指令配置类
```
#### 6,TPMS(智能胎压)
#### 6,[TPMS(智能胎压)](https://elinkthings.github.io/AILinkSDKAndroidDoc/tpms/zh/index.html)
```
TPMS转接板:
TpmsDeviceData解析类
TpmsBleConfig指令配置类
```
#### 7,电子锁
```
电子锁:
TempGunDeviceData解析类
TempGunBleConfig指令配置类
LockKeyBean电子锁(用户)钥匙信息
public class LockKeyBean implements Serializable {

/**
* 钥匙类型(密码,遥控,指纹...)
*/
@LockBleConfig.KeyType
private int mKeyType;
/**
* 用户id(钥匙id)
*/
private int mUserId;
/**
* 密码(6位数字),0代表不支持
*/
private int mPassword = 0;
/**
* 有效期类型
*/
@LockBleConfig.Time
private int mValidTimeType;
/**
* 0代表不支持
* 年,月,日,时,分,秒<br>
* 有效期开始时间(永久时间为0,0,0,0,0)<br>
* 如果是保姆密码,格式:时,分<br>
*/
private long mStartTime = 0;
/**
* 0代表不支持
* 年,月,日,时,分,秒<br>
* 有效期结束时间(永久时间为-1,-1,-1,-1,-1)<br>
* 如果是保姆密码,格式:时,分<br>
*/
private long mStopTime = 0;
/**
* 0代表不支持
* 保姆锁重复有效方式,天,周,月
*/
@LockBleConfig.Repeat
private int mRepeat = 0;
/**
* 重复时间,周中的那几天,月中的那几天
*/
private List<Integer> mRepeatList = new ArrayList<>();
}
电子锁遥控器:
LockRemoteControlDeviceData解析类
LockRemoteControlBleConfig指令配置类
```
#### 8,体脂秤
#### 7,[体脂秤](https://elinkthings.github.io/AILinkSDKAndroidDoc/BodyFatScale/zh/index.html)
```
BodyFatBleUtilsData 体脂秤对象
BodyFatDataUtil 体脂秤解析和指令配置类

Carregando…
Cancelar
Salvar