After connecting to BLE device and discovering its services, I check that a certain characteristic is readable, then, I call readCharacteristic
. This call returns true
, but the callback onCharacteristicRead
is not called.
After merely 30 seconds, the onCharacteristicRead
is called with characteristic == null and the onDeviceDisconnected
is called with status code equal to 22.
I have tested nRF Connecte to read the same characteristic and it worked fine.
What could possibly be wrong ?