This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 Dongle SDK example supporting Bluetooth mesh

Hello,

I have got three nRF52840 Dongles to test Bluetooth mesh. I have been going through the devzone queries and found that many people have previously asked about SDK mesh support for the dongles. Does the Mesh SDK still not support the nRF52840Dongle? I tried modifying the project preprocessor definition to point from pca10056 to pca10059 support, made few changes in the LEDs and switch. There is some functionality associated with switches in the provisioned. How can we amend this? Also, still have got no an idea of how to test this? Have someone already tried to implement Mesh using three dongle modules. If so, how do you test it?

Regards,

Ash

Parents
  • Hi. 

    I'm afraid we don't have any examples with native support for the nRF52840 dongle, yet. 

    You can take a look at the nRF52840 dongle programming guide, where you can find a lot of information regarding how you can use the dongle and modify examples to support the dongle. 

    Br, 
    Joakim

  • Hello.

    Thanks for the answer. I have already used the programming guide while starting with the dongle programs. Do you have any specific links or tutorials which could help in writing or modifying the code? What I tried was; modifying the mesh sdk files: nrf52840_xxAA_s140_7_0_1 project files of the various examples to include the pca10059 support by changing the preprocessor definitions. But, once they are compiled and loaded into the Dongle, the Green and Blue LEDs lights up. Am not able to see any beacon activity in both the nRFmesh or nRFConnect mobile applications. I have tried the light_switch server and client examples too. But, the dongle remains in this state (Green and Blue LED On state), not enabling provisioning by app or anything. Please guide me.

    Regards,

    Ash

  • Have you looked at the latest version of the nRF5 SDK for Mesh (v.5.0.0)? 

    In the latest release there is Limited compatibility with nRF52840 on PCA10059 dongle.

    Br, 
    Joakim

  • Yes, we did test it yesterday after we came across the release update from this forum. The light switch example server support is said to be there in the SDK. But, even with the build with the change in preprocessor definitions from board_pca10056 to board_pca10059, we still have the Dongle in the state similar before (LED Green and Blue lit, not able to see any activity in the nRF mesh or nRF Connect mobile apps). We were able to successfully provision the light switch example nodes in DK. But, would at least like to have the light switch server in the nRF52840 Dongle.

  • Hi.

    It might be related to this (from the documentation):
    "As of v1.4.3, the dongle Programmer application does not support erasing of the empty flash areas. Therefore, once the device is provisioned, it cannot be unprovisioned by flashing the same example again. To unprovision the device, use one of the following methods:

    • Trigger a node reset using the nRF Mesh mobile application or any other configuration client.
    • Modify the example application to trigger the node reset after pressing SW1 (Button 1) on the dongle.
    • Flash another example with different device composition and the Bluetooth mesh stack will automatically unprovision the device on the next reboot."

    Maybe there are some provisioning data or similar that is left in flash, preventing the dongle to function as it should.

    Br,
    Joakim

Reply
  • Hi.

    It might be related to this (from the documentation):
    "As of v1.4.3, the dongle Programmer application does not support erasing of the empty flash areas. Therefore, once the device is provisioned, it cannot be unprovisioned by flashing the same example again. To unprovision the device, use one of the following methods:

    • Trigger a node reset using the nRF Mesh mobile application or any other configuration client.
    • Modify the example application to trigger the node reset after pressing SW1 (Button 1) on the dongle.
    • Flash another example with different device composition and the Bluetooth mesh stack will automatically unprovision the device on the next reboot."

    Maybe there are some provisioning data or similar that is left in flash, preventing the dongle to function as it should.

    Br,
    Joakim

Children
No Data
Related