Hello, I am trying to develop a bluetooth mesh network with two provisioners, one being an external provisioner (mobile phone) and another being node in the network (nrf5340).
Currently my mesh network is being provisioned and configured by a mobile device and the specifications of the mesh network are stored in a JSON format specified by Bluetooth's Mesh Configuration Database profile (files.bluetooth.com/.../. This is utilized to "enable the sharing of provisioning and configuration data between multiple Mesh managers" in a standardized manner across multiple platforms generally stored in a JSON format.
However, as previously stated, now my goal is to switch over to having the network have two provisioners, one still being the mobile app (external provisioner) and the other provisioner being a Nordic device that is a node in the actual network (nrf5340). The desire is to have the provisioner that is also a node in the network also be responsible for provisioning and configuring itself and provisioning and configuring the entire rest of the network. Currently, I am looking for a way to be able to sync the mesh configuration database profile between the two provisioners ideally in the JSON format detailed above. (Note: I still want to maintain the phone as a provisioner for debugging purposes and other special provisioning scenarios)
I know that the NRF connect SDK/Zephyr has a interface for creating and managing this configuration database in zephyr/include/zephyr/bluetooth/mesh/cdb.h however from what I can tell, there is no clear way to import/export this json format. This cdb interface also seems to be missing some key parts that the database profile should track such as mesh provisioners of the network (including their allocated unicast ranges) and any network exclusions that would also need to be synced.
Are there any recommendations for how to sync this Configuration Database between a Nordic device and a mobile phone? I'm hoping for some way to import and export the information stored in the standardized JSON format however other solutions would also be appreciated.
I am developing on Nordic SDK v2.9 on Windows 11. Thank you in advance for the help.