Note: I wonder how to "control" the puck in some way. I tried your advice at https://www.espruino.com/Puck.js+Node-RED.
So I published {"payload": "LED1.set();\n"} (and also LED1.set();\n) to /ble/write/puck1/nus/nus_tx But all I get is:
{"payload": "LED1.set();\n"}
LED1.set();\n
/ble/write/puck1/nus/nus_tx
MQTT>/ble/write/puck1/nus/nus_tx => "{\"payload\": \"LED1.set();\\n\"}" Service 6e400001b5a3f393e0a9e50e24dcca9e Characteristic 6e400002b5a3f393e0a9e50e24dcca9e <Connect> Error Connecting
Am I missing some advertising?
@otbe 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.
Note:
I wonder how to "control" the puck in some way. I tried your advice at https://www.espruino.com/Puck.js+Node-RED.
So I published
{"payload": "LED1.set();\n"}
(and alsoLED1.set();\n
) to/ble/write/puck1/nus/nus_tx
But all I get is:
Am I missing some advertising?