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

rbc_mesh - maximum number of "Mesh value"

In the description of nRF51-ble-bcast-mesh, there is mentioned that there could be up to 155 mesh values:

There may be up to 155 "Mesh value" characteristics in the mesh service in each node, depending on configuration parameters provided to the rbc_mesh_init() function at runtime.

However, when I'm trying to increase the numer of init_params.handle_count to 11 or more, the application is restarting all the time ( when init_params.handle_count is 10 or less it works fine). Is there someting that I'm missig? I'm working with nRF51822 EK.

  • Hi Fibar. I was also going through the same description, but I couldn't understand what does "155 Mesh value characteristics" imply. Could you please explain what does that signify, and why is it being used?

  • The 155 refers to the Trickle instances available for use in the network. 155 is the capability of the system, however you need to ensure that enough RAM is available. You are using the nRF51822 EK and that is most likely having only 16K of RAM (actually only 8K RAM as 8K will be used for the Softdevice). The issue that you are seeing is likely due to the fact that your application needs more RAM than that is available on the device.

    Either upgrade to the 32K version or reduce the number of Trickle Instances used.

Related