where is the Bluetooth object documented? It looks like a Serial object, but I don't see it mentioned on the reference page - https://www.espruino.com/Reference
I've got the node.js code working to the extent it connects to my puck, gets the appropriate characteristic and waits for data to be sent over. However nothing ever arrives from the puck. I've confirmed the puck side is working as, in the web ide, when I press the button, the Bluetooth.write() does result in something appearing in the web console.
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.
@joakim thanks for that. A couple questions...
where is the
Bluetooth
object documented? It looks like aSerial
object, but I don't see it mentioned on the reference page - https://www.espruino.com/ReferenceI've got the node.js code working to the extent it connects to my puck, gets the appropriate characteristic and waits for data to be sent over. However nothing ever arrives from the puck. I've confirmed the puck side is working as, in the web ide, when I press the button, the
Bluetooth.write()
does result in something appearing in the web console.