Okay so I think its actually : connectable:false from setAdvertising options
Which makes it do this, is that expected behaviour? I'm not 100% sure what it does. Shouldn't Make Connectable restore this to true anywaY?
Steps to reproduce :
send to ram the above code.
Disconnect.
Wait for advertising to resume after disconnecting. Bangle appears in List.
Try to connect again with ide to bangle.
Error : Connection Failed in red.
Now all advertising has stopped on bangle.js suddenly. And can't turn it back on, unless Turn Off in settings.
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.
Okay so I think its actually :
connectable:false
from setAdvertising optionsWhich makes it do this, is that expected behaviour? I'm not 100% sure what it does. Shouldn't
Make Connectable
restore this to true anywaY?Here is my code :
Steps to reproduce :
send to ram the above code.
Disconnect.
Wait for advertising to resume after disconnecting. Bangle appears in List.
Try to connect again with ide to bangle.
Error : Connection Failed in red.
Now all advertising has stopped on bangle.js suddenly. And can't turn it back on, unless Turn Off in settings.