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

Assert in NRF_MESH_PROV_EVT_COMPLETE

Hi

In the NRF_MESH_PROV_EVT_COMPLETE event, I call


ERROR_CHECK(dsm_address_publish_add(m_next_unprov_address,&m_device_address_handles[m_next_unprov_index]));
ERROR_CHECK(dsm_devkey_add(p_evt->params.complete.address,m_netkey_handles[0],p_evt->params.complete.p_devkey,&m_devkey_handles[1 + m_next_unprov_index]));

Usually this works well but the second line sometimes returns Error 15 (NRF_ERROR_FORBIDDEN)

What could cause this or how can it be avoided? Will the provisioning still be successfull and if not, how do we get back to a stable state when this happens?

Regards Gerry

Parents Reply Children
No Data
Related