- Sep 04, 2015
-
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
- Sep 03, 2015
-
-
Luiz Augusto von Dentz authored
test-gatt-profile can be used to register a GATT based profile using GattManager1 interface.
-
Luiz Augusto von Dentz authored
This cleanup code related to service probe making it use a single function, because of that now all driver must implement device_probe in order for the service probe to work properly. In addition to that a new flag called external was introduced to btd_profile to be possible to distinguish whether it is a internal plugin or external client, this was needed in order to decide if an attribute should be claimed which whould prevent it to be exported over D-Bus.
-
- Sep 02, 2015
-
-
Luiz Augusto von Dentz authored
This gives the local player an id so when respoding to GetFolderItem they are distinguishable.
-
Bharat Panda authored
Support added to handle Get Folder Items browsing PDU for media player scope in TG role. e.g. AVCTP Browsing: Response: type 0x00 label 0 PID 0x110e AVRCP: GetFolderItems: len 0x0030 Status: 0x04 (Success) UIDCounter: 0x0000 (0) NumOfItems: 0x0001 (1) Item: 0x01 (Media Player) Length: 0x0028 (40) PlayerID: 0x0000 (0) PlayerType: 0x0001 (Audio) PlayerSubType: 0x00000001 (Audio Book) PlayStatus: 0x01 (PLAYING) Features: 0x0000000000000007FFF0007000000000 CharsetID: 0x006a (UTF-8) NameLength: 0x000c (12) Name: SimplePlayer
-
Luiz Augusto von Dentz authored
Profiles registered via org.bluez.GattManager1.RegisterProfile shall properly register a driver and cause the device to be marked to auto connect if the device supports the UUID given.
-
Luiz Augusto von Dentz authored
If bt_crypt_new fails or ext_signed should disable any signing operation but currently only incoming operations were being ignored and only if ext_signed is set which ignores the fact that bt_crypt_new can still fail if the necessary kernel modules are not available.
-
Luiz Augusto von Dentz authored
-
Luiz Augusto von Dentz authored
To list the available player GetFolderItems with scope 0x00 is used but the code currently don't set the range which means only the first player is returned.
-
Jonas Holmberg authored
%h and %d are no longer supported.
-
- Sep 01, 2015
- Aug 31, 2015
-
-
Bharat Panda authored
Add support to player name mapping it to Identity property from MPRIS.
-
- Aug 29, 2015
-
-
Mariusz Skamra authored
-
- Aug 28, 2015
-
-
Luiz Augusto von Dentz authored
memset only takes the first byte so it obviously cannot be used as memcpy.
-
Hsin-Yu Chao authored
The boolean pointer passed in to config_cb could be NULL in media_endpoint_cancel(). In that case we should not derefence it but pass FALSE instead to indicate error. Below is the core dump to demonstrate the crash: config_cb (endpoint=0xb814ff40, ret=0x0, size=-1, user_data=0xb8157758) at profiles/audio/media.c:537 0xb6eb7ba4 in media_endpoint_cancel (request=0xb815b4d0) at profiles/audio/media.c:141 0xb6eb7c98 in media_endpoint_cancel_all (endpoint=0xb814ff40) at profiles/audio/media.c:149 clear_endpoint (endpoint=endpoint@entry=0xb814ff40) at profiles/audio/media.c:250 0xb6eb7e74 in endpoint_reply (call=<optimized out>, user_data=0xb815b4d0) at profiles/audio/media.c:277 0xb6d50336 in ?? () from /usr/lib/libdbus-1.so.3
-
Luiz Augusto von Dentz authored
This frees settings list after used otherwise it leaks as follow: 48 (24 direct, 24 indirect) bytes in 1 blocks are definitely lost in loss record 152 of 239 at 0x4C28C50: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4E84679: g_malloc (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E9BCD2: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7A6E5: g_list_prepend (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E6E44B: g_hash_table_get_keys (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x426D5A: list_settings (media.c:1003) by 0x4336B4: player_list_settings (avrcp.c:1390) by 0x4336B4: avrcp_handle_register_notification (avrcp.c:1514) by 0x436711: handle_vendordep_pdu (avrcp.c:1827) by 0x42EB6F: session_cb (avctp.c:1025) by 0x4E7EA89: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7EE1F: ??? (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7F141: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.4400.1)
-
Luiz Augusto von Dentz authored
1.4 is deprecated and 1.5 should be used instead.
-
Luiz Augusto von Dentz authored
When registering AVRCP_EVENT_ADDRESSED_PLAYER_CHANGED there may not be any player available causing a crash.
-
Luiz Augusto von Dentz authored
Player pointer cannot be used after being freed.
-
- Aug 27, 2015
-
-
Will Wang authored
Add definition of HFP WBS Command notification
-
- Aug 26, 2015
-
-
Gowtham Anandha Babu authored
PTS issues got resolved after updating the ETS file attached in https://www.bluetooth.org/pts/issues/view_issue.cfm?id=13842, which will be updated in next PTS release.
-
Luiz Augusto von Dentz authored
This add a call to VALGRIND_DO_ADDED_LEAK_CHECK at the end of each test.
-
Luiz Augusto von Dentz authored
This check if valgrind tool is available adding it to be run with make check.
-
Luiz Augusto von Dentz authored
The following memory leak is causes if not all interfaces are freed once closing the connecting: 7,738 (232 direct, 7,506 indirect) bytes in 1 blocks are definitely lost in loss record 302 of 302 at 0x4C2A9C7: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x519517F: ??? (in /usr/lib64/libdbus-1.so.3.8.13) by 0x519EF8E: ??? (in /usr/lib64/libdbus-1.so.3.8.13) by 0x519F462: ??? (in /usr/lib64/libdbus-1.so.3.8.13) by 0x5193419: ??? (in /usr/lib64/libdbus-1.so.3.8.13) by 0x517E6AE: ??? (in /usr/lib64/libdbus-1.so.3.8.13) by 0x517A06B: ??? (in /usr/lib64/libdbus-1.so.3.8.13) by 0x4076B9: g_dbus_setup_private (mainloop.c:314) by 0x404B8C: client_force_disconnect (test-gdbus-client.c:882) by 0x410B52: run_callback (tester.c:417) by 0x4E7EA89: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7EE1F: ??? (in /usr/lib64/libglib-2.0.so.0.4400.1)
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
- Aug 20, 2015
-
-
Bharat Panda authored
Replaced field names for GetFolderItems response with correct names, values and fix allignments. AVCTP Browsing: Response: type 0x00 label 0 PID 0x110e AVRCP: GetFolderItems: len 0x0030 Status: 0x04 (Success) UIDCounter: 0x0000 (0) NumOfItems: 0x0001 (1) Item: 0x01 (Media Player) Length: 0x0028 (40) PlayerID: 0x0000 (0) PlayerType: 0x0001 (Audio) PlayerSubType: 0x00000001 (Audio Book) PlayStatus: 0x01 (PLAYING) Features: 0x0000000000b701ef0200000000000000 CharsetID: 0x006a (UTF-8) NameLength: 0x000c (12) Name: SimplePlayer
-
- Aug 18, 2015
-
-
Bharat Panda authored
Support added to handle Set Addressed Player PDU in TG role. Send EVENT_ADDRESSED_PLAYER_CHANGED on SetAddressedPlayer SUCCESS and follow procedure to reject all player specific events currently registered with the player. Channel: 64 len 15 [PSM 23 mode 0] {chan 0} AVCTP Control: Command: type 0x00 label 0 PID 0x110e AV/C: Control: address 0x48 opcode 0x00 Subunit: Panel Opcode: Vendor Dependent Company ID: 0x001958 AVRCP: SetAddressedPlayer pt Single len 0x0002 PlayerID: 0x0000 (0) Channel: 64 len 15 [PSM 23 mode 0] {chan 0} AVCTP Control: Response: type 0x00 label 0 PID 0x110e AV/C: Accepted: address 0x48 opcode 0x00 Subunit: Panel Opcode: Vendor Dependent Company ID: 0x001958 AVRCP: SetAddressedPlayer pt Single len 0x0002 Status: 0x04 (Success) Channel: 64 len 18 [PSM 23 mode 0] {chan 0} AVCTP Control: Response: type 0x00 label 0 PID 0x110e AV/C: Changed: address 0x48 opcode 0x00 Subunit: Panel Opcode: Vendor Dependent Company ID: 0x001958 AVRCP: RegisterNotification pt Single len 0x0005 EventID: 0x0b (EVENT_ADDRESSED_PLAYER_CHANGED) PlayerID: 0x0000 (0) UIDCounter: 0x0000 (0)
-
- Aug 14, 2015
-
-
Luiz Augusto von Dentz authored
When profile .disconnect is called the state of the service is already set to disconnecting this is make no sense to call btd_service_connect_complete as it will do nothing and the state will never be updated to disconnected as it should.
-
Luiz Augusto von Dentz authored
Ever since discovery can be canceled connect_id is now set while discovering so it needs to be reset on the callback otherwise it will cause .connect to always return -EBUSY until .disconnect is called.
-
Johan Hedberg authored
The values are passed by the only caller in min, max order, which makes sense since that's how they are over HCI as well. Update the function to match this.
-
- Aug 13, 2015
-
-
Gowtham Anandha Babu authored
Removed generic ATT protocol error codes and added Common Profile and Service Error Codes.
-
Luiz Augusto von Dentz authored
-
Luiz Augusto von Dentz authored
-
Luiz Augusto von Dentz authored
strcat will attempt to append the 2 strings but it assumes the destination is big enough to hold the result.
-