summaryrefslogtreecommitdiff
path: root/attrib/gatt.h
diff options
context:
space:
mode:
authorJefferson Delfes <jefferson.delfes@openbossa.org>2012-09-28 16:34:44 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-01 12:54:51 +0300
commit3d0e48b33446567a7e02772bb84bd55c87073937 (patch)
tree0c744b7f508b5795c6208ff82b7e6296de78d45f /attrib/gatt.h
parent5e1174fb01bdb196efceb0f8bd801f262aeed4cd (diff)
downloadbluez-3d0e48b33446567a7e02772bb84bd55c87073937.tar.gz
gatt: Remove offset parameter from gatt_read_char
The Core spec allows to implement Read Long Characteristic Value as a Read Request, followed by zero or more Read Blob Requests, therefore the offset parameter is unnecessary and is always 0 for normal use.
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 6bb6f0fd1..386201144 100644
--- a/attrib/gatt.h
+++ b/attrib/gatt.h
@@ -75,8 +75,8 @@ guint gatt_discover_char(GAttrib *attrib, uint16_t start, uint16_t end,
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);
+guint gatt_read_char(GAttrib *attrib, uint16_t handle, GAttribResultFunc func,
+ gpointer user_data);
guint gatt_write_char(GAttrib *attrib, uint16_t handle, uint8_t *value,
size_t vlen, GAttribResultFunc func,