diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2010-11-17 16:09:45 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-11-18 21:58:22 +0200 |
commit | 8022b94b0523b2bdb8a02d7d148eb58d4b189dd2 (patch) | |
tree | 8308147566fd35691f3e89efbaf8f8ee930cd4ad /attrib/gatt.h | |
parent | 0f8be9dbaa8b625c00cb58c9656e954bd545c5ba (diff) | |
download | bluez-8022b94b0523b2bdb8a02d7d148eb58d4b189dd2.tar.gz bluez-8022b94b0523b2bdb8a02d7d148eb58d4b189dd2.tar.xz bluez-8022b94b0523b2bdb8a02d7d148eb58d4b189dd2.zip |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/attrib/gatt.h b/attrib/gatt.h index f1599c29..4e7d88b0 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); |