Introduces and starts implementation of a LE Advertisement API. Things that are missing still (and added to the TODO): * MGMT API for modifying the LE Advertisements * Semantics for multiple Advertisements (currently any more than one will fail) * TX Power property parsing / interface v1 -> v2: * Cleanup based on comments from Arman * Add g_dbus_proxy_set_read_watch function to avoid ObjectManager dependency * Consolidate script updates into single test script v2 -> v3: * Change "ManufacturerSpecificData" to "ManufacturerData" * Add advertisement-api.txt to EXTRA_DIST * Add Release() callback to org.bluez.LEAdvertisement1 * Remove IncludePower from the LEAdvertisement1 API Michael Janssen (15): doc: Add LE Advertisement D-Bus API documentation core: advertising: add LEAdvertisingManager stubs gdbus/client: add g_dbus_proxy_set_read_watch unit/test-dbus-client: test for g_dbus_set_read_watch advertising-manager: Implement RegisterAdvertisement tools: Python script to test Advertisement API build: add advertising-api.txt to docs distributed advertising-manager: implement UnregisterAdvertisement shared: add advertising-data advertising-manager: use advertising_data advertising-manager: Parse ServiceUUIDs advertising-manager: Parse SolicitUUIDs advertising-manager: Parse ManufacturerSpecificData advertising-manager: Parse ServiceData Update TODO for LE Advertising Makefile.am | 5 +- TODO | 21 +- doc/advertising-api.txt | 101 +++++++ gdbus/client.c | 17 ++ gdbus/gdbus.h | 3 + src/adapter.c | 19 ++ src/advertising-manager.c | 614 ++++++++++++++++++++++++++++++++++++++++++ src/advertising-manager.h | 25 ++ src/shared/advertising-data.c | 349 ++++++++++++++++++++++++ src/shared/advertising-data.h | 69 +++++ tools/advertisement-example | 170 ++++++++++++ unit/test-gdbus-client.c | 66 +++++ 12 files changed, 1448 insertions(+), 11 deletions(-) create mode 100644 doc/advertising-api.txt create mode 100644 src/advertising-manager.c create mode 100644 src/advertising-manager.h create mode 100644 src/shared/advertising-data.c create mode 100644 src/shared/advertising-data.h create mode 100644 tools/advertisement-example -- 2.2.0.rc0.207.ga3a616c -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html