Issue with Mesh Reconnection

Hello Nordic Engineer,

I successfully controlled the 52840 DK through Mesh using my phone. However, after exiting the app and reopening it, I can no longer control the DK. It seems that the connection with the DK is not established. How can I reconnect to the DK?

The video from 0:40 to 1:18 is the waiting time and can be skipped. In the end, a timeout issue occurs.

Another shorter video makes me feel that devices already added to the Mesh cannot be discovered and displayed on the app page again. However, this is a secondary issue. What I want to solve now is: if either the phone or the DK disconnects, how can I reconnect them?

Thanks

  • tony55723 said:

    Do I need to create a new 'pm_static.yml' file and then copy that address code? I'm sorry, I haven't used VS Code before, and I'm still learning.

    Precisely. Though another take-away here is that dongles can be a bit difficult to work with when you are new to NCS etc. I would recommend DKs instead. Though one thing dongles are very good at are being sniffers.

    tony55723 said:
    My initial demonstration showed that the 52840 DK can run Mesh, but after I modified the build settings to change it to 'nrf52840dongle/nrf52840' and then downloaded the program to the 52840 DK, the phone can no longer find the DK when scanning.

    I am not sure if I understand your reasoning here. You should build the project for the hw you have, it won't work otherwise. That is why something built for nrf52840dongle/nrf52840 doesn't work for the DK.

    Regards,

    Elfving

  • Hello Elfving,

    The issue with the dongle hasn’t been resolved, so I switched to testing with the 5340 DK. I only have two more questions, and I should be able to solve the rest myself.

    Besides the 52840 DK and 5340 DK, I also have a Thingy52, but how do I flash it? I couldn’t find the SWD (SWDIO, SWCLK) on it.

    What is OOB in Mesh?

  • tony55723 said:
    What is OOB in Mesh?

    Out of band - something not related to a specific protocol. Typically you type the amount of LED blinks you see or something like that, I believe that app says what to do.

    tony55723 said:

    Besides the 52840 DK and 5340 DK, I also have a Thingy52, but how do I flash it? I couldn’t find the SWD (SWDIO, SWCLK) on it.

    I should start of by mentioning that much like the dongle, the Thingies also don't have programming ICs, meaning you need to use an external one. There is a programming 10pin connector sticking out on the bottom of it. Have a look here for further details on programming it.

    Regards,

    Elfving

Related