summaryrefslogtreecommitdiff
path: root/attrib/gatt.h
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/gatt.h
parent2da716f340e99d315a9c773ea95253d583ba2b74 (diff)
downloadbluez-922c5feb93adfb9773a854d8e89eb2c5604e632b.tar.gz
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/gatt.h')
-rw-r--r--attrib/gatt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/attrib/gatt.h b/attrib/gatt.h
index 730de7e69..c6d3843a8 100644
--- a/attrib/gatt.h
+++ b/attrib/gatt.h
@@ -30,7 +30,8 @@ guint gatt_discover_primary(GAttrib *attrib, bt_uuid_t *uuid, gatt_cb_t func,
gpointer user_data);
guint gatt_discover_char(GAttrib *attrib, uint16_t start, uint16_t end,
- gatt_cb_t func, gpointer user_data);
+ bt_uuid_t *uuid, gatt_cb_t func,
+ gpointer user_data);
guint gatt_read_char(GAttrib *attrib, uint16_t handle, uint16_t offset,
GAttribResultFunc func, gpointer user_data);