mesh: Add api to release node dbus resources 97/241897/2 accepted/tizen/unified/20200825.142910 submit/tizen/20200821.002054
authorAnupam Roy <anupam.r@samsung.com>
Thu, 20 Aug 2020 15:34:50 +0000 (21:04 +0530)
committerAnupam Roy <anupam.r@samsung.com>
Thu, 20 Aug 2020 16:18:49 +0000 (16:18 +0000)
commit0bdea44b72d68068ff2d21774cfe9afd0bcea8ce
tree8faccb6750b3254faaa1a1ca85b8588ba974b9cb
parentb6d47eb967457a3a64a3898f8d6d5179cd564e3b
mesh: Add api to release node dbus resources

Currently, there is no way to release the node
and attach it back without disconnection of
dbus client. It is possible that dbus client
is owner of multiple mesh nodes and it intends
to stop using one or multiple nodes & re-attach
them back without disconnecting from dbus.

This patch introduces a Release API through which
dbus client can request to release the node's
dbus resources. dbus client can attach the node
after releasing it at any point of time.

Change-Id: I9ffb2588f1c1dc5d2ccbe45ab5c447ed916c593f
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
doc/mesh-api.txt
mesh/mesh.c
mesh/node.c
mesh/node.h