How to send something to device?
Opened this issue · 1 comments
siadajpan commented
Can you explain what to use to send some data over BT?
Is it writing/reading characteristic that will do the trick?
Thanks
yusufonderd commented
- Clone library
- make public BluetoothGatt in BluetoothLeService
- bleCharacteristic.setValue(ALERT_LEVEL, BluetoothGattCharacteristic.FORMAT_UINT8, 0);
mBluetoothLeService.mBluetoothGatt.writeCharacteristic(bleCharacteristic)