v2 additions: * Style guide changes noted by Michal * Additional patch to use packed structures for Mesh Spec specifid OTA messages The added functionality of this patch set allows any node with a keyring provision a new node into the network. It does *not* implement a user App that can store a Configuration Database, but it does provide extensions to the python test script to test the primitives. Brian Gix (9): doc: Cleanup API Provisioner1 interface mesh: Fix support for Provisioner Initiator mesh: Add special Beacon handler for Provisioning mesh: Expose mapping function for D-Bus errors mesh: Expose resources needed by Management1 interface mesh: Fix implementation of Provisioner Initiator mesh: Implement DBus Provisioning methods mesh: Convert provisioning pkts to packed structs test: This extends the mesh tool to exercise Provisioning methods doc/mesh-api.txt | 13 ++- mesh/crypto.c | 8 +- mesh/crypto.h | 8 +- mesh/manager.c | 304 +++++++++++++++++++++++++++++++++++++++++++++++-- mesh/mesh-io-generic.c | 2 +- mesh/mesh-io.c | 6 +- mesh/mesh-io.h | 7 +- mesh/mesh.c | 10 +- mesh/mesh.h | 4 +- mesh/node.c | 42 +++++-- mesh/node.h | 3 + mesh/pb-adv.c | 177 +++++++++++++++++----------- mesh/pb-adv.h | 3 +- mesh/prov-acceptor.c | 158 +++++++++++++------------ mesh/prov-initiator.c | 283 +++++++++++++++++++++++++++++++++------------ mesh/prov.h | 51 ++++++++- mesh/provision.h | 10 +- test/test-mesh | 113 ++++++++++++++++++ 18 files changed, 946 insertions(+), 256 deletions(-) -- 2.14.5