diff options
author | Jefferson Delfes <jefferson.delfes@openbossa.org> | 2012-09-28 16:34:44 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-10-01 12:54:51 +0300 |
commit | 3d0e48b33446567a7e02772bb84bd55c87073937 (patch) | |
tree | 0c744b7f508b5795c6208ff82b7e6296de78d45f /profiles/proximity | |
parent | 5e1174fb01bdb196efceb0f8bd801f262aeed4cd (diff) | |
download | bluez-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 'profiles/proximity')
-rw-r--r-- | profiles/proximity/monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/proximity/monitor.c b/profiles/proximity/monitor.c index a791916f2..6444a758e 100644 --- a/profiles/proximity/monitor.c +++ b/profiles/proximity/monitor.c @@ -250,7 +250,7 @@ static void tx_power_handle_cb(GSList *characteristics, guint8 status, DBG("Tx Power handle: 0x%04x", monitor->txpowerhandle); - gatt_read_char(monitor->attrib, monitor->txpowerhandle, 0, + gatt_read_char(monitor->attrib, monitor->txpowerhandle, tx_power_read_cb, monitor); } @@ -260,7 +260,7 @@ static void read_tx_power(struct monitor *monitor) bt_uuid_t uuid; if (monitor->txpowerhandle != 0) { - gatt_read_char(monitor->attrib, monitor->txpowerhandle, 0, + gatt_read_char(monitor->attrib, monitor->txpowerhandle, tx_power_read_cb, monitor); return; } |