Sending simple commands such as print("hello espruino") is working fine (the watch leaves the watch-face app and displays the Bangle.js logo, firmware version, etc and "hello espruino" is printed to the webIDE console).
Ahh - you're pasting into the right-hand side and clicking 'upload', which resets the Bangle and writes just that code.
All you need to do is paste the command into the left-hand side when the clock is running rather than uploading
Also the following GB - call command can be verified with Mario Clock, but notifications doesn't recognize it.
Ahh, sorry. My bad. I think the docs might be wrong looking at it... Try:
This does work - and I just dumped exactly the data I get from Gadgetbridge while accepting a call:
GB({"t":"call","cmd":"incoming","name":"Home","number":"1234"})
// accept call on phone
GB({"t":"call","cmd":"start","name":"Home","number":"1234"})
// hang up
GB({"t":"call","cmd":"end","name":"Home","number":"1234"})
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.
Ahh - you're pasting into the right-hand side and clicking 'upload', which resets the Bangle and writes just that code.
All you need to do is paste the command into the left-hand side when the clock is running rather than uploading
Ahh, sorry. My bad. I think the docs might be wrong looking at it... Try:
This does work - and I just dumped exactly the data I get from Gadgetbridge while accepting a call: