Sorry, the find device with NRF.requestDevice/etc comment was a 'you should do this' comment - so I guess you have some code to connect to the device already - stick the code in that, after you found the device, but before you call connect
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.
Sorry, the
find device with NRF.requestDevice/etc
comment was a 'you should do this' comment - so I guess you have some code to connect to the device already - stick the code in that, after you found the device, but before you call connect