Then I try to connect to bangle via web IDE after going to 'clock'/'home'. It doesn't connect. I assume this has overridden the advertising of the device service for UART. I am forced to go to "Turn Off" under settings app. Then turn on device with BTN1 and then its restored functionality.
Is there a way to get the service before an app starts and then restore before it exits? Not sure how to work around this. I don't want my app to be destructive to the settings of the device, if you know what I mean.
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.
A further question : If I am calling :
Then I try to connect to bangle via web IDE after going to 'clock'/'home'. It doesn't connect. I assume this has overridden the advertising of the device service for UART. I am forced to go to "Turn Off" under settings app. Then turn on device with BTN1 and then its restored functionality.
Is there a way to get the service before an app starts and then restore before it exits? Not sure how to work around this. I don't want my app to be destructive to the settings of the device, if you know what I mean.
Take a look here, for some specifics of my example:
https://github.com/d3nd3/bangle-remote/blob/main/ble_test.app.js