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

General Purpose Provisioner

Hi,

I found out, that in the light switch example (SDK for Mesh v.1.0.1) after adding second element with Simple OnOff model in the light_switch_server, it is not possible to provision that second element. After searching in DevZone, I found out, that the provisioner implemented in light_switch_client is not general purpose provisioner. Therefore I want to make some changes to the provisioner.c file to be able to provision that second element. I will have to use the number of elements of the device returned in NRF_MESH_PROV_EVT_CAPS_RECEIVED event (p_evt->params.oob_caps_received.oob_caps.num_elements).

I have a pair questions to do that general purpose provisioner:

1) The Configuration Client Model communicates just with the Configuration Server Model and then the Configuration Server Model configures the rest of the elements?

2) Each element in the device posseses one DevKey? I ask because I don't know if to call functions dsm_devkey_add(...), config_client_server_bind(...) and config_client_server_set(...) for each one element in a node.

Related