Browse Source

Update documentation

master
陈福行 5 years ago
parent
commit
b3744f6b25
2 changed files with 5 additions and 1 deletions
  1. 3
    0
      README.md
  2. 2
    1
      README_CN.md

+ 3
- 0
README.md View File

``` ```


- Add under AndroidManifest.xml application tag - Add under AndroidManifest.xml application tag

``` ```
<application> <application>
    ...     ...


``` ```
> Note: Some of these interfaces or methods require APP to issue commands to body fat to return data. > Note: Some of these interfaces or methods require APP to issue commands to body fat to return data.

## Give instructions to the device ## Give instructions to the device
Get an instance of PabulumService.PabulumBinder in BleProfileServiceReadyActivity.onServiceBinded (PabulumService.PabulumBinder binder), call the method inside binder Get an instance of PabulumService.PabulumBinder in BleProfileServiceReadyActivity.onServiceBinded (PabulumService.PabulumBinder binder), call the method inside binder




## categories ## categories
#### FoodData (weight data) #### FoodData (weight data)

``` ```
Type Parameter name Description Type Parameter name Description
String data; // Weight, corresponding to the current unit String data; // Weight, corresponding to the current unit

+ 2
- 1
README_CN.md View File





- 在AndroidManifest.xml application标签下面增加 - 在AndroidManifest.xml application标签下面增加

``` ```
<application> <application>
... ...
} }


``` ```

> 注意:这些接口或方法部分需要APP给体脂下发命令才会有返回数据. > 注意:这些接口或方法部分需要APP给体脂下发命令才会有返回数据.
## APP给设备下发指令 ## APP给设备下发指令
在BleProfileServiceReadyActivity.onServiceBinded(PabulumService.PabulumBinder binder)获得PabulumService.PabulumBinder的实例,调用binder里面方法 在BleProfileServiceReadyActivity.onServiceBinded(PabulumService.PabulumBinder binder)获得PabulumService.PabulumBinder的实例,调用binder里面方法



``` ```
秤支持的单位:getUnits(); 秤支持的单位:getUnits();



Loading…
Cancel
Save