you mean the bluetooth console? there are several ways, check http://www.espruino.com/BLE+Security
Also I have somewhere a variant of code mentioned there that dynamically creates whitelist of allowed devices. You basically need to hold button first time you connect to allow connection from new device and adding to whitelist for next time otherwise it will refuse the connection. Will search for it and post it.
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.
you mean the bluetooth console? there are several ways, check http://www.espruino.com/BLE+Security
Also I have somewhere a variant of code mentioned there that dynamically creates whitelist of allowed devices. You basically need to hold button first time you connect to allow connection from new device and adding to whitelist for next time otherwise it will refuse the connection. Will search for it and post it.