[PATCH BlueZ v2 00/13] Introduce shared/gatt-client
From: Arman Uguray <hidden>
Date: 2014-08-28 21:25:12
* v2:
- Rebased on top of master
- Fixed empty line at the end of file.
- Other minor style fixes
* v1:
- Moved the TODOs to the top-level TODO file in a new ATT/GATT section.
- Removed bt_gatt_client_init. Instead, added a
bt_gatt_client_set_ready_handler to set up a handler which gets called when
discovery is over. Discovery is initiated in bt_gatt_client_new instead.
- Removed bt_gatt_client_get_att.
- Removed the (un)register_service_changed functions for now.
- Removed bt_gatt_client_destroy in favor of ref/unref functions.
- Dropped "_handler" from bt_att_(un)register_disconnect_handler functions.
Arman Uguray (13):
TODO: Add items for tasks involving the new shared ATT/GATT stack
shared/gatt-helpers: Remove service, characteristic, descriptor
structures.
shared/gatt-helpers: Added result count functions.
shared/gatt-client: Added initial skeleton and simple functions.
shared/att: Support multiple disconnect handlers.
shared/att: Add BT_ATT_DEFAULT_LE_MTU macro.
shared/gatt-helpers: Fixed typo in callback args.
shared/gatt-client: Add bt_gatt_client_set_debug.
shared/gatt-client: Implement initial service discovery.
shared/gatt-client: Add service iterator functions.
shared/gatt-client: Implement characteristic discovery.
shared/gatt-client: Implement descriptor discovery.
TODO: shared/gatt-client has been defined and discovery implemented
Makefile.am | 3 +-
TODO | 90 ++++++-
src/shared/att-types.h | 2 +
src/shared/att.c | 161 ++++++++++--
src/shared/att.h | 11 +-
src/shared/gatt-client.c | 652 ++++++++++++++++++++++++++++++++++++++++++++++
src/shared/gatt-client.h | 89 +++++++
src/shared/gatt-helpers.c | 100 +++++--
src/shared/gatt-helpers.h | 36 +--
9 files changed, 1063 insertions(+), 81 deletions(-)
create mode 100644 src/shared/gatt-client.c
create mode 100644 src/shared/gatt-client.h
--
2.1.0.rc2.206.gedb03e5