| 92bc7a33 |
core: Set the address type when canceling pair device command |
Marcel Holtmann |
13 years ago |
1 file, +1, -0 |
| 4ec01baf |
core: Provide address type information to unpair command |
Marcel Holtmann |
13 years ago |
5 files, +11, -10 |
| ac7c1ff9 |
core: Print timeout value for set discoverable debug |
Marcel Holtmann |
13 years ago |
1 file, +2, -1 |
| ddd7e114 |
core: Print compact info about Bluetooth management interface |
Marcel Holtmann |
13 years ago |
1 file, +3, -6 |
| 6bc5ba16 |
core: Fix treating uuid_any as an invalid UUID |
Johan Hedberg |
13 years ago |
1 file, +6, -0 |
| 92f85f99 |
audio: Remove adapter list
btd_adapter is directly referenced by the drivers so there is no point
on keeping a list just for the audio adapters. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +22, -159 |
| 5d5764ea |
audio: Fix not releasing all references to btd_adapter
A2DP server now take a reference to btd_adapter which needs to be
released properly once the adapter is unplugged. |
Luiz Augusto von Dentz |
13 years ago |
3 files, +81, -14 |
| c343de90 |
core: Print mgmt version and revision through info() instead of DBG() |
Johan Hedberg |
13 years ago |
1 file, +2, -1 |
| b22c0d6b |
core: Filter out non-16 bit UUIDs when talking to mgmt
There's a bug with current kernel mgmt code that will create incorrect
EIR data if there are any non-16-bit UUIDs in the kernel's UUID list.
Once this is fixed in the kernel we can pass 128-bit UUIDs again (by
first checking a new enough mgmt revision), but until then we simply
have to filter out these UUIDs. |
Johan Hedberg |
13 years ago |
1 file, +25, -0 |
| af9464b0 |
build: Don't create empty udev rules.d directory
When UDEV_DIR is empty it will create "/rules.d" directory which is
not desired. So check for enabled HID2HCI support before installing
any udev rules. |
Marcel Holtmann |
13 years ago |
1 file, +3, -7 |
| 61c448fe |
obexd: Reorder command line options |
Marcel Holtmann |
13 years ago |
1 file, +7, -7 |
| 5909724e |
core: Always power off adapter when stopping bluetoothd |
Johan Hedberg |
13 years ago |
1 file, +1, -4 |
| 94361193 |
core: Turn another info() into DBG() for less clutter in logs |
Marcel Holtmann |
13 years ago |
1 file, +1, -1 |
| 60bb2a36 |
a2dp: Convert a2dp_add_sep to accept struct btd_adapter
Pass btd_adapter directly or use getters to get needed data from
adapter object. |
Szymon Janc |
13 years ago |
3 files, +5, -13 |
| cd959f4c |
audio: Simplify manager_find_device
Now that audio_device and other audio structures holds references to
btd_device and not addresses or paths there is no need for complex
find function. |
Szymon Janc |
13 years ago |
1 file, +6, -64 |
| d350a5ce |
avctp: Remove double looking for audio device
There is no need to double call for manager_get_audio_device with
toggled create flag. manager_get_audio_device with create set to true
will only create new audio device if matching one was not found. |
Szymon Janc |
13 years ago |
1 file, +3, -7 |
| bc304e99 |
audio: Make manager_get_device accept btd_device
Also rename manager_get_device to manager_get_audio_device to better
mark what this function do. |
Szymon Janc |
13 years ago |
5 files, +19, -61 |
| e81a827e |
audio: Use manager_get_device to get device object
manager_get_device is a simple wrapper for manager_find_device
and can be used instead making manager API simpler.
manager_find_device{s} are no longer used outside of manager.c and
can be made static. |
Szymon Janc |
13 years ago |
3 files, +68, -75 |
| 40473b9b |
avdtp: Replace avdtp_get_peers with adapter and device getters
This will allow to directly pass adapter or device object instead
of looking for them with addresses later on. |
Szymon Janc |
13 years ago |
3 files, +25, -22 |
| 17f40303 |
avctp: Convert register/unregister to accept btd_adapter
Use btd_adapter and btd_device refs instead of source and destination
bdaddr_t. |
Szymon Janc |
13 years ago |
3 files, +51, -51 |
| 74c1e1f4 |
avrcp: Convert to accept btd_adapter instead of bdaddr_t
This makes avrcp code use reference to btd_adapter structure instead
of adapter source address. |
Szymon Janc |
13 years ago |
4 files, +23, -29 |
| a4ad22df |
a2dp: Use btd_adapter ref in a2dp_server instead of bdaddr_t
Use local refs to device and adapter object instead of addresses.
This allows a2dp code to pass adapter object instead of address. |
Szymon Janc |
13 years ago |
1 file, +14, -11 |
| 88cb1198 |
avdtp: Use refs to adapter and device instead of bdaddr_t
Use local refs to device and adapter object instead of addresses.
This allows a2dp code to pass adapter object instead of address
and minimise need for finding adapter again with manager API. |
Szymon Janc |
13 years ago |
3 files, +54, -68 |
| ac3b4416 |
media: Convert register/unregister to accept btd_adapter
Keep reference to passed btd_adapter and use it to get adapter address
and path. |
Szymon Janc |
13 years ago |
3 files, +32, -26 |
| ef50fbe4 |
a2dp: Remove not used macros definitions
MIN and MAX macros are not used. |
Szymon Janc |
13 years ago |
1 file, +0, -8 |
| d81d04e8 |
a2dp: Convert a2dp_unregister to accept btd_adapter
Pass btd_adapter directly or use getters to get needed data from
adapter object. |
Szymon Janc |
13 years ago |
2 files, +4, -4 |
| 5202b838 |
a2dp: Convert sink/source register to accept btd_adapter
Pass btd_adapter directly or use getters to get needed data from
adapter object. |
Szymon Janc |
13 years ago |
5 files, +18, -14 |
| eccd385e |
a2dp: Remove useless return
This code does nothing. |
Szymon Janc |
13 years ago |
1 file, +0, -3 |
| cc106c72 |
a2dp: Remove bogus '\' at the end of line |
Szymon Janc |
13 years ago |
1 file, +1, -1 |
| 6a61d2b2 |
audio: Fix calling device_profile_connected on disconnected cases |
Luiz Augusto von Dentz |
13 years ago |
1 file, +2, -2 |
| 26f0e1c7 |
audio: Remove unused parameters from sink_connect/sink_disconnect
Profile .connect and .disconnect no longer use callbacks so there is no
reason to keep these parameters around. |
Luiz Augusto von Dentz |
13 years ago |
4 files, +7, -23 |
| 0de5e66b |
audio: Fix not cleaning up player when device is removed
All profile connections need to be reported to the core otherwise it
won't be able to disconnect them properly. |
Luiz Augusto von Dentz |
13 years ago |
4 files, +23, -56 |
| aa9a474d |
core: Print profile name in device_profile_connected |
Luiz Augusto von Dentz |
13 years ago |
1 file, +1, -1 |
| bec7ef3c |
test: Update test-discovery to cope with removed DevicesFound signal
This patch updates test-discovery to reply only on ObjectManager and
standard D-Bus properties signals for device discovery. |
Johan Hedberg |
13 years ago |
1 file, +63, -26 |
| 9169be4f |
audio: Make media_player_get_position private to player.c |
Johan Hedberg |
13 years ago |
2 files, +1, -2 |
| 46370e59 |
core: Remove unused device_get_addr_type function |
Johan Hedberg |
13 years ago |
2 files, +0, -6 |
| ff68db77 |
core: Access device struct internals directly in device.c |
Johan Hedberg |
13 years ago |
1 file, +6, -6 |
| 6dada324 |
core: Remove unused textfile_caseget function |
Johan Hedberg |
13 years ago |
2 files, +0, -6 |
| fb43ba30 |
network: Remove unused bnep_kill_all_connections function |
Johan Hedberg |
13 years ago |
2 files, +0, -29 |
| 41b9a011 |
network: Remove unused bnep_service_id function |
Johan Hedberg |
13 years ago |
2 files, +0, -26 |
| 8b1c207d |
obexd: Remove unused D-Bus helper functions |
Johan Hedberg |
13 years ago |
2 files, +0, -100 |
| fb4c8306 |
obexd: Remove unused obex_server_find_driver function |
Johan Hedberg |
13 years ago |
2 files, +0, -18 |
| 96af7b65 |
core: Add serialization for removing UUIDs through mgmt
This is needed to avoid potential "busy" errors from the kernel. Adding
UUIDs already uses the same mechanism. |
Johan Hedberg |
13 years ago |
1 file, +36, -2 |
| 50383bf5 |
test: Fix obexd object path in test scripts |
Johan Hedberg |
13 years ago |
8 files, +19, -13 |
| 367289f3 |
core: Remove reference to old "mgmtops" name |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| 94932cb1 |
core: Remove bogus DBG()
mgmt_set_name() already prints the same information, and message still
refers to mgmtops. |
Anderson Lizardo |
13 years ago |
1 file, +0, -2 |
| 9fef5b84 |
core: Fix trying to store NULL adapter->name
When BlueZ starts without a main.conf, adapter->name will be initially
NULL, until adapter_name_changed() is called and name is set to "BlueZ".
Before this, store_adapter_info() will try to access a NULL pointer.
Fixes this GLib error:
(bluetoothd:1721): GLib-CRITICAL **: g_key_file_set_string: assertion
`string != NULL' failed |
Anderson Lizardo |
13 years ago |
1 file, +3, -1 |
| d4528706 |
build: Add systemd integration for obexd |
Marcel Holtmann |
13 years ago |
4 files, +26, -1 |
| c5a7b6ca |
build: Fix typo with D-Bus system service directory check |
Marcel Holtmann |
13 years ago |
1 file, +1, -1 |
| 2d9190d3 |
build: Check for D-Bus session services directory |
Marcel Holtmann |
13 years ago |
1 file, +13, -0 |