summaryrefslogtreecommitdiff
path: root/attrib/gatt.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2010-11-17 16:09:45 -0200
committerJohan Hedberg <johan.hedberg@nokia.com>2010-11-18 21:58:22 +0200
commit8022b94b0523b2bdb8a02d7d148eb58d4b189dd2 (patch)
tree8308147566fd35691f3e89efbaf8f8ee930cd4ad /attrib/gatt.h
parent0f8be9dbaa8b625c00cb58c9656e954bd545c5ba (diff)
downloadbluez-8022b94b0523b2bdb8a02d7d148eb58d4b189dd2.tar.gz
Add an extra parameter in the discovery primary to specify the UUID
Extends discover primary function to perform discover by UUID. UUID parameter defines which procedure will be executed: Discover All Primary Services or Discover Primary Service by Service UUID.
Diffstat (limited to 'attrib/gatt.h')
-rw-r--r--attrib/gatt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/attrib/gatt.h b/attrib/gatt.h
index f1599c29f..4e7d88b00 100644
--- a/attrib/gatt.h
+++ b/attrib/gatt.h
@@ -24,8 +24,8 @@
#define GATT_CID 4
-guint gatt_discover_primary(GAttrib *attrib, uint16_t start,
- uint16_t end, GAttribResultFunc func, gpointer user_data);
+guint gatt_discover_primary(GAttrib *attrib, uint16_t start, uint16_t end,
+ uuid_t *uuid, GAttribResultFunc func, gpointer user_data);
guint gatt_discover_char(GAttrib *attrib, uint16_t start, uint16_t end,
GAttribResultFunc func, gpointer user_data);