I tried all the above, it worked as advertised but didn't resolved or permit the auto-connection ( the device now show in the main bluetooth menu but still need to get connected every time in the bluetooth audio midi setup windows). I assume its coming from the OS side more than the espruino itself.
note: I had a weird behavior with NRF.setServices ( NRF.setSecurity({passkey:"123456", lesc:1, bond :1});)
Where It asked for the passkey only a few restart after and then the Espruino Web IDE will throw random errors when trying to upload new code . had to perform a reset(); save(); to go back to normal.
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.
I tried all the above, it worked as advertised but didn't resolved or permit the auto-connection ( the device now show in the main bluetooth menu but still need to get connected every time in the bluetooth audio midi setup windows). I assume its coming from the OS side more than the espruino itself.
note: I had a weird behavior with NRF.setServices ( NRF.setSecurity({passkey:"123456", lesc:1, bond :1});)
Where It asked for the passkey only a few restart after and then the Espruino Web IDE will throw random errors when trying to upload new code . had to perform a reset(); save(); to go back to normal.