Mesh: Refactor Network group Removal logic 09/239709/2
authorAnupam Roy <anupam.r@samsung.com>
Wed, 29 Jul 2020 06:19:37 +0000 (11:49 +0530)
committerAnupam Roy <anupam.r@samsung.com>
Wed, 29 Jul 2020 06:29:35 +0000 (06:29 +0000)
commitfb841a05d20e08c66840e73bd6e3e261199bfd7b
tree39eacd5028ac03815a23e7cda338b58365236e26
parentb0ec68c0e68a21e84f3049f1f26fc102c3f521c9
Mesh: Refactor Network group Removal logic

Network Groups (Mesh group & virtual Mesh group)
are created and saved in Network Configuration DB.
Therefore, removal of groups by user should remove these
groups from Conf DB also, instead of just removing handles
from application.

Apart from above, this patch refactors 'Get All Mesh groups'
logic. Instead of just fetching the group address, now it fetches
all informations of groups (Label UUID, if Virtual group)

Change-Id: I8ca483ddf46140c3e671070f41a6484b5a04935e
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
bt-api/bt-mesh.c
bt-service/services/bt-request-handler.c
bt-service/services/include/bt-service-mesh-cdb.h
bt-service/services/include/bt-service-mesh-network.h
bt-service/services/mesh/bt-service-mesh-cdb.c
bt-service/services/mesh/bt-service-mesh-network.c
include/bluetooth-mesh-api.h
include/bt-internal-types.h