Commit: 0ecc909424ed0e68928187bac0b0da75bc06fd93
Parent: a449862869986efbc6eebf7057526e5ddb07d828
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-02-16 11:01:40
Tree: 4bb983a018f523ab8a25a8a94d089a0b0a47a02e

shared/gatt: Pass bt_att instead of bdaddr_t Replaced the bdaddr_t parameter of gatt_db's read/write functions and callbacks with a bt_att parameter. The BDADDR information can be obtained from the bt_att's underlying file descriptor.

Diffstat

M android/gatt.c | 98 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - -
M src/shared/gatt-db.c | 10 +++++- - - - -
M src/shared/gatt-db.h | 8 ++++- - - -
M src/shared/gatt-server.c | 29 ++++++++++++++++- - - - - - - - - - - - -
M tools/btgatt-server.c | 18 +++++++++- - - - - - - - -
M unit/test-gatt.c | 4 ++- -

6 files changed, 109 insertions(+), 58 deletions(-)

View Full Diff | Patch