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

mesh and uart. NRF_ERROR_FORBIDDEN

hi 

i am using sdk for mesh v3.1.0 i get my data from the uart and sending it over the mesh. i have been getting an error within the function net_state_seqnum_alloc() that preventing any transmissions. the term m_net_state.seqnum < m_net_state.seqnum_max_availableis returning false and sending the error NRF_ERROR_FORBIDDEN.

it's happened after 2 weeks that the mesh network running. i have one server device and one client device.

where can i find information and explanation about sequence number? and what can cause this problem?

What can be done rectify this problem without erasing the device and re-provisioning the mesh?

Thanks,

Noam 

Parents Reply Children
  • I don't think this is a suitable solution. My application requires my devices to work indefinitely. This means that they cannot afford to have their flash wiped every couple of months because it would require reprovisioning each node and redelivering configuration data which each node modifies throughout its lifecycle. The Mesh SDK should automatically solve this issue each time the IV index gets incremented. 

Related