Commit graph

37 commits

Author SHA1 Message Date
Maarten Bosmans
ecf09f2cd6 Fix up according to Coding Style
Only whitespace changes in here
2011-03-11 11:49:35 +00:00
Luiz Augusto von Dentz
96338eec28 bluetooth: fix build for libdbus < 1.3 2010-12-23 13:16:43 +02:00
Luiz Augusto von Dentz
e8a7d1932f bluetooth: make use of dbus-util helper functions 2010-10-20 14:30:05 +03:00
Luiz Augusto von Dentz
8f3ef04b43 bluetooth: Add support for Media API
Make use of D-Bus to transfer file descriptors.
2010-10-07 17:22:41 +03:00
João Paulo Rechi Vita
342e06498f bluetooth: add HFP Gateway support
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).
2010-02-21 20:51:08 +01:00
João Paulo Rechi Vita
edf5f5be6b bluetooth: improve dbus logging 2010-02-21 20:51:02 +01:00
Lennart Poettering
41ce7cbde9 bluetooth: fix invalid memory access
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
2010-02-09 22:31:40 +00:00
Lennart Poettering
66dbca1e06 dbus: remove filter functions only if they were actually set before
This fixes an assert when destructing modules that have not been fully
initialized.

https://bugzilla.redhat.com/show_bug.cgi?id=548525
2010-02-09 22:28:17 +00:00
Lennart Poettering
2dc37e1214 bluetooth: do not hand out access to devices that are not fully configured yet 2009-10-31 02:05:54 +01:00
Luiz Augusto von Dentz
8169a6a6c9 Handle DisconnectRequested in bluetooth module. 2009-08-27 11:29:49 -03:00
João Paulo Rechi Vita
2772521698 bluetooth: add discover of bluetooth sources 2009-08-23 22:46:56 -03:00
Lennart Poettering
319d187972 bluetooth: fix match syntax 2009-08-17 19:14:35 +02:00
Lennart Poettering
90a07435d3 bluetooth: make NameOwnerChanged filter matches more focussed 2009-08-17 03:51:22 +02:00
Lennart Poettering
de4968cdde bluetooth: ask first for Headset and AudioSink properties, followed by Audio 2009-08-15 22:25:53 +02:00
Lennart Poettering
fa52a91b1a bluetooth: recognize only those BT devices that implement both the Audio and either AudioSink or Headset interfaces 2009-08-15 22:25:21 +02:00
Lennart Poettering
c3958aaa07 bluetooth: handle absence of bluez D-Bus service properly 2009-07-01 02:20:23 +02:00
Lennart Poettering
9ee6a41491 bluetooth: memory leak, actually free discovery struct itself 2009-04-10 01:12:12 +02:00
Lennart Poettering
cab1e54392 explain ff7033c11d 2009-03-31 00:26:12 +02:00
Lennart Poettering
ff7033c11d Revert "make sure we always read in all properties"
This reverts commit 1c8f968282.

Turns out doing this is racy. The appropriate fix seems to be
38825d7912
2009-03-31 00:22:17 +02:00
Lennart Poettering
1c8f968282 make sure we always read in all properties 2009-03-30 20:56:03 +02:00
Lennart Poettering
66b80e9ecd get rid of old 'Connected' property parsing and make sure we don't execute two case branches 2009-03-30 20:55:50 +02:00
Lennart Poettering
91355a1ce5 introduce typedef for pa_bt_audio_state and use it everywhere 2009-03-30 20:55:10 +02:00
Lennart Poettering
1390564227 Merge commit 'elmarco/bluetooth-fixes' 2009-03-30 20:34:49 +02:00
Marc-André Lureau
eb93e2537a dbus: split dbus-util into dbus-shared
modules: fix dbus-util include
pulse: get dbus at context connection
2009-03-30 20:56:55 +03:00
Marc-André Lureau
87fcb3d592 bluetooth: use new audio State properties 2009-03-27 22:59:57 +02:00
Marc-André Lureau
38825d7912 bluetooth: GetProperties after profile UUID show up 2009-03-27 22:59:56 +02:00
Marc-André Lureau
20bd1c686c bluetooth: remove racy GetProperties to check profile 2009-03-27 22:59:56 +02:00
Lennart Poettering
3aa39726db rework device discovery to share a single device list among all modules 2009-03-21 01:19:49 +01:00
Lennart Poettering
f5c8990d18 make sure we dispatch messages in order 2009-03-20 19:30:37 +01:00
Lennart Poettering
dd40006718 document things that need to be fixed with FIXME 2009-03-19 18:05:26 +01:00
Marc-André Lureau
e83621724d bluetooth: rework the info_valid logic to be more tolerant 2009-03-19 17:33:34 +02:00
Marc-André Lureau
f1daa282f0 bluetooth: mark info_valid when receive Connected
Sometime, we receive the connected signal before GetProperties reply.
2009-03-19 17:33:34 +02:00
Marc-André Lureau
2d903bae9a bluetooth: s/handled/not_yet_handled for signals 2009-03-05 16:16:38 +02:00
Colin Guthrie
86dee05aec Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
Lennart Poettering
cce56ab343 revise form factor list a bit, simplify and use singular everywhere 2009-03-01 20:30:37 +01:00
Lennart Poettering
d6fdd71c02 add new functions pa_bluetooth_cleanup_name() and pa_bluetooth_get_form_factor() 2009-02-02 00:30:10 +01:00
Lennart Poettering
4a75002ebe add missing files 2009-01-29 20:30:42 +01:00