Basically Bangle.js provides a REPL over Bluetooth (basically the left-hand side of the IDE). Gadgetbridge connects to that and sends the command to execute GB directly. It's like a poor man's remote procedure call.
The nice side-effect is it's easy to test because you can just manually call the function using the left-hand side of the IDE
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.
This sort-of explains it: http://www.espruino.com/Gadgetbridge
Basically Bangle.js provides a REPL over Bluetooth (basically the left-hand side of the IDE). Gadgetbridge connects to that and sends the command to execute
GB
directly. It's like a poor man's remote procedure call.The nice side-effect is it's easy to test because you can just manually call the function using the left-hand side of the IDE