You are reading a single comment by @garciamax and its replies. Click here to read the full conversation.
  • Hi - if you can connect by USB serial, please could you run:

    • reset(1) - this will clear out any saved code
    • NRF.getSecurityStatus().connected - this will return true if the Puck is connected to another device

    The 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

  • Hi Gordon,
    Thank you for your response.
    This is make sense, but in my case NRF.getSecurityStatus().connected returned false.

    My steps were:

    1. Connect via USB
    2. upload reset(1) + out put the NRF.getSecurityStatus().connected
    3. disconnect from USB
    4. insert the battery
    5. 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?

About

Avatar for garciamax @garciamax started