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

access_model_reliable_publish() returns NRF_ERROR_INVALID_PARAM?

I am having a problem when trying to configure a node with at client model to my Bluetooth Mesh network.

When calling access_model_reliable_publish(), NRF_ERROR_INVALID_PARAM is returned in the client model.

It returns this error from access.c:check_tx_params() because this statement is true:

m_model_pool[handle].model_info.publish_appkey_handle == DSM_HANDLE_INVALID

Can someone help me figure out what i am doing wrong? What should i do to get rid of this error?

Related