summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-07-03 13:49:19 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-07-05 14:27:38 +0300
commit706f9cb68fedb05b963c32d26c264c31d2f551f6 (patch)
tree17dec61bfc95cfada6da27d6dcb5b91fa2826b6e /Makefile.tools
parent23ca5047e821c266e1092922bc40a32ee14869e1 (diff)
downloadbluez-706f9cb68fedb05b963c32d26c264c31d2f551f6.tar.gz
client: Add acquire-notify command
This adds acquire-notify command which uses D-Bus AcquireNotify method to acquire a file descriptor to read notifications locking the attribute: [Test peripheral:/service001f/char0020]# acquire-notify [CHG] Attribute /org/bluez/hci1/dev_56_A0_AA_D0_12_FF/service001f/char0020 NotifyAcquired: yes AcquireNotify success: fd 7 MTU 65 < ACL Data TX: Handle 3585 flags 0x00 dlen 9 ATT: Write Request (0x12) len 4 Handle: 0x0022 Data: 0200 [CHG] /org/bluez/hci1/dev_56_A0_AA_D0_12_FF/service001f/char0020 Notification: 00 > ACL Data RX: Handle 3585 flags 0x02 dlen 8 ATT: Handle Value Indication (0x1d) len 3 Handle: 0x0021 Data: 00
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.tools b/Makefile.tools
index c0482fb5f..0fd6dec87 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -9,8 +9,8 @@ client_bluetoothctl_SOURCES = client/main.c \
client/advertising.c \
client/gatt.h client/gatt.c \
monitor/uuid.h monitor/uuid.c
-client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@ \
- -lreadline
+client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
+ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline
endif
if MONITOR