tools/mesh-cfgclient: Save provisioner info
authorInga Stotland <inga.stotland@intel.com>
Thu, 23 Sep 2021 03:25:44 +0000 (20:25 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commit24fc4c08c4dcb89e9cf5ee3fabf2e1b704b5fc43
treeb38cac49db140023475ac95ca2f2f6ea39776ea1
parent021cd6f57a4f3b0a78602af216ff7a9734a603cc
tools/mesh-cfgclient: Save provisioner info

This adds "provisioners" property to the config database.
The property includes the provisioner's name, UUID of the provisioner
device (corresponds to the local node), allocated unicast, group and
scene ranges.
The current implementation limitations:
- only one provisioner in the mesh network is supported,
- the unicast range is assumed to be contiguous,
- the group range is assumed to be contiguous,
- no support for scenes (empty array).

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/mesh-cfgclient.c
tools/mesh/mesh-db.c
tools/mesh/mesh-db.h