All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 00/27] HoG: Replace gattrib with gatt_client
@ 2015-04-03 13:43 Mariusz Skamra
  2015-04-03 13:43 ` [PATCHv2 01/27] android/hidhost: Create bt_gatt_client Mariusz Skamra
                   ` (26 more replies)
  0 siblings, 27 replies; 34+ messages in thread
From: Mariusz Skamra @ 2015-04-03 13:43 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Mariusz Skamra

These patches replace gattrib with bt_gatt_client.
It is part of HoG deduplication. HoG, ScPP, DIS, BAS have been
cleaned from glib, btio, attrib dependencies.

Note, that unit/test-hog tests are no longer valid and won't work since
were written to be used with attrib. Fixes for unit tests will be
sent in the next set of patches.

v2:
Fixed dangling pointers;
Added check if pointer to allocated mem isn't null
Merged "Add MIN definition" and "Remove attrib" patches
Corrected commit subjects and messages

Mariusz Skamra (27):
  android/hidhost: Create bt_gatt_client
  android/hog: Introduce bt_gatt_client
  shared/gatt-client: Expose gatt_db
  android/hog: Remove tracking gatt operations
  android/hog: Use bt_gatt_client to read characteristic value
  android/hog: Use bt_gatt_client to register for notifications
  android/hog: Use bt_gatt_client to write without response
  android/hog: Replace gatt_write_char with bt_gatt_client_write_value
  android/hog: Use gatt_db to search for services and characteristics in
    db
  android/hog: Add helper to create uhid device
  lib/uuid: Add define for HoG UUID
  android/hog: Replace list of reports with a queue of reports
  android/hog: Replace GSList of hog instances with queue of instances
  android/dis: Remove tracking pending gatt operations
  android/dis: Introduce bt_gatt_client
  android/scpp: Remove tracking pending gatt operations
  android/scpp: Introduce bt_gatt_client
  android/scpp: Merge refresh_discovered_cb with iwin_discovered_cb
  android/bas: Remove tracking pending gatt operations
  android/bas: Start using bt_gatt_client
  android/hog: Strip btio dependencies
  android/hog: Enable Input Report notifications only if uhid is created
  android/bas: Enable Battery Level notifications after reconnection
  android/hog: Clean the code from attrib dependencies
  android/hog: Remove glib dependencies
  android/hog: Remove redundant code
  android/hog: Replace definitions of characteristic uuids with bt_uuids

 android/Android.mk       |    2 +
 android/bas.c            |  313 +++----------
 android/bas.h            |    4 +-
 android/dis.c            |  203 ++------
 android/dis.h            |    4 +-
 android/hidhost.c        |   80 +++-
 android/hog.c            | 1150 ++++++++++++++++------------------------------
 android/hog.h            |   12 +-
 android/scpp.c           |  263 +++--------
 android/scpp.h           |    4 +-
 lib/uuid.h               |    1 +
 src/shared/gatt-client.c |    8 +
 src/shared/gatt-client.h |    1 +
 unit/test-hog.c          |    9 +-
 14 files changed, 664 insertions(+), 1390 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2015-04-08 10:11 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-03 13:43 [PATCHv2 00/27] HoG: Replace gattrib with gatt_client Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 01/27] android/hidhost: Create bt_gatt_client Mariusz Skamra
2015-04-03 16:33   ` Michael Janssen
2015-04-03 13:43 ` [PATCHv2 02/27] android/hog: Introduce bt_gatt_client Mariusz Skamra
2015-04-07  7:44   ` Luiz Augusto von Dentz
2015-04-03 13:43 ` [PATCHv2 03/27] shared/gatt-client: Expose gatt_db Mariusz Skamra
2015-04-07  8:01   ` Luiz Augusto von Dentz
2015-04-03 13:43 ` [PATCHv2 04/27] android/hog: Remove tracking gatt operations Mariusz Skamra
2015-04-07  7:50   ` Luiz Augusto von Dentz
2015-04-08  8:47     ` Skamra Mariusz
2015-04-08 10:11       ` Luiz Augusto von Dentz
2015-04-03 13:43 ` [PATCHv2 05/27] android/hog: Use bt_gatt_client to read characteristic value Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 06/27] android/hog: Use bt_gatt_client to register for notifications Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 07/27] android/hog: Use bt_gatt_client to write without response Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 08/27] android/hog: Replace gatt_write_char with bt_gatt_client_write_value Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 09/27] android/hog: Use gatt_db to search for services and characteristics in db Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 10/27] android/hog: Add helper to create uhid device Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 11/27] lib/uuid: Add define for HoG UUID Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 12/27] android/hog: Replace list of reports with a queue of reports Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 13/27] android/hog: Replace GSList of hog instances with queue of instances Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 14/27] android/dis: Remove tracking pending gatt operations Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 15/27] android/dis: Introduce bt_gatt_client Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 16/27] android/scpp: Remove tracking pending gatt operations Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 17/27] android/scpp: Introduce bt_gatt_client Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 18/27] android/scpp: Merge refresh_discovered_cb with iwin_discovered_cb Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 19/27] android/bas: Remove tracking pending gatt operations Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 20/27] android/bas: Start using bt_gatt_client Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 21/27] android/hog: Strip btio dependencies Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 22/27] android/hog: Enable Input Report notifications only if uhid is created Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 23/27] android/bas: Enable Battery Level notifications after reconnection Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 24/27] android/hog: Clean the code from attrib dependencies Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 25/27] android/hog: Remove glib dependencies Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 26/27] android/hog: Remove redundant code Mariusz Skamra
2015-04-03 13:43 ` [PATCHv2 27/27] android/hog: Replace definitions of characteristic uuids with bt_uuids Mariusz Skamra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.