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 /src/attrib-server.h | |
parent | da620b5e915727e14021a54c7cc452823c89fe49 (diff) |
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 'src/attrib-server.h')
-rw-r--r-- | src/attrib-server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/attrib-server.h b/src/attrib-server.h index 85f3bdbd..c03d3c5e 100644 --- a/src/attrib-server.h +++ b/src/attrib-server.h @@ -25,9 +25,9 @@ int attrib_server_init(void); void attrib_server_exit(void); -struct attribute *attrib_db_add(uint16_t handle, uuid_t *uuid, int read_reqs, +struct attribute *attrib_db_add(uint16_t handle, bt_uuid_t *uuid, int read_reqs, int write_reqs, const uint8_t *value, int len); -int attrib_db_update(uint16_t handle, uuid_t *uuid, const uint8_t *value, +int attrib_db_update(uint16_t handle, bt_uuid_t *uuid, const uint8_t *value, int len); int attrib_db_del(uint16_t handle); int attrib_gap_set(uint16_t uuid, const uint8_t *value, int len); |