Commit: 64670a4a31d53fe8b5b801ab1f8659e3d0ed2000
Parent: 08c45ed6805c09e3d3e4aa3e61898a28460d8fa0
Author: MichaƂ Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-05-08 21:31:18
Tree: 6b402c828d0403e1a9935c147a8a221c54b80c3f

mesh: Use node uuids as storage directory names Instead of keeping track of unique 16bit node identifiers, reuse their UUIDs to create both storage directories and dbus objects. Because of that: - UUID is no longer stored in the JSON file, it's inferred from the directory name instead - Join(), CreateNetwork() and ImportLocalNode() APIs return an error if given UUID already registered within the daemon

Diffstat

M doc/mesh-api.txt | 26 ++++++++++++++++++++- - - - - -
M mesh/README | 7 +++- - - -
M mesh/mesh-db.c | 4 - - - -
M mesh/mesh-db.h | 1 -
M mesh/mesh.c | 7 +++++++
M mesh/node.c | 38 ++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/node.h | 2 +-
M mesh/storage.c | 96 +++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

8 files changed, 72 insertions(+), 109 deletions(-)

View Full Diff | Patch