It may well be that when you receive a message, your code throws some kind of error. I'm pretty sure that Gadgetbridge always sends GB(...) - I don't think there's any check used for whether it should enable/disable sending it.
You can enable logging in Gadgetbridge and then write the log to a file - and that will allow you to see what data is sent to/from the Bangle (particularly if there are any error messages sent back).
You can see what GB(...) function is called (and ensure that it is called), then you can connect directly with the Web IDE and paste in that same command and test.
You can also run Gadgetbridge, go to the app loader inside it, then More... and select the remote connection option. You can then connect via your phone with the Web IDE on your desktop at the same time as Gadgetbridge.
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.
It may well be that when you receive a message, your code throws some kind of error. I'm pretty sure that Gadgetbridge always sends
GB(...)
- I don't think there's any check used for whether it should enable/disable sending it.You can enable logging in Gadgetbridge and then write the log to a file - and that will allow you to see what data is sent to/from the Bangle (particularly if there are any error messages sent back).
You can see what
GB(...)
function is called (and ensure that it is called), then you can connect directly with the Web IDE and paste in that same command and test.You can also run Gadgetbridge, go to the app loader inside it, then
More...
and select the remote connection option. You can then connect via your phone with the Web IDE on your desktop at the same time as Gadgetbridge.