Mesh: Save vendor & model info post net create 13/242413/2
authorAnupam Roy <anupam.r@samsung.com>
Wed, 26 Aug 2020 17:24:12 +0000 (22:54 +0530)
committerAnupam Roy <anupam.r@samsung.com>
Thu, 27 Aug 2020 03:25:47 +0000 (08:55 +0530)
commitda8e4018d1869ac53886be08b07118a5e89ae68f
tree71df2ca7d60484a78dde99118b88606366ba48c6
parentce647ec23e755b2b6e1a9e17332e5ad4e5e97db7
Mesh: Save vendor & model info post net create

This patch handles following:-

Vendor & model info of local config client
node was not saved to Configuration database
after network is created which caused Network
Load operation to fail due to missing Vendor
& Model Info.

With this patch, all vendor & model info are now
saved to CDB. Dduring Network Load, all data are
fetched from Conf DB and node data is prepared,
which is eventually used to attach to the Network.

Change-Id: Id2d59a6d8bebb32a9a251781b3c0cab494daea1f
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
bt-oal/bluez_hal/src/bt-hal-mesh-dbus-handler.c
bt-oal/hardware/bt_mesh.h
bt-service/services/bt-request-handler.c
bt-service/services/include/bt-service-mesh-cdb.h
bt-service/services/mesh/bt-service-mesh-cdb.c
bt-service/services/mesh/bt-service-mesh-main.c
bt-service/services/mesh/bt-service-mesh-network.c
bt-service/services/mesh/bt-service-mesh-nodes.c
include/bluetooth-mesh-api.h