This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf mesh fails in dsm_devkey_add returns code 15

I'm trying to test nRF SDK for mesh, "nrf5_SDK_for_Mesh_v0.9.2-Alpha". Testing on "light_control" example.

I'v succeeded to build the example sources and flashing to nRF52DK, I prepared 4 sets of nRF52DK_xxAA (10040), one for client and three for server.

But, the light client is fail to provisioning completion.

When I power up client, SEGGER debug terminal shows below message. But, error message is seen after power up one of servers.

mesh_light_client_err.txt

As the log says main.c:304 is below

ERROR_CHECK(dsm_devkey_add(p_prov_data->address, m_netkey_handle, p_prov_data->p_devkey, &m_devkey_handles[m_unprov_index]));

I think dsm_devkey_app returns error 15, defined as NRF_ERROR_#FORBIDDEN.

define NRF_ERROR_FORBIDDEN (NRF_ERROR_BASE_NUM + 15) ///<Forbidden Operation

Please help me to test mesh light client and server.

Related