Can't provision nRF52840 dev kit when running Mesh Light example

I'm learning to work with the nRF52840 chip, and ordered the development kit for testing. It arrived today; I flashed the Blinky example and it worked fine, flashed the Light application (nrf/samples/bluetooth/mesh/light) and it seemed to work; I opened the nRF Mesh app on Android (latest version) and could see the board, I tapped Identify and all the lights start flashing, hit Provision and it gave me the option for no OOB, pushing the button or inputting the number of LED flashes, but then it wouldn't get any further once I had verified OOB (or selected "No OOB").

The last line I would see in the app is "Sending Provisioning Data", then it would exit the provisioning screen and return to the Scanner for adding nodes, where I would see the same node I just attempted to provision. I tried all available OOB options, none of which made a difference (although all seemed to work correctly).

I haven't touched the application, I re-added the example from scratch to make sure. SDK v2.2.0, I'm working in Visual Studio Code.

  • Hello Isaac,

    So you do not see a  Pop-up saying "configuration complete". Instead you go straight to the Scanner menu. Is this something you could've repeated indefinitely?

    Could you try manually erasing the flash before flashing the sample and see if that makes any difference? You can for instance run "nrfjprog --recover".

    Are you seeing the same issue with another mesh samples?

    Regards,

    Elfving

  • Correct, there is no pop-up, it goes straight from "Sending provisioning data" to the Scanner menu. It repeats indefinitely as far as I can tell, I tried it a lot. Tried erasing/recovering and reprogramming, no difference. Potentially of note, the time it takes to go to the Scanner menu is not consistent, sometimes it's instant and sometimes it takes a couple of seconds.

    I tried the Mesh Light Switch example as well, and while it did provision, I would get this error:

     

    Any attempt to eg add an app key or get composition data after this would result in an immediate disconnection

    Tried Mesh Chat example as well, same result as Light Switch. Going back to the Mesh Light example after trying the Switch and Chat examples did not change anything, it still failed to provision at all

  • That is odd. Could you try using another phone as well to see if it is showing the same issue?

    ZacMid007 said:
    I tried the Mesh Light Switch example as well, and while it did provision, I would get this error:

    Yeah that looks like an issue I've seen before. It finishes provisioning, but doesn't connect again for the configuration. You should however be able to do so yourself using the instructions that pop up there.

    Could you check if you've bonded to the device? If so, try un-pairing it in the phone settings.

    ZacMid007 said:
    Potentially of note, the time it takes to go to the Scanner menu is not consistent, sometimes it's instant and sometimes it takes a couple of seconds.

    Could you send a me screen recording of how instantly this happens?

    Regards,

    Elfving

  • I tried with an iPhone, same result but I got a "Status - Device disconnected" message before it returned to the previous screen. With the other examples, I tried following the instructions, but attempting to get composition data (or do anything else) once connected would result in immediate disconnection (my phone was not paired to the board in bluetooth settings). Here are a couple of screen recordings showing a quick and slow failure.

  • It's not power, I tried powering it from a USB wall charger instead of my PC and got the same result

Related