浏览代码

Update documentation

master
陈福行 5 年前
父节点
当前提交
b3744f6b25
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 3
    0
      README.md
  2. 2
    1
      README_CN.md

+ 3
- 0
README.md 查看文件

@@ -81,6 +81,7 @@ PabulumSDK.getInstance (). Init (this, "key", "secret");
```

- Add under AndroidManifest.xml application tag

```
<application>
    ...
@@ -252,6 +253,7 @@ The following methods or interfaces can be automatically obtained directly after

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

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

@@ -286,6 +288,7 @@ Stop alarm command: stopAlarm ();

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

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

+ 2
- 1
README_CN.md 查看文件

@@ -79,6 +79,7 @@ PabulumSDK.getInstance().init(this,"key","secret");


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

```
<application>
...
@@ -249,11 +250,11 @@ connectDevice(BluetoothDevice device)
}

```

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


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


正在加载...
取消
保存