summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth/bluetooth-util.c
Commit message (Collapse)AuthorAgeFilesLines
* bluetooth: Pull a2dp-codecs.h from BlueZArun Raghavan2011-03-311-5/+3
| | | | | | This pulls a2dp-codecs.h from BlueZ which contains the capabilities structures for SBC and MPEG. We currently have these manually added to ipc.h, so pulling this header makes our files identical to upstream.
* bluetooth: Fix a double-free-esque error introduced in 8f3ef04bColin Guthrie2011-03-261-2/+0
|
* bluetooth: Get rid of warnings about unused stuff when building against a ↵Tanu Kaskinen2011-03-241-0/+10
| | | | D-Bus version that doesn't have fd-passing support.
* bluetooth: Don't log an error if an endpoint type is disabled.Tanu Kaskinen2011-03-241-12/+21
| | | | | | | | | It's perfectly normal for BlueZ to disable some endpoint types, so printing a log message at error level isn't a good idea. For facilitating an informative message in case some endpoint type is disabled, the send_and_add_to_pending() function interface is also changed to be more generic (the pa_bluetooth_device pointer is replaced with a void pointer).
* Fix up some double spacesMaarten Bosmans2011-03-181-2/+2
|
* bluetooth: add proper handling for bluetooth.nrec propertyLuiz Augusto von Dentz2011-03-141-0/+72
| | | | | | | | | NREC stands for Noise Reduction and Echo Cancelation, it can be changed at any point by the headset. When set to "1" indicates that those algorithms shall be enabled by default and "0" means the headset probably have them active so they should be disabled in PA side.
* bluetooth: handle Acquire API changeLuiz Augusto von Dentz2011-03-141-2/+9
| | | | | | Acquire now return input and output MTU of the file descriptor so it is no longer necessary to get those after acquiring the fd, which less round trips and faster response time when switching profiles.
* Fix up according to Coding StyleMaarten Bosmans2011-03-111-4/+3
| | | | Only whitespace changes in here
* bluetooth: fix build for libdbus < 1.3Luiz Augusto von Dentz2010-12-231-0/+2
|
* bluetooth: make use of dbus-util helper functionsLuiz Augusto von Dentz2010-10-201-66/+6
|
* bluetooth: Add support for Media APILuiz Augusto von Dentz2010-10-071-13/+653
| | | | Make use of D-Bus to transfer file descriptors.
* bluetooth: add HFP Gateway supportJoão Paulo Rechi Vita2010-02-211-5/+25
| | | | | | | | Create the 'Handsfree Gateway' profile for bluetooth cards and add filters for 'org.bluez.HandsfreeGateway' to the discover module so module-bluetooth-device is loaded with the correct profile when a Handsfree Gateway connects to bluetoothd (in this case bluetoothd is acting as the headset).
* bluetooth: improve dbus loggingJoão Paulo Rechi Vita2010-02-211-2/+3
|
* bluetooth: fix invalid memory accessLennart Poettering2010-02-091-1/+7
| | | | | | | | When an GetProperties() reply arrives after we already deleted the device structure for it make sure we don't accidentaly touch the invalidated object. https://bugzilla.redhat.com/show_bug.cgi?id=543205
* dbus: remove filter functions only if they were actually set beforeLennart Poettering2010-02-091-1/+4
| | | | | | | This fixes an assert when destructing modules that have not been fully initialized. https://bugzilla.redhat.com/show_bug.cgi?id=548525
* bluetooth: do not hand out access to devices that are not fully configured yetLennart Poettering2009-10-311-2/+8
|
* Handle DisconnectRequested in bluetooth module.Luiz Augusto von Dentz2009-08-271-0/+17
|
* bluetooth: add discover of bluetooth sourcesJoão Paulo Rechi Vita2009-08-231-6/+20
|
* bluetooth: fix match syntaxLennart Poettering2009-08-171-2/+2
|
* bluetooth: make NameOwnerChanged filter matches more focussedLennart Poettering2009-08-171-2/+2
|
* bluetooth: ask first for Headset and AudioSink properties, followed by AudioLennart Poettering2009-08-151-4/+4
|
* bluetooth: recognize only those BT devices that implement both the Audio and ↵Lennart Poettering2009-08-151-3/+3
| | | | either AudioSink or Headset interfaces
* bluetooth: handle absence of bluez D-Bus service properlyLennart Poettering2009-07-011-11/+66
|
* bluetooth: memory leak, actually free discovery struct itselfLennart Poettering2009-04-101-0/+2
|
* explain ff7033c11d9248fe837204b03c8397231dc511feLennart Poettering2009-03-311-0/+3
|
* Revert "make sure we always read in all properties"Lennart Poettering2009-03-311-9/+0
| | | | | | | This reverts commit 1c8f968282208be391f062c1656d85e2ba5078ac. Turns out doing this is racy. The appropriate fix seems to be 38825d79123678bf0c5d156aaea4bedb888a7fcd
* make sure we always read in all propertiesLennart Poettering2009-03-301-0/+9
|
* get rid of old 'Connected' property parsing and make sure we don't execute ↵Lennart Poettering2009-03-301-11/+0
| | | | two case branches
* introduce typedef for pa_bt_audio_state and use it everywhereLennart Poettering2009-03-301-6/+5
|
* Merge commit 'elmarco/bluetooth-fixes'Lennart Poettering2009-03-301-42/+85
|\
| * bluetooth: use new audio State propertiesMarc-André Lureau2009-03-271-36/+73
| |
| * bluetooth: GetProperties after profile UUID show upMarc-André Lureau2009-03-271-0/+12
| |
| * bluetooth: remove racy GetProperties to check profileMarc-André Lureau2009-03-271-6/+0
| |
* | dbus: split dbus-util into dbus-sharedMarc-André Lureau2009-03-301-1/+1
|/ | | | | modules: fix dbus-util include pulse: get dbus at context connection
* rework device discovery to share a single device list among all modulesLennart Poettering2009-03-211-141/+104
|
* make sure we dispatch messages in orderLennart Poettering2009-03-201-10/+7
|
* document things that need to be fixed with FIXMELennart Poettering2009-03-191-0/+4
|
* bluetooth: rework the info_valid logic to be more tolerantMarc-André Lureau2009-03-191-3/+2
|
* bluetooth: mark info_valid when receive ConnectedMarc-André Lureau2009-03-191-0/+2
| | | | Sometime, we receive the connected signal before GetProperties reply.
* bluetooth: s/handled/not_yet_handled for signalsMarc-André Lureau2009-03-051-4/+4
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* revise form factor list a bit, simplify and use singular everywhereLennart Poettering2009-03-011-2/+2
|
* add new functions pa_bluetooth_cleanup_name() and pa_bluetooth_get_form_factor()Lennart Poettering2009-02-021-7/+66
|
* add missing filesLennart Poettering2009-01-291-0/+805