Note: Cannot post my own code. Get error ‘403’.
In any case, the server code is a version of the Arduino * notify* example code.
Server code snippet:
// Update the value periodically
value++;
pCharacteristic->setValue(String(value).c_str());
pCharacteristic->notify(); // Notify clients of updated value
The client implements the regular notify callback:
if(pRemoteCharacteristic->canNotify())
{ pRemoteCharacteristic->registerForNotify(notifyCallback);
}
The result is that there is no notification taking place. All else is working well. I wonder if there is a known issue with the esp32s3 board and the current Arduino (IDE v.2.3.6) Espressif board manager (v. 3.3.0) and/or the current BLE stack.
On the other hand, if you do have a simple proven and working example of an Arduino client/server BLE code and would like to share it, that would be great. I cannot share/post my own code for some reason.
Thank you. Most appreciated.
Regards…