From 5759c4611721f58077a33e08801e22f1285d7740 Mon Sep 17 00:00:00 2001 From: Inga Stotland Date: Fri, 1 Nov 2019 11:57:22 -0700 Subject: tools: Add mesh-cfgclient tool This adds a tool that allows to create mesh networks opreating over advertising (PB-ADV) provisioning bearer. The main commands are: create - Create new mesh network with one initial node discover-unprovisioned - Look for devices to provision list-unprovisioned - List unprovisioned devices provision - Initiate provisioning list-nodes - List remote mesh nodes --- Makefile.tools | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Makefile.tools') diff --git a/Makefile.tools b/Makefile.tools index feb2c8550..12687e495 100644 --- a/Makefile.tools +++ b/Makefile.tools @@ -324,6 +324,17 @@ tools_meshctl_SOURCES = tools/meshctl.c \ tools_meshctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \ lib/libbluetooth-internal.la \ $(GLIB_LIBS) $(DBUS_LIBS) -ljson-c -lreadline + +bin_PROGRAMS += tools/mesh-cfgclient + +tools_mesh_cfgclient_SOURCES = tools/mesh-cfgclient.c \ + tools/mesh/model.h tools/mesh/config-model.h \ + tools/mesh/cfgcli.h tools/mesh/cfgcli.c \ + tools/mesh/keys.h tools/mesh/keys.c \ + tools/mesh/util.h tools/mesh/util.c \ + tools/mesh/agent.h tools/mesh/agent.c +tools_mesh_cfgclient_LDADD = lib/libbluetooth-internal.la src/libshared-ell.la \ + $(ell_ldadd) -lreadline endif EXTRA_DIST += tools/mesh-gatt/local_node.json tools/mesh-gatt/prov_db.json -- cgit v1.2.1