| cd3f4389 |
AVCTP: Add destroy callback to avctp_register_browsing_pdu_handler
This adds a destroy callback which is called when the PDU handler is
destroyed. |
Luiz Augusto von Dentz |
13 years ago |
3 files, +51, -17 |
| 53d3fc3f |
AVCTP: Fix not destroying browsing channel if disconnected
If the browsing channel is disconnected it should be destroyed
immediatelly and set to NULL otherwise it will point to invalid channel. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +4, -0 |
| 958a00e7 |
AVRCP: Fix not handling commands while browsing is connecting
With introdution of browsing channel the .init callback is called when
browsing channel connection completes, but in the meantime the remote
device can send commands over control channel.
To fix this the init callaback of control and browsing channel are now
separated into .init_control and .init_browsing so the handler can be
register as soon the respective channel connection completes. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +42, -31 |
| 546622fd |
tools: Add mixed UUIDs test case for mgmt_add_uuid |
Johan Hedberg |
13 years ago |
1 file, +77, -0 |
| ed9ee7da |
core: Allow adding all kinds of UUID for mgmt >= 1.3
Before 1.3 the kernel wouldn't handle 32 and 128 bit UUIDs properly but
from that revision onwards any type of UUID can be safely added and
removed through mgmt. |
Johan Hedberg |
13 years ago |
1 file, +4, -0 |
| 8ad1f97f |
core: Add convenience macro for comparing mgmt versions |
Johan Hedberg |
13 years ago |
1 file, +2, -0 |
| a6bbc761 |
emulator: Fix LE Read White List Size response variable naming |
Johan Hedberg |
13 years ago |
1 file, +4, -4 |
| fbd74946 |
unit: Add extracted UUID string list to each test case |
Marcel Holtmann |
13 years ago |
1 file, +106, -0 |
| 95534378 |
unit: Compare UUID list from EIR data |
Marcel Holtmann |
13 years ago |
1 file, +15, -1 |
| d00eeba3 |
unit: Print UUID list from EIR parsing in verbose mode |
Marcel Holtmann |
13 years ago |
1 file, +7, -0 |
| 1939c1f2 |
unit: Add inquiry data from Nokia Reaction BH-907 headset for testing |
Marcel Holtmann |
13 years ago |
1 file, +43, -0 |
| 45e206e8 |
unit: Include tests for TX power from EIR and AD |
Marcel Holtmann |
13 years ago |
1 file, +18, -3 |
| a2dc0a4d |
core: Parse the TX power level from EIR data |
Marcel Holtmann |
13 years ago |
2 files, +8, -0 |
| bd416e95 |
avctp: Handle Vol Up/Down operations
The AVRCP spec mandates to support 'volume up' and 'volume down'
operations when claiming support for Category 2 TG. |
João Paulo Rechi Vita |
13 years ago |
1 file, +2, -0 |
| c491db26 |
emulator: Add support for LE Read White List Size command |
Johan Hedberg |
13 years ago |
1 file, +6, -0 |
| 9551f312 |
tools: Add mgmt_set_le test cases |
Johan Hedberg |
13 years ago |
1 file, +114, -0 |
| ea9dcf75 |
tools: Add mgmt_set_ssp test cases |
Johan Hedberg |
13 years ago |
1 file, +114, -0 |
| 65860304 |
tools: Rename setup_ssp to match its true function |
Johan Hedberg |
13 years ago |
1 file, +5, -5 |
| dcfedc3d |
tools: Add another mgmt_set_link_security success test case |
Johan Hedberg |
13 years ago |
1 file, +16, -0 |
| 4f514c02 |
tools: Add basic mgmt_set_link_security(off) test cases |
Johan Hedberg |
13 years ago |
1 file, +76, -0 |
| 64e3b99d |
tools: Fix mgmt-tester setup function logs |
Johan Hedberg |
13 years ago |
1 file, +3, -3 |
| 9ba5514c |
tools: Add basic set connectable off test cases |
Johan Hedberg |
13 years ago |
1 file, +51, -0 |
| a4ad707f |
tools: Add invalid params test cases for mgmt_set_powered(off) |
Johan Hedberg |
13 years ago |
1 file, +28, -0 |
| 18dbb638 |
tools: Add mgmt_read_version success test case |
Johan Hedberg |
13 years ago |
1 file, +9, -0 |
| 20160ae6 |
adapter: Fix not removing a device when the adapter is down
It is a documented error that MGMT_UNPAIR_DEVICE should return an error
if the controller is not powered.
This error is being ignored, and if the user asks for a device to be
removed while the controller is powered down, the keys associated with
that device will still be in the kernel side.
The solution is to return the user an error when it is asked to remove a
device and the controller is not powered. |
Vinicius Costa Gomes |
13 years ago |
1 file, +3, -0 |
| fe9acb5b |
core: Increase pairing timeout to 2 minutes
The agent callbacks have a timeout of 1 minute which would never be
triggered if we have a shorter timeout for the entire pairing process. |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| 52659e10 |
core: Add reasoning for mgmt_pair_device timeout |
Johan Hedberg |
13 years ago |
1 file, +5, -0 |
| 9f887aed |
core: Add reasoning for ATT connection during paring |
Johan Hedberg |
13 years ago |
1 file, +5, -0 |
| 985d3e8d |
core: Implement Device1.Connect() support for LE devices |
Johan Hedberg |
13 years ago |
1 file, +34, -2 |
| 8ac578b3 |
tools: Fix format string warnings for g_dbus_create_error
This patch fixes gcc warnings for "format not a string literal and no
format arguments". |
Chan-yeol Park |
13 years ago |
1 file, +1, -1 |
| 22f1178a |
core: Connect ATT IO before pairing
Due to kernel-side issues we might miss ATT commands which arrive during
the SMP procedure. Therefore, connect ATT first and only then attempt to
pair. |
Johan Hedberg |
13 years ago |
1 file, +6, -2 |
| 74595b14 |
core: Make device_connect LE return int instead of GIOChannel
The IO channel doesn't need external tracking so just return a simple
int instead. |
Johan Hedberg |
13 years ago |
2 files, +6, -6 |
| 065bcf4b |
test: Use a 60-second timeout for pairing |
Johan Hedberg |
13 years ago |
1 file, +2, -1 |
| cdc49379 |
core: Fix pairing LE devices
This patch removes the connect list usage for LE device pairing and
instead goes ahead and calls mgmt_pair_device directly. Because this can
get stuck forever with kernels that do not have proper timeout handling
for mgmt_pair_device the patch also adds a timeout to call
mgmt_cancel_pair_device if nothing happens within one minute. |
Johan Hedberg |
13 years ago |
2 files, +48, -14 |
| 650c2191 |
health: Update to new adapter_get_device API |
Johan Hedberg |
13 years ago |
1 file, +1, -3 |
| c376ba31 |
audio: Update to new adapter_get_device API |
Johan Hedberg |
13 years ago |
2 files, +4, -3 |
| 7cd4d622 |
neard: Update to new adapter_get_device API |
Johan Hedberg |
13 years ago |
1 file, +2, -2 |
| e7b6200f |
core: Use bdaddr_t instead of char * for device creation |
Johan Hedberg |
13 years ago |
6 files, +44, -50 |
| d2e46966 |
tools: Fix glib assert in mgmt-tester if hci_vhci module is not loaded
Print descriptive warning on HCI emulation setup failure and fail test
gracefully. This is better comparing to glib assertion when not fully
initialized HCI emulation is being unreferenced. |
Szymon Janc |
13 years ago |
2 files, +26, -9 |
| 9ef2dbde |
tools: Emit Seeked signal if Position changes
MPRIS spec says PropertiesChanged is not emitted for Position, which is
probably to make clear that progress is done using the rate, so instead
Seeked should be emitted. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +14, -0 |
| 0c5ce355 |
tools: Add volume support for mpris-player
This uses MediaTransport1 to track the Volume changes. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +178, -9 |
| 86c285aa |
tools: Make mpris-player to export org.mpris.MediaPlayer2
This adds support for org.mpris.MediaPlayer2 interface whic is also
mandatory accourding to MPRIS spec. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +46, -0 |
| ae78f718 |
tools: Convert player's properties changed signals to MPRIS
Thsi convert properties changed signals from org.bluez.MediaPlayer1 to
org.mpris.MediaPlayer2.Player interface. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +41, -1 |
| 7082cf87 |
tools: Add support for setting Shuffle and LoopStatus to mpris-player
This add write support for Shuffle and LoopStatus properties of
org.mpris.MediaPlayer2.Player interface. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +78, -2 |
| e270140a |
tools: Make mpris-player to export players using MPRIS interface
Players found are exported in private connections using
org.mpris.MediaPlayer2.<device name> on the session bus. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +623, -21 |
| 6bd6433c |
device: Rename device_att_connect to device_connect_le
This makes it clearer that this (currently unused) function should
only be used with LE devices. |
Vinicius Costa Gomes |
13 years ago |
2 files, +2, -2 |
| eebead74 |
device: Clean up device_att_connect()
device_att_connect() is used to make an ATT connection to an LE device.
We clean it (and its associated callback) to have better error handling
and to respond the user with an error when it happens.
As it is only used for LE devices, we remove all the handling for non-LE
devices. |
Vinicius Costa Gomes |
13 years ago |
2 files, +41, -55 |
| 5cab6860 |
device: Fix memory leak while storing GATT capable devices
bt_uuid2string() returns a newly allocated string, and so it should
be free'd. |
Vinicius Costa Gomes |
13 years ago |
1 file, +3, -0 |
| bebc2867 |
unit: Add inquiry data from Gigaset SL400H and SL910 for teseting |
Marcel Holtmann |
13 years ago |
1 file, +84, -0 |
| cb6bd97c |
tools: Add partial UUID-128 test case to mgmt-tester |
Johan Hedberg |
13 years ago |
1 file, +72, -0 |