summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@codecoup.pl>2017-12-07 12:43:44 +0100
committerSzymon Janc <szymon.janc@codecoup.pl>2017-12-14 10:08:32 +0100
commitf68235b2c03235695837abfb6d7ceebacbf14dd9 (patch)
tree19c44684a87b4a47b47347407b789e04bf4b73b7 /Makefile.tools
parentb8cd86c3e2be9ae8f3294e4090179611ff69ba9c (diff)
downloadbluez-f68235b2c03235695837abfb6d7ceebacbf14dd9.tar.gz
tools/btpclient: Add initial code
This adds initial code for BTP client tool that allows for automated (binary protocol ) control of BlueZ stack. Currently this tool depends only on Embedded Linux Library and requires master branch of ELL. When 0.3 is released dependencies will be bumped. Initial code allows to connect D-Bus client, discover objects and keep proxies for it. It also implements basics for BTP core service.
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.tools b/Makefile.tools
index 8074a536d..9e56603d8 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -444,3 +444,11 @@ test_scripts += test/sap_client.py test/bluezutils.py \
test/pbap-client test/map-client test/example-advertisement \
test/example-gatt-server test/example-gatt-client \
test/test-gatt-profile
+
+if BTPCLIENT
+noinst_PROGRAMS += tools/btpclient
+
+tools_btpclient_SOURCES = tools/btpclient.c src/shared/btp.c src/shared/btp.h
+tools_btpclient_CFLAGS = $(AM_CFLAGS) @ELL_CFLAGS@
+tools_btpclient_LDADD = @ELL_LIBS@
+endif