If you just want to connect by ID then you don't even need to scan - just use NRF.connect: http://www.espruino.com/Reference#l_NRF_connect
NRF.connect
Other Puck.js use 'random' addresses though, so make sure you supply an address that looks like: "e7:e0:57:ad:36:a2 random"
"e7:e0:57:ad:36:a2 random"
@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.
If you just want to connect by ID then you don't even need to scan - just use
NRF.connect
: http://www.espruino.com/Reference#l_NRF_connectOther Puck.js use 'random' addresses though, so make sure you supply an address that looks like:
"e7:e0:57:ad:36:a2 random"