I've been unsuccessfully trying to whitelist connections to my Puck.js (firmware 2.01) the last few weeks, so I figured it was time to throw a lifeline in hopes someone can help identify what I am doing wrong. I've tried with my Samsung S9, Samsung S8+, and Windows Surface Pro using the following code snippet as a guide:
NRF.on('connect',function(addr) {
if (addr!="69:2d:94:d0:9d:97 public")
NRF.disconnect();
});
I've double checked the MAC addresses several times, and have tried string combinations of just the mac address, and both "public" and "random" extensions as described here:(https://www.espruino.com/Puck.js+Security).
The only result I get is refusal of all connections to Puck.js.
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.
Hello,
I've been unsuccessfully trying to whitelist connections to my Puck.js (firmware 2.01) the last few weeks, so I figured it was time to throw a lifeline in hopes someone can help identify what I am doing wrong. I've tried with my Samsung S9, Samsung S8+, and Windows Surface Pro using the following code snippet as a guide:
I've double checked the MAC addresses several times, and have tried string combinations of just the mac address, and both "public" and "random" extensions as described here:(https://www.espruino.com/Puck.js+Security).
The only result I get is refusal of all connections to Puck.js.
Any help would be much appreciated.
Thank you.