Yes - there are a few options, and one or other of them might work for you...
NRF.startBonding
ble_midi
NRF.setServices
encrypted
@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.
Yes - there are a few options, and one or other of them might work for you...
NRF.startBonding
: http://www.espruino.com/Reference#l_NRF_startBondingble_midi
module based on your other posts, but if you're callingNRF.setServices
yourself like you do in https://forum.espruino.com/conversations/386071/#comment16960253 you can add a 'security' field to the charactertistic (http://www.espruino.com/Reference#l_NRF_setServices) that allows you to say it cal only be accessed over anencrypted
connection, which will in turn force the Mac to pair.