Ok, thanks. I've just looked at this and everything seems ok to me, and I tried here on a watch and it seems to work as expected.
However...
I broke the connections, set "make connectable = no" and reconnected immediately without any problems with the IDE.
What happens if you:
set "make connectable = no"
Ensure the bluetooth connection icon is grey
Exit settings/otherwise change apps
try to reconnect now
So I guess there are multiple issues here:
When you say 'Make Connectable' and then click 'No' you want the watch to disconnect from any actively connected devices? There are actually reasons why this would be a pain - the main use case of 'Make Connectable' is to make the Bangle connectable - so you had BLE off, but then you open that window, connect, and do what you want - but if you're then connected and you just want to close the window without changing BLE settings permanently, clicking 'No' would disconnect you
Changing 'BLE' to 'Off' should kick off currently connected devices? Maybe we should do that
When 'BLE' is off, when a device disconnects, BLE is left on until you change apps. I guess that could change too.
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.
Ok, thanks. I've just looked at this and everything seems ok to me, and I tried here on a watch and it seems to work as expected.
However...
What happens if you:
So I guess there are multiple issues here: