You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • 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). Using NRF.setServices would work, or you can do:

    NRF.setAdvertising({ "ABCDABCD-ABCD-ABCD-ABCD-ABCDABCDABCD" : "" })
    

    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!

About

Avatar for Gordon @Gordon started