ESP32 as BLE Client and remote server notification
Posted: Mon Dec 11, 2017 10:16 am
Hi: First post
I have an issue where I'm using the ESP32 as an BLE CLIENT connecting to a BLE sensor from Nordic.
According to Nordic, If I want to receive notifications from a changed characteristic I should write 1 to the CCC (2902).
Anyway, I can connect, list the characteristics and see if they support notify or not, but using:
pRemoteCharacteristic->registerForNotify( notifyCallback );
doesn't do anything. So I suppose that the notification enabling doesn't work or I'm missing something, namely the 1 write to the CCC.
Any ideas to where I can debug this?
I have an issue where I'm using the ESP32 as an BLE CLIENT connecting to a BLE sensor from Nordic.
According to Nordic, If I want to receive notifications from a changed characteristic I should write 1 to the CCC (2902).
Anyway, I can connect, list the characteristics and see if they support notify or not, but using:
pRemoteCharacteristic->registerForNotify( notifyCallback );
doesn't do anything. So I suppose that the notification enabling doesn't work or I'm missing something, namely the 1 write to the CCC.
Any ideas to where I can debug this?