mesh: Add CreateNetwork method() implementation
authorInga Stotland <inga.stotland@intel.com>
Wed, 8 May 2019 21:50:08 +0000 (14:50 -0700)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 14:26:48 +0000 (19:56 +0530)
commit2bc6144d98ab6eaaded6411cde1f40959ca51bf6
tree08f13cd738f4380de47a2b57d027c888d03583cc
parent409b8f0150dc3b4e1e9ce188733eaacabc8871a1
mesh: Add CreateNetwork method() implementation

This implements CreateNetwork() method on org.bluez.mesh.Network1
interface. Invoking this method generates a self-provisioned
local node associated with a brand new mesh network. This new
network is bare bones: only one network key is defined. The new node
assumes the role of mesh network manager and will be able to use
soon to be implemented methods of org.bluez.mesh.Management1 interface
to provision remote nodes into its network and to add/update/remove
network and application keys.

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