aboutsummaryrefslogtreecommitdiffstats
path: root/attrib/client.c
diff options
context:
space:
mode:
authorSheldon Demario <sheldon.demario@openbossa.org>2011-03-16 19:00:56 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2011-03-17 14:50:59 +0200
commit922c5feb93adfb9773a854d8e89eb2c5604e632b (patch)
tree6437cff05ed5f701ba4aa21fece8c54dbe196dd9 /attrib/client.c
parent2da716f340e99d315a9c773ea95253d583ba2b74 (diff)
downloadbluez-922c5feb93adfb9773a854d8e89eb2c5604e632b.tar.gz
bluez-922c5feb93adfb9773a854d8e89eb2c5604e632b.tar.xz
bluez-922c5feb93adfb9773a854d8e89eb2c5604e632b.zip
Add discover characteristics by UUID to gatttool
According to the specification the characteristics discover and characteristics discover by UUID use the same opcode and the result should be filtered by callback.
Diffstat (limited to 'attrib/client.c')
-rw-r--r--attrib/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attrib/client.c b/attrib/client.c
index 3237a6b7..54bdc793 100644
--- a/attrib/client.c
+++ b/attrib/client.c
@@ -960,7 +960,7 @@ static DBusMessage *discover_char(DBusConnection *conn, DBusMessage *msg,
qchr->prim = prim;
qchr->msg = dbus_message_ref(msg);
- gatt_discover_char(gatt->attrib, att->start, att->end,
+ gatt_discover_char(gatt->attrib, att->start, att->end, NULL,
char_discovered_cb, qchr);
return NULL;