Android BLE writeDescriptor return false
I have a glucometer device and I want to get recorded data. I wrote and set some descriptors. But one of them returns false for writeDescriptor. There's some code
if (characteristic.uuid == GLUCOSE_CHARACTERISTIC) {
val charGM =
gatt.getService(UUID.fromString("00001808-0000-1000-8000-00805f9b34fb"))
.getCharacteristic(GLUCOSE_CHARACTERISTIC)...