Can you try re-uploading again now please? It looks like a bug crept into the ibeacon code a while ago and nobody noticed - it should now be fixed.
Would it be possible to have the puck.js not advertise anything to save battery and enable it by clicking the button?
Yes, absolutely - just call NRF.sleep() and NRF.wake() - although that'll shut down Bluetooth LE if you're connected as well :)
NRF.sleep()
NRF.wake()
To save power you could also look at just reducing the advertising interval if you wanted as well.
@Gordon started
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.
Can you try re-uploading again now please? It looks like a bug crept into the ibeacon code a while ago and nobody noticed - it should now be fixed.
Yes, absolutely - just call
NRF.sleep()
andNRF.wake()
- although that'll shut down Bluetooth LE if you're connected as well :)To save power you could also look at just reducing the advertising interval if you wanted as well.