This can be also solved by whitelisting = allowing only specific devices to connect
as a quick and dirty solution there are three simple lines mentioned here https://www.espruino.com/BLE+Security
@fanoush 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.
This can be also solved by whitelisting = allowing only specific devices to connect
as a quick and dirty solution there are three simple lines mentioned here
https://www.espruino.com/BLE+Security