Просмотр исходного кода

Update README.md

更新说明
master
elinkthings 5 лет назад
Родитель
Сommit
d2acab7eab
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 1 добавлений и 0 удалений
  1. 1
    0
      README.md

+ 1
- 0
README.md Просмотреть файл



### 6, Get connected device object ### 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); BleDevice bleDevice = mBluetoothService.getBleDevice (mAddress);
The BleDevice object has all operations on this device, including operations such as disconnecting, sending instructions, receiving instructions, etc. The BleDevice object has all operations on this device, including operations such as disconnecting, sending instructions, receiving instructions, etc.
BleDevice.disconnect (); // Disconnect BleDevice.disconnect (); // Disconnect

Загрузка…
Отмена
Сохранить