Quellcode durchsuchen

增加广播秤、八电极秤和蓝牙WiFi牙刷SDK的使用说明

tags/v1.4.5_20211215
iot_user vor 5 Jahren
Ursprung
Commit
aceec2b4a7

+ 1
- 1
AILinkBleSDKDemo.xcodeproj/project.pbxproj Datei anzeigen

@@ -423,8 +423,8 @@
E680BF1D2510576D005AD827 /* 广播体脂秤 */ = {
isa = PBXGroup;
children = (
E680BF1E2510576D005AD827 /* BroadcastScaleViewController.m */,
E680BF1F2510576D005AD827 /* BroadcastScaleViewController.h */,
E680BF1E2510576D005AD827 /* BroadcastScaleViewController.m */,
);
path = "广播体脂秤";
sourceTree = "<group>";

BIN
AILinkBleSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/iot_user.xcuserdatad/UserInterfaceState.xcuserstate Datei anzeigen


BIN
AILinkBleSDK使用说明_iOS.doc Datei anzeigen


+ 26
- 0
READMD_CN.md Datei anzeigen

@@ -2118,6 +2118,32 @@ Set unit callback( 设置单位回调)
    return user;
}
```
### 十三、广播体脂秤
#### 1.文件说明
>* `ELBroadcastScaleBleHeader `一些用到的枚举;
>* `ELBroadcastScaleBleManager`续承自`ELBluetoothManager`的类,用于扫描附近设备和接收数据;
>* `ELBroadcastScaleDataModel`广播秤的数据结构模型.

#### 2.使用范例Demo
打开`AILinkBleSDKDemo_iOS`,运行到手机上,选择`集成广播秤`,参照`BroadcastScaleViewController.m`的使用.

### 十四、八电极体脂秤
#### 1.文件说明
>* `ELEightScaleSDKHeader `一些用到的枚举和数据结构;
>* `ELEightScaleBleManager`续承自`ELBluetoothManager`的类,用于扫描附近设备、连接设备、接收数据和发送数据给设备;
>* `ELEightScaleBleDataModel`称量结果的数据结构模型.

#### 2.使用范例Demo
打开`AILinkBleSDKDemo_iOS`,运行到手机上,选择`八电极体脂秤`,参照`EightScaleScanViewController.m`和`EightScaleConnectionViewController.m`的使用.

### 十五、蓝牙WiFi牙刷
#### 1.文件说明
>* `ELToothburshHeader`一些用到的枚举和数据结构;
>* `ELToothbrushBleManager`续承自`ELBluetoothManager`的类,用于扫描附近设备、连接设备、接收数据和发送数据给设备.

#### 2.使用范例Demo
打开`AILinkBleSDKDemo_iOS`,运行到手机上,选择`蓝牙WiFi牙刷`,参照`ToothbrushScanViewController.m`和`ToothbrushConnectionViewController.m`的使用.

#### 6.说明
体脂秤需要从设备读取支持的体重单位,单位切换时要以支持的单位为准


+ 27
- 0
README.md Datei anzeigen

@@ -2111,6 +2111,33 @@ MARK // MARK: 5. Enter wifi password
    return user;
}
```

### Broadcast Body Fat Scale
#### 1. File description
>* `ELBroadcastScaleBleHeader` some enumerations used;
>* `ELBroadcastScaleBleManager` continues from the class of `ELBluetoothManager`, used to scan nearby devices and receive data;
>* `ELBroadcastScaleDataModel` The data structure model of the broadcast scale.

#### 2. Use example Demo
Open `AILinkBleSDKDemo_iOS`, run it on the phone, select `集成广播秤`, refer to the use of `BroadcastScaleViewController.m`.

### Eight electrode body fat scale
#### 1. File description
>* `ELEightScaleSDKHeader `Some enumerations and data structures used;
>* `ELEightScaleBleManager` continues from the class of `ELBluetoothManager`, used to scan nearby devices, connect devices, receive data and send data to devices;
>* `ELEightScaleBleDataModel` The data structure model of the weighing result.

#### 2. Use example Demo
Open `AILinkBleSDKDemo_iOS`, run it on the phone, select `八电极体脂秤`, refer to the use of `EightScaleScanViewController.m` and `EightScaleConnectionViewController.m`.

### Bluetooth WiFi toothbrush
#### 1. File description
>* `ELToothburshHeader` some enumerations and data structures used;
>* `ELToothbrushBleManager` continues from the class of `ELBluetoothManager`, used to scan nearby devices, connect devices, receive data and send data to devices.

#### 2. Use example Demo
Open `AILinkBleSDKDemo_iOS`, run it on the phone, select `蓝牙WiFi牙刷`, refer to the use of `ToothbrushScanViewController.m` and `ToothbrushConnectionViewController.m`.

#### 6.Explanation
The body fat scale needs to read the supported weight unit from the device. When the unit is switched, the supported unit shall prevail


Laden…
Abbrechen
Speichern