You are reading a single comment by @SI_Cheng-Yun and its replies.
Click here to read the full conversation.
-
After solving the existing problems, I found that callback function for
onWrite()
is not implemented.
And Unable to implement thenotify
andindicate
, my phone always reports error when sending notification listening requests to ESP32.NRF.setServices({ 0x1901: { 0x1902: { value : "Hello", broadcast : true, readable : true, writable : true, notify : true, indicate: true, onWrite: (event) => { console.log("Got: ", event); } } } });
Well but does it work? I did not test it.