Aha – I think I have found a solution, at least it looks better now. I set the name first and adv after it. They don't seem to overwrite eachother:
NRF.setAdvertising({}, {interval:1500,name:ble_name,showName:true,discoverable:true,connectable:false,scannable:true}); NRF.setAdvertising(adv, {});
@DanDyse 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.
Aha – I think I have found a solution, at least it looks better now. I set the name first and adv after it. They don't seem to overwrite eachother: