Hello all,
I am working on nrf51 series for mesh application so regarding Pre addressing of controller how will get to know the adresses of SOC's in mesh network? can i use same code which is available in 51 series SDK for UART application?
Hello all,
I am working on nrf51 series for mesh application so regarding Pre addressing of controller how will get to know the adresses of SOC's in mesh network? can i use same code which is available in 51 series SDK for UART application?
Hi pavan,
After provisioning (NRF_MESH_EVT_PROV_COMPLETE), the address is returned in p_evt->params.prov_complete.address;
For example in the light_control example, on the server side, you can find it in mesh_evt_handler() in nrf_mesh_node_config.c On the client side, the server addresses are handled in provisioner_prov_complete_cb() in main.c
Hi pavan,
After provisioning (NRF_MESH_EVT_PROV_COMPLETE), the address is returned in p_evt->params.prov_complete.address;
For example in the light_control example, on the server side, you can find it in mesh_evt_handler() in nrf_mesh_node_config.c On the client side, the server addresses are handled in provisioner_prov_complete_cb() in main.c