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

Problem with mesh assert in access_model_publish function

Hi, I am using https://github.com/NordicPlayground/Nordic-Thingy52-mesh-demo with segger embedded studio and nordic thingy52 modules. I have problem with the mesh assert which appears after the button_evt_handler (turning the diode on and off) function performing 2710 times. The problem occurs during access_model_publish function.

After use addr2line -e <src.elf> 0x000354E4  it points to

…\mesh_sdk\mesh\core\src/net_state.c:299 (discriminator 1)

It’s here:

Someone had a similar problem ?
Do you know if there is still a problem with the newer sdk for mesh 2.0.1 ?
How to quickly and easily move to new sdk ?

Parents
  • Hello Thingyplayer,

    Unfortunately the "Nordic Thingy52 mesh demo" is based on the very old mesh SDK v1.0.1.
    I am planning to upgrade the project with using the latest mesh SDK, but may need times. 

    Regarding to the issue you faced, may I know:

    1. The frequency you press the button for sending the message

    2. Could reset the bridge do help to recover from the assert?

  • Hello Rick Chung, thank you for your answer.

    1. Time interval is 100ms, but I tested 500ms too, and effect was the same.
    I wrote the same function as buton_evt_handler and use ticker variable to execute.

    2. Yes, after bridge reset, it works, but few moments later node freezes too. Reset all devices in the mesh network solves problem. The problem described in this thread occurs every time as described earlier. Always after using the function access_model_publish 2710 times (in this example) -> retry = 3. So when I try sending one unack messages, mesh assert runs after 8130 times.

Reply
  • Hello Rick Chung, thank you for your answer.

    1. Time interval is 100ms, but I tested 500ms too, and effect was the same.
    I wrote the same function as buton_evt_handler and use ticker variable to execute.

    2. Yes, after bridge reset, it works, but few moments later node freezes too. Reset all devices in the mesh network solves problem. The problem described in this thread occurs every time as described earlier. Always after using the function access_model_publish 2710 times (in this example) -> retry = 3. So when I try sending one unack messages, mesh assert runs after 8130 times.

Children
Related