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

NRF BLE Mesh SDK: Combine provisioner role with the Mesh client (provisionee) role

Hi,

I am working on an application using the nrf52 sdk v15 and nrf Mesh sdk v2.1.1 on nrf52840 PDK. Starting from the nrf5_SDK_for_Mesh_v2.1.1_src\examples\sdk_coexist\ble_app_uart_coexist example, I able to communicate the light switch mesh nodes from my existing BLE Gatt application. The mesh nodes are provisioned by nrf5_SDK_for_Mesh_v2.1.1_src\examples\light_switch\provisioner demo application.

As a next step, I would like to combine the Mesh client role with the Mesh provisioner role. That means, nrf52 application is able to switch between the provisioner and client (privisionee) roles. When in provisional role, it provisions few server nodes and eventually configures itself as client node in the same network and switch (reboot) to client role. Is it supported in the standard (and nrf Mesh SDK) ? Any pointers to some documentation or source code examples are much appreciated.

Parents Reply
  • Hi,

    So to combine the proviosioner role with the mesh client, the client need to provision all the mesh server nodes and also provision itself (set unicast address, netkey and device key) and configure itself (set appkey etc). Can you point me to part of code in sdk1.0.1 client application which is doing that?

    I also found prov_helper_provision_self() function in nrf5_SDK_for_Mesh_v2.1.1_src\examples\light_switch\provisioner\src\provisioner_helper.c file. Apparently, provisional using this function before provisioning other devices. Can this function be used to self-configure the client in this case?

Children
Related