I just got a Bangle.js 2 for Christmas. I'm excitedly tinkering with it and enjoying it so far! One pain point I've run into is that Bangle.http() doesn't work (always times out) when connected to the WebIDE, since that function uses Gadgetbridge to make the actual request. This makes it a rather clunky process to develop code that uses that function - I have to make the changes in WebIDE, upload it to Bangle, disconnect the IDE, connect to Gadgetbridge, wait for GB to be ready for http requests, and then hope it works correctly because debugging will be difficult if it doesn't. 😅 Would it be possible to make the WebIDE recognize and answer (some subset of) GB commands from Bangle?
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.
Hi,
I just got a Bangle.js 2 for Christmas. I'm excitedly tinkering with it and enjoying it so far! One pain point I've run into is that
Bangle.http()
doesn't work (always times out) when connected to the WebIDE, since that function uses Gadgetbridge to make the actual request. This makes it a rather clunky process to develop code that uses that function - I have to make the changes in WebIDE, upload it to Bangle, disconnect the IDE, connect to Gadgetbridge, wait for GB to be ready for http requests, and then hope it works correctly because debugging will be difficult if it doesn't. 😅 Would it be possible to make the WebIDE recognize and answer (some subset of) GB commands from Bangle?