The issue is by specifying: NRF.setAdvertising([ [ .... ]]) you're telling Espruino to advertise exactly that raw data (which probably isn't a valid Bluetooth advertising packet). Using NRF.setServices would work, or you can do:
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.
Glad you sorted this! Just a note on the initial code in https://forum.espruino.com/comments/16814776/
The issue is by specifying:
NRF.setAdvertising([ [ .... ]])
you're telling Espruino to advertise exactly that raw data (which probably isn't a valid Bluetooth advertising packet). UsingNRF.setServices
would work, or you can do:Which would advertise 'service data' with that UUID, which might have been what you were after?
but if you just want to tell the devices apart, MAC address is definitely the best!