linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/15] Manager/Adapter transition to ObjectManager
@ 2012-12-05 12:51 Mikel Astiz
  2012-12-05 12:51 ` [PATCH v3 01/15] cups: Remove unnecessary code Mikel Astiz
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Mikel Astiz @ 2012-12-05 12:51 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Mikel Astiz

From: Mikel Astiz <mikel.astiz@bmw-carit.de>

Main changes from v2 include the suggestions from Lizardo:
- Python style improved.
- Utility library renamed to bluezutils.py to avoid collisions in distros.
- Recently added test-cyclingspeed also considered in the patchset.

>From previous cover-letter:

This proposal completely removes org.bluez.Manager, with two main consequences:
1. Clients have a harder time to find adapters. Therefore, some helper function have been added to be used by test scripts.
2. The concept of "default adapter" disappears.

All test scripts have been updated here but not all of them were tested, so apoligies if this breaks your script (some of them are already broken, by the way).

Regarding the testing code written in C, they haven't been updated. The idea is to address these once the python part has been agreed.

Mikel Astiz (15):
  cups: Remove unnecessary code
  test: Add utility library for python scripts
  test: Avoid using DefaultAdapter()
  test: Update monitor script to ObjectManager
  test: Update test-manager script to ObjectManager
  test: Use ObjectManager instead of Adapters property
  dbus: Remove org.bluez.Manager
  test: Use ObjectManager instead of Devices property
  test: Add helper function to find devices
  adapter: Remove DeviceCreated/DeviceRemoved signals
  adapter: Remove redundant Devices property
  test: Avoid using Adapter.FindDevice()
  adapter: Remove FindDevice method from D-Bus API
  dbus: Rename to org.bluez.Device1
  dbus: Rename to org.bluez.Adapter1

 Makefile.am            |   3 +-
 Makefile.tools         |   2 +-
 doc/adapter-api.txt    |  23 +------
 doc/bluez-docs.xml     |   7 ---
 doc/device-api.txt     |   2 +-
 doc/manager-api.txt    |  51 ----------------
 doc/oob-api.txt        |   2 +-
 profiles/cups/main.c   |  46 +++++---------
 src/adapter.c          |  89 +--------------------------
 src/adapter.h          |   2 +-
 src/device.h           |   2 +-
 src/manager.c          | 163 -------------------------------------------------
 src/manager.h          |   3 -
 test/agent.c           |   7 ++-
 test/bluezutils.py     |  47 ++++++++++++++
 test/dbusdef.py        |   5 +-
 test/list-devices      |  20 +++---
 test/monitor-bluetooth |  68 ++++++++++-----------
 test/simple-agent      |  22 +++----
 test/simple-endpoint   |   7 +--
 test/simple-player     |   7 +--
 test/simple-service    |   7 +--
 test/test-adapter      |  41 ++++++-------
 test/test-attrib       |  18 ++----
 test/test-cyclingspeed |  20 +++---
 test/test-device       |  84 ++++++++++++-------------
 test/test-discovery    |  15 ++---
 test/test-health       |  11 +++-
 test/test-health-sink  |  12 +++-
 test/test-heartrate    |  23 +++----
 test/test-manager      |  33 +++++-----
 test/test-nap          |  10 +--
 test/test-oob          |  33 +++++-----
 test/test-proximity    |  17 +-----
 test/test-service      |   8 +--
 test/test-thermometer  |  20 +++---
 36 files changed, 288 insertions(+), 642 deletions(-)
 delete mode 100644 doc/manager-api.txt
 create mode 100644 test/bluezutils.py

-- 
1.7.11.7


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

end of thread, other threads:[~2012-12-05 14:44 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-05 12:51 [PATCH v3 00/15] Manager/Adapter transition to ObjectManager Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 01/15] cups: Remove unnecessary code Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 02/15] test: Add utility library for python scripts Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 03/15] test: Avoid using DefaultAdapter() Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 04/15] test: Update monitor script to ObjectManager Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 05/15] test: Update test-manager " Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 06/15] test: Use ObjectManager instead of Adapters property Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 07/15] dbus: Remove org.bluez.Manager Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 08/15] test: Use ObjectManager instead of Devices property Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 09/15] test: Add helper function to find devices Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 10/15] adapter: Remove DeviceCreated/DeviceRemoved signals Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 11/15] adapter: Remove redundant Devices property Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 12/15] test: Avoid using Adapter.FindDevice() Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 13/15] adapter: Remove FindDevice method from D-Bus API Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 14/15] dbus: Rename to org.bluez.Device1 Mikel Astiz
2012-12-05 12:51 ` [PATCH v3 15/15] dbus: Rename to org.bluez.Adapter1 Mikel Astiz
2012-12-05 14:44 ` [PATCH v3 00/15] Manager/Adapter transition to ObjectManager Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).