diff options
author | Elvis Pfützenreuter <epx@signove.com> | 2011-03-15 10:05:03 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-03-15 19:36:48 +0200 |
commit | a278db781a26c639267b1d88d5fbe08f99af6c61 (patch) | |
tree | 9482a015be6ef6866d62ff6fdaf223e1e02375b0 /attrib/gatt.h | |
parent | da620b5e915727e14021a54c7cc452823c89fe49 (diff) | |
download | bluez-a278db781a26c639267b1d88d5fbe08f99af6c61.tar.gz |
Use new UUID functions in GATT
This patch puts the new UUID functions into use for GATT-related
code, and adds some convenience functions to ATT API (att.h).
Example GATT server is also changed.
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 b1a46e14d..730de7e69 100644 --- a/attrib/gatt.h +++ b/attrib/gatt.h @@ -26,7 +26,7 @@ typedef void (*gatt_cb_t) (GSList *l, guint8 status, gpointer user_data); -guint gatt_discover_primary(GAttrib *attrib, uuid_t *uuid, gatt_cb_t func, +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, @@ -45,5 +45,5 @@ guint gatt_write_cmd(GAttrib *attrib, uint16_t handle, uint8_t *value, int vlen, GDestroyNotify notify, gpointer user_data); guint gatt_read_char_by_uuid(GAttrib *attrib, uint16_t start, uint16_t end, - uuid_t *uuid, GAttribResultFunc func, + bt_uuid_t *uuid, GAttribResultFunc func, gpointer user_data); |