summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2019-11-01 11:57:22 -0700
committerBrian Gix <brian.gix@intel.com>2019-11-04 14:54:38 -0800
commit5759c4611721f58077a33e08801e22f1285d7740 (patch)
treeae04e39ab9c0994c2b5a33cee3035795c96255df /Makefile.tools
parentfead292f2e108370bf9d54b3c1d8c0b806b6ede6 (diff)
downloadbluez-5759c4611721f58077a33e08801e22f1285d7740.tar.gz
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
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools11
1 files changed, 11 insertions, 0 deletions
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