Hey everyone,
I just got my Bangle.js 2 and was trying to develop a simple app that would advertise my heart rate as a GATT Service (for connection to the browser over Bluetooth Web API). I was trying a few pieces of code in the Espruino IDE. At some point the IDE have me an error: Uncaught Error: ERR 0x12 (CONN_COUNT) (:2550) - it seemed that there were many connections established with Bangle.js. I couldn't find any open connections so I ran NRF.disconnect(); from the IDE, which also disconnected the IDE itself.
After doing this, I cannot seem to connect to IDE at all. When I select my bangle, the IDE shows this error: Connection Failed: NetworkError: Bluetooth Device is no longer in range.
More importantly, when I try to connect to the App Loader to reinstall the default apps, once I select my bangle, my macOS prompts a window: Connection Request from Bangle.js b15a. Please enter a passcode shown on remote Bluetooth device. I didn't think Bangle.js 2 had this feature at all and actually the passcode is never shown on the watch.
The watch is programmable and BLE is enabled.
Has anyone ever encountered this problem? I have tried rebooting my watch but I continue to run into this problem.
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.
Hey everyone,
I just got my Bangle.js 2 and was trying to develop a simple app that would advertise my heart rate as a GATT Service (for connection to the browser over Bluetooth Web API). I was trying a few pieces of code in the Espruino IDE. At some point the IDE have me an error: Uncaught Error: ERR 0x12 (CONN_COUNT) (:2550) - it seemed that there were many connections established with Bangle.js. I couldn't find any open connections so I ran NRF.disconnect(); from the IDE, which also disconnected the IDE itself.
After doing this, I cannot seem to connect to IDE at all. When I select my bangle, the IDE shows this error: Connection Failed: NetworkError: Bluetooth Device is no longer in range.
More importantly, when I try to connect to the App Loader to reinstall the default apps, once I select my bangle, my macOS prompts a window: Connection Request from Bangle.js b15a. Please enter a passcode shown on remote Bluetooth device. I didn't think Bangle.js 2 had this feature at all and actually the passcode is never shown on the watch.
The watch is programmable and BLE is enabled.
Has anyone ever encountered this problem? I have tried rebooting my watch but I continue to run into this problem.
Thank you so much in advance!
2 Attachments