Bläddra i källkod

Update documentation

master
陈福行 5 år sedan
förälder
incheckning
b3744f6b25
2 ändrade filer med 5 tillägg och 1 borttagningar
  1. 3
    0
      README.md
  2. 2
    1
      README_CN.md

+ 3
- 0
README.md Visa fil

@@ -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 Visa fil

@@ -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();


Laddar…
Avbryt
Spara