You are reading a single comment by @Gordon and its replies.
Click here to read the full conversation.
-
Hi Gordon,
Thank you for your response.
This is make sense, but in my caseNRF.getSecurityStatus().connected
returnedfalse
.My steps were:
- Connect via USB
- upload
reset(1)
+ out put theNRF.getSecurityStatus().connected
- disconnect from USB
- insert the battery
- search via bluetooth dialog in Chrome on my mac then search in the webble app on ios.
I also tried to run
var devices; NRF.findDevices(function(d) { devices = d; console.log(devices); }, 50000);
I started with 1000 then raised the time to find. No devices found. I expected it to find second Puck nearby.
Maybe I can somehow debug bluetooth module itself, run diagnostics, get more info?
- Connect via USB
Hi - if you can connect by USB serial, please could you run:
reset(1)
- this will clear out any saved codeNRF.getSecurityStatus().connected
- this will returntrue
if the Puck is connected to another deviceThe most likely situation is some other device is auto-connecting to the Puck - especially if you ever configured the Puck as a BLE HID device, some operating systems decide that once connected they will just keep connecting whenever they see the device - and that stops any other devices getting connected