@Bas I believe it's BLE protocol - at least on the nRF51822 it's not possible, you can google it pretty easily.
I'm not sure I understand how auto-disconnect supposed to work? How would it know the difference between a legitimate connection and one that it's supposed to disconnect from?
Discovering what is connected is hard too - I'm not sure you can get that info from Puck.js yet - even if you could communicate with it (you could add serial wires and communicate with Puck.js that way).
@Foster so what exactly happens if you pull out the battery and put it back in? The Pucks advertise, stay advertising and are fine - until you connect with either phone, and then even after you disconnect they stop advertising and can never be connected to again?
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.
@Bas I believe it's BLE protocol - at least on the nRF51822 it's not possible, you can google it pretty easily.
I'm not sure I understand how auto-disconnect supposed to work? How would it know the difference between a legitimate connection and one that it's supposed to disconnect from?
Discovering what is connected is hard too - I'm not sure you can get that info from Puck.js yet - even if you could communicate with it (you could add serial wires and communicate with Puck.js that way).
@Foster so what exactly happens if you pull out the battery and put it back in? The Pucks advertise, stay advertising and are fine - until you connect with either phone, and then even after you disconnect they stop advertising and can never be connected to again?