alt236/Bluetooth-LE-Library---Android

How to send something to device?

Opened this issue · 1 comments

Can you explain what to use to send some data over BT?
Is it writing/reading characteristic that will do the trick?

Thanks

  1. Clone library
  2. make public BluetoothGatt in BluetoothLeService
  3. bleCharacteristic.setValue(ALERT_LEVEL, BluetoothGattCharacteristic.FORMAT_UINT8, 0);
    mBluetoothLeService.mBluetoothGatt.writeCharacteristic(bleCharacteristic)