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

Mesh SDK with flash storage

I have a few nRF52840 DK to evaluate a Bluetooth mesh application. The light switch example is ideal for our initial tests. The only thing I would like to do is to write some of the log to the flash storage on the board and read the file later via USB MSC. I don't always have access to the boards. I managed to modify the client example to switch the lights automatically and would now like to store the log to monitor if the messages arrived on the server. 

I found the usbd_msc example in the main SDK which I could use as a guide. How do I integrate the examples from the main SDK into the mesh SDK? Could someone please provide me with detailed instructions? I'm using CMake on Linux.

Thanks!

Parents Reply
  • Thanks a lot for your help!

    I managed to get the USBD UART example to work. I tried to integrate it into the light switch client example but they don't run both at once. The application crashes when app_usbd_init() is called. I'm starting the mesh first and if I comment this line out the mesh starts up as it should.

    The integration guide mentions potential issues with memory and flash storage and lists optional changes. Could this be the problem? Can you give me any hint where to start?

    Thanks!

Children
Related