no no no no no... writing does work!
just the callback function onWrite() is not implemented
I can both read and write / edit the value of certain characteristic, but could not call the onWrite() callback function
In my conception, I should write / edit the value of characteristic A, and then my ESP32 call the onWrite() callback function to verify this value. If the value is valid, ESP32 will change characteristic B to readable mode.
Just like some kind of encryption verification.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
no no no no no... writing does work!
just the callback function
onWrite()
is not implementedI can both read and write / edit the value of certain characteristic, but could not call the
onWrite()
callback functionIn my conception, I should write / edit the value of characteristic A, and then my ESP32 call the
onWrite()
callback function to verify this value. If the value is valid, ESP32 will change characteristic B to readable mode.Just like some kind of encryption verification.