All you need is NRF.setScan(...) - it'll return RSSI of any devices it finds... Should be a lot easier!
NRF.setScan(...)
Note that doing stuff like that leaves the radio on, so will drain the batteries a lot faster!
@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.
All you need is
NRF.setScan(...)
- it'll return RSSI of any devices it finds... Should be a lot easier!Note that doing stuff like that leaves the radio on, so will drain the batteries a lot faster!