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

Where is the publication address and application key set in the generic on-off example?

Hi,

I am trying to make it so a client can publish to groups without using the provisioner to set the publication address. I presume some callback is being used, but I do not see anything using the access_model_publish_address_set function

I am using the following to try to set it,

status = access_model_publish_address_set(&m_clients[0].model_handle0xc000);

I am getting the NRF_SUCCESS MSG, but the message isn't being received by the node.

Furthermore, If I set the application key for the model using 

    status = access_model_applications_get(&m_clients[0].model_handle, app_handles, &app_handles_count);
I see no error, but there are no application handles added, is this not the same thing?
Where is all of this being set when you provision the examples through the nrfMesh app?
Is there an example of how to set the application key and publication/subscription addresses in firmware instead of using a provisioner?

Parents Reply Children
No Data
Related