So, to change data on the notify characteristics of the UART service do I have to write something like that?
const serviceUUID = '6e400001b5a3f393e0a9e50e24dcca9e'; const characteristicUUID = '6e400003b5a3f393e0a9e50e24dcca9e'; NRF.updateServices({ serviceUUID : { characteristicUUID : { value : 12345, notify : true } } });
And then, from the script on the laptop, I have to read the data value of the notify descriptor, isn't that right?
@titaniumwhite started
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.
So, to change data on the notify characteristics of the UART service do I have to write something like that?
And then, from the script on the laptop, I have to read the data value of the notify descriptor, isn't that right?