Parcourir la source

Update README.md

更新说明
master
elinkthings il y a 5 ans
Parent
révision
d2acab7eab
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      README.md

+ 1
- 0
README.md Voir le fichier

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

Chargement…
Annuler
Enregistrer