[PATCH 00/56] Refactor of BlueZ 5 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jo?o Paulo Rechi Vita <jprvita@xxxxxxxxxxxxx>

This series reverts the previous support for BlueZ 5, renames the "bluetooth"
portion of the old modules name for "bluez4", creates a new set of modules for
BlueZ 5 supporting A2DP sink and source roles, and provides configuration
options to independently enable/disable each modules set during build. The
transport acquire/release operations have been reworked to provide a way to
implement this operations in transport backends out of the bluez5 modules core.

Jo?o Paulo Rechi Vita (56):
  todo: Add plans for the bluetooth modules
  Revert "bluetooth: Support transport auto-release"
  Revert "bluetooth: Update to new BlueZ 5 transport acquire/release
    API"
  Revert "bluetooth: Support media transport's State property"
  Revert "bluetooth: Parse media transport's properties"
  Revert "bluetooth: Support Properties.PropertiesChanged signal"
  Revert "bluetooth: Support ObjectManager interface add/remove"
  Revert "bluetooth: BlueZ 5 interface rename to
    org.bluez.MediaTransport1"
  Revert "bluetooth: BlueZ 5 interface rename to org.bluez.Media1"
  Revert "bluetooth: BlueZ 5 interface rename to
    org.bluez.MediaEndpoint1"
  Revert "bluetooth: Fix error checking style"
  Revert "bluetooth: Parse the tree returned by ObjectManager"
  Revert "bluetooth: Detect BlueZ 5"
  bluetooth: Update modules description and copyright
  bluetooth: Rename bluetooth modules to BlueZ 4
  build: Make the build of bluetooth modules BlueZ 4 specific
  build: Add support for enabling/disabling BlueZ 5 support
  build: Load the right modules depending on the BlueZ version
  bluetooth: Create stub for module-bluez5-discover
  build: Compile module-bluetooth-policy with BlueZ 5 as well
  bluetooth: Create pa_bluetooth_discovery for BlueZ 5
  bluetooth: Track org.bluez for BlueZ 5
  bluetooth: Create infrastrucure for bluetooth hooks
  bluetooth: Create pa_bluetooth_device for BlueZ 5 support
  bluetooth: Remove all devices when org.bluez goes away
  bluetooth: Create pa_bluetooth_transport for BlueZ 5 support
  bluetooth: Register MediaEndpoint1 objects with D-Bus
  bluetooth: Check if any transport is connected
  bluetooth: Implement org.bluez.MediaEndpoint1.SetConfiguration()
  bluetooth: Implement org.bluez.MediaEndpoint1.SelectConfiguration()
  bluetooth: Implement org.bluez.MediaEndpoint1.ClearConfiguration()
  bluetooth: Add utility function to send D-Bus messages with reply
  bluetooth: Get managed objects
  bluetooth: Handle InterfacesAdded and InterfacesRemoved
  bluetooth: Parse BlueZ 5 D-Bus interfaces
  bluetooth: Register endpoints with BlueZ 5 adapter
  bluetooth: Parse BlueZ 5 device properties
  bluetooth: Handle PropertiesChanged for org.bluez.Device1
  bluetooth: Handle PropertiesChanged for org.bluez.MediaTransport1
  bluetooth: Track devices in module-bluez5-discover
  bluetooth: Create module-bluez5-device
  bluetooth: Get BlueZ 5 device object
  bluetooth: Unload module-bluez5-device on device's disconnection
  bluetooth: Create BlueZ 5 card
  bluetooth: Create BlueZ 5 card ports
  bluetooth: Create BlueZ 5 card profile for each audio UUID
  bluetooth: Initialize profiles for BlueZ 5 cards
  bluetooth: Create sink for BlueZ 5 cards
  bluetooth: Create source for BlueZ 5 cards
  bluetooth: Start / stop I/O thread for BlueZ 5 cards
  bluetooth: Set card profile for BlueZ 5 cards
  bluetooth: Create I/O thread function for BlueZ 5 cards
  bluetooth: Process sink messages for BlueZ 5 cards
  bluetooth: Process source messages for BlueZ 5 cards
  bluetooth: Handle changes to BlueZ 5 transports state
  bluetooth: Implement get_n_used() for module-bluez5-device

 configure.ac                                      |   43 +-
 src/Makefile.am                                   |   87 +-
 src/daemon/default.pa.in                          |   11 +-
 src/modules/bluetooth/bluetooth-util.c            | 2279 ------------------
 src/modules/bluetooth/bluetooth-util.h            |  178 --
 src/modules/bluetooth/bluez4-util.c               | 1905 +++++++++++++++
 src/modules/bluetooth/bluez4-util.h               |  178 ++
 src/modules/bluetooth/bluez5-util.c               | 1390 +++++++++++
 src/modules/bluetooth/bluez5-util.h               |  115 +
 src/modules/bluetooth/module-bluetooth-device.c   | 2617 --------------------
 src/modules/bluetooth/module-bluetooth-discover.c |  194 --
 src/modules/bluetooth/module-bluez4-device.c      | 2623 +++++++++++++++++++++
 src/modules/bluetooth/module-bluez4-discover.c    |  194 ++
 src/modules/bluetooth/module-bluez5-device.c      | 1912 +++++++++++++++
 src/modules/bluetooth/module-bluez5-discover.c    |  144 ++
 todo                                              |   11 +
 16 files changed, 8565 insertions(+), 5316 deletions(-)
 delete mode 100644 src/modules/bluetooth/bluetooth-util.c
 delete mode 100644 src/modules/bluetooth/bluetooth-util.h
 create mode 100644 src/modules/bluetooth/bluez4-util.c
 create mode 100644 src/modules/bluetooth/bluez4-util.h
 create mode 100644 src/modules/bluetooth/bluez5-util.c
 create mode 100644 src/modules/bluetooth/bluez5-util.h
 delete mode 100644 src/modules/bluetooth/module-bluetooth-device.c
 delete mode 100644 src/modules/bluetooth/module-bluetooth-discover.c
 create mode 100644 src/modules/bluetooth/module-bluez4-device.c
 create mode 100644 src/modules/bluetooth/module-bluez4-discover.c
 create mode 100644 src/modules/bluetooth/module-bluez5-device.c
 create mode 100644 src/modules/bluetooth/module-bluez5-discover.c

-- 
1.7.11.7



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux