From 5c6e6e5524909220fa5879b8928b35d6cdb3f08a Mon Sep 17 00:00:00 2001 From: Inga Stotland Date: Fri, 1 Nov 2019 11:57:28 -0700 Subject: tools/mesh: add initial support for config storage This adds support for storing the state of a mesh network. The configuration is written out in JSON format. The initial configuration file is generated automatically upon the successful completion of "create" command form the main menu. --- Makefile.tools | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile.tools') diff --git a/Makefile.tools b/Makefile.tools index 0b4ddf576..006554cf7 100644 --- a/Makefile.tools +++ b/Makefile.tools @@ -333,10 +333,13 @@ tools_mesh_cfgclient_SOURCES = tools/mesh-cfgclient.c \ tools/mesh/keys.h tools/mesh/keys.c \ tools/mesh/util.h tools/mesh/util.c \ tools/mesh/remote.h tools/mesh/remote.c \ - tools/mesh/agent.h tools/mesh/agent.c + tools/mesh/agent.h tools/mesh/agent.c \ + tools/mesh/mesh-db.h tools/mesh/mesh-db.c \ + mesh/util.h mesh/util.c \ + mesh/mesh-config.h mesh/mesh-config-json.c tools_mesh_cfgclient_LDADD = lib/libbluetooth-internal.la src/libshared-ell.la \ - $(ell_ldadd) -lreadline + $(ell_ldadd) -ljson-c -lreadline endif EXTRA_DIST += tools/mesh-gatt/local_node.json tools/mesh-gatt/prov_db.json -- cgit v1.2.1