But the easiest is just to do NRF.sleep() - as long as you don't then try and use Bluetooth for anything, advertising (and so bluetooth as a whole) will stay off.
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.
Yes - there's a bunch of info on ways to disable remote programming here: http://www.espruino.com/BLE+Security
But the easiest is just to do
NRF.sleep()
- as long as you don't then try and use Bluetooth for anything, advertising (and so bluetooth as a whole) will stay off.