I just tried here on an nRF52DK - completely fresh - and entered NRF.setAdvertising({}, { connectable:false }); - and it's fine.
NRF.setAdvertising({}, { connectable:false });
So it appears to be something to do with the contents of your first setAdvertising - nothing springs to mind as to what it could be though
setAdvertising
@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.
I just tried here on an nRF52DK - completely fresh - and entered
NRF.setAdvertising({}, { connectable:false });
- and it's fine.So it appears to be something to do with the contents of your first
setAdvertising
- nothing springs to mind as to what it could be though