The BluetoothRemoteGATTCharacteristic.startNotifications() works fine when in Android program I configure characteristic to send notifications (PROPERTY_NOTIFY).
Bangle does not receive anything when I set to send indications (PROPERTY_INDICATE)
Android code:
// Current Time characteristic
BluetoothGattCharacteristic currentTime = new BluetoothGattCharacteristic(CURRENT_TIME,
//Read-only characteristic, supports notifications
BluetoothGattCharacteristic.PROPERTY_READ
// | BluetoothGattCharacteristic.PROPERTY_NOTIFY,
| BluetoothGattCharacteristic.PROPERTY_INDICATE,
BluetoothGattCharacteristic.PERMISSION_READ);
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The BluetoothRemoteGATTCharacteristic.startNotifications() works fine when in Android program I configure characteristic to send notifications (PROPERTY_NOTIFY).
Bangle does not receive anything when I set to send indications (PROPERTY_INDICATE)
Android code:
Bangle code:
Am I doing something wrong?
Is there a way to receive indications?