I've had a look through the apps and examples, apologies if I missed it:
I'm seeking an example of robustly maintaining a connection to a BLE device so we can receive characteristicvaluechanged events.
I have this so far, but it lacks retrying everything, handling failures, and so on. I'm unfamiliar with JavaScript. If there's no off-the-shelf example of how to be robust, I'll give it a go and share back here...
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've had a look through the apps and examples, apologies if I missed it:
I'm seeking an example of robustly maintaining a connection to a BLE device so we can receive characteristicvaluechanged events.
I have this so far, but it lacks retrying everything, handling failures, and so on. I'm unfamiliar with JavaScript. If there's no off-the-shelf example of how to be robust, I'll give it a go and share back here...