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

Understanding mesh client server example (Code work through)

Hello Good People,

I need your help to kick of my development. I am using nRF52832 and Mesh stack. I am having problem to understand how its working. I have gone through the documentation but still something are not clear to me.

In  light-switch example, i see frequently to refer to nrf_mesh_prov_ctx structure, which in my understanding is the main data structure for provisioning. But my concern where  is this structure has been initialized ?

Lets use one example for more obvious understanding:

In light switch example, in provisioner main.c file inside  static void app_start(void)   we are printing value of different keys, but my question is how these keys have been stored ?  Or in other words where the structure nrf_mesh_prov_ctx  has been populated with values ?

Thanks,

Parents Reply Children
No Data
Related