Note: I have the Covid contact tracing enabled on my phone, and that stops nRF connect from advertising any data - so you'll either need to disable the app, or use a different phone to be able to use advertising correctly. Hopefully once the vaccine is widespread the contact tracing will be a thing of the past though.
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.
Just to add, the advertising works well. I:
Ran
NRF.requestDevice({ filters: [{ manufacturerData:{0x0590:{}} }] }).then(print);
on the Bangle, and you see something like:It might be hard to filter by device mac address as modern phones change their address to stop tracking, so using manufacturerdata works pretty well.
I believe this is what you need to do it directly from an Android app: https://developer.android.com/reference/android/bluetooth/le/BluetoothLeAdvertiser
Note: I have the Covid contact tracing enabled on my phone, and that stops nRF connect from advertising any data - so you'll either need to disable the app, or use a different phone to be able to use advertising correctly. Hopefully once the vaccine is widespread the contact tracing will be a thing of the past though.