瀏覽代碼

Update README.md

更新说明
master
elinkthings 5 年之前
父節點
當前提交
d2acab7eab
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      README.md

+ 1
- 0
README.md 查看文件

@@ -211,6 +211,7 @@ it will be returned in onServicesDiscovered (String mac) in the OnCallbackBle in

### 6, Get connected device object
```
Note:If no parsing package is added, you need to create a class to inherit BaseBleDeviceData.class, and then you can get the payload data of the device through this class onNotifyData interface
BleDevice bleDevice = mBluetoothService.getBleDevice (mAddress);
The BleDevice object has all operations on this device, including operations such as disconnecting, sending instructions, receiving instructions, etc.
BleDevice.disconnect (); // Disconnect

Loading…
取消
儲存