Bluetooth-LE-Library---Android
Bluetooth-LE-Library---Android copied to clipboard
How to send something to device?
Can you explain what to use to send some data over BT? Is it writing/reading characteristic that will do the trick?
Thanks
- Clone library
- make public BluetoothGatt in BluetoothLeService
- bleCharacteristic.setValue(ALERT_LEVEL, BluetoothGattCharacteristic.FORMAT_UINT8, 0); mBluetoothLeService.mBluetoothGatt.writeCharacteristic(bleCharacteristic)