Commits

Commit Message Author Age Changes
e002e80f tools: Add support for MGMT_DEBUG environment variable Marcel Holtmann 10 years ago 1 file, +10, -0
1b9e48f4 tools/btattach: install during "make install" btattach provides access to some line disciplines that are supported by hciattach, so allow it to be installed and not reserved for developer use. For now it is still considered an experimental feature. John Keeping 10 years ago 1 file, +7, -1
d97d0e02 tools/btattach: add manual page John Keeping 10 years ago 1 file, +53, -0
2d65ef1d gdbus: Move typedefs for interwork with strict compilers Move enumeration type defintions AFTER the enumerations themselves are declared and defined such that the header works with strict compilers. This occurs when building a plugin, compiled with C++, and occurs on all of: arm-none-linux-gnueabi-g++ (Sourcery G++ Lite 2010q1-202) 4.4.1 arm-poky-linux-gnueabi-g++ (GCC) 4.8.2 g++ (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 Grant Erickson 10 years ago 1 file, +6, -6
adc0103a gdbus: Fix Memory Leak Members of data are allocated memory but not freed only data is freed Saurav Babu 10 years ago 1 file, +25, -25
fb5d75e1 test: Fix ftp-client not printing progress This patch fixes the keyError while printing transfer progress. Gowtham Anandha Babu 10 years ago 1 file, +5, -3
80cb86b2 gdbus: Drop message replies if the sender requested no reply If the sender flags a D-Bus message as not expecting a reply, it is against system bus policy to send a reply — sending one will result in errors being sent to us by dbus-daemon. Magically drop all replies to messages which request no reply. ofonod is one process which sends BlueZ messages which request no reply, when it is setting up a hands-free agent. This is not a complete fix. In an ideal world, the existing check for G_DBUS_METHOD_FLAG_NOREPLY would be dropped, as the server should be prepared to return a reply to every method, if the client requests and expects one — otherwise the client will time out. However, that’s a much bigger change with a much bigger risk of breaking things, so I’ll stick with this for now. Philip Withnall 10 years ago 1 file, +2, -1
1f2e03bc unit/test-uuid: Fix using strcmp It is no longer guaranteed the string will match since bt_uuid_to_string now always uses 128 Bits format to be consistent with the format used over D-Bus. Luiz Augusto von Dentz 10 years ago 1 file, +2, -2
0a4ac850 lib/uuid: Make bt_uuid_to_string always use the same format The convention has been to use 128 Bits UUID strings so other types must be converted first. Luiz Augusto von Dentz 10 years ago 1 file, +22, -33
4064a3e9 core/device: Fix not emitting GattServices gatt_cache_used shall be set only when db was populated after the first connection and shall not be affected by storage. Luiz Augusto von Dentz 10 years ago 1 file, +3, -3
95049a18 HACKING: Add suppression file in valgrind cmd Without --suppressions=./tools/valgrind.supp in valgrind cmd, bluetoothd throws following error: ==1237== Syscall param socketcall.bind(my_addr.rc_bdaddr) points to uninitialised byte(s) ==1237== at 0x588B227: bind (syscall-template.S:81) ==1237== by 0x451545: logging_open (log.c:76) ==1237== by 0x451545: __btd_log_init (log.c:314) ==1237== by 0x40B035: main (main.c:610) ==1237== Address 0xfff0003b6 is on thread 1's stack ==1237== in frame #1, created by __btd_log_init (log.c:306) ==1237== Uninitialised value was created by a stack allocation ==1237== at 0x451490: __btd_log_init (log.c:306) ==1237== ==1237== Syscall param socketcall.bind(my_addr.rc_channel) points to uninitialised byte(s) ==1237== at 0x588B227: bind (syscall-template.S:81) ==1237== by 0x451545: logging_open (log.c:76) ==1237== by 0x451545: __btd_log_init (log.c:314) ==1237== by 0x40B035: main (main.c:610) ==1237== Address 0xfff0003b8 is on thread 1's stack ==1237== in frame #1, created by __btd_log_init (log.c:306) ==1237== Uninitialised value was created by a stack allocation ==1237== at 0x451490: __btd_log_init (log.c:306) Gowtham Anandha Babu 10 years ago 1 file, +3, -2
cd1a1580 monitor/a2dp: Decode LDAC capabilities > ACL Data RX: Handle 12 flags 0x02 dlen 24 Channel: 67 len 20 [PSM 25 mode 0] {chan 1} AVDTP: Get Capabilities (0x02) Response Accept (0x02) type 0x00 label 2 nosp 0 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) Media Type: Audio (0x00) Media Codec: Non-A2DP (0xff) Vendor ID: Sony Corporation (0x0000012d) Vendor Specific Codec ID: LDAC (0x00aa) Unknown: 0x073c Service Category: Content Protection (0x04) Content Protection Type: SCMS-T (0x0002) < ACL Data TX: Handle 12 flags 0x02 dlen 26 Channel: 2753 len 22 [PSM 25 mode 0] {chan 1} AVDTP: Set Configuration (0x03) Command (0x00) type 0x00 label 5 nosp 0 ACP SEID: 5 INT SEID: 3 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) Media Type: Audio (0x00) Media Codec: Non-A2DP (0xff) Vendor ID: Sony Corporation (0x0000012d) Vendor Specific Codec ID: LDAC (0x00aa0 Unknown: 0x0104 Service Category: Content Protection (0x04) Content Protection Type: SCMS-T (0x0002) Andrzej Kaczmarek 10 years ago 1 file, +22, -2
0a144cfb monitor/a2dp: Decode aptX capabilities > ACL Data RX: Handle 5 flags 0x02 dlen 23 Channel: 65 len 19 [PSM 25 mode 0] {chan 1} AVDTP: Get Capabilities (0x02) Response Accept (0x02) type 0x00 label 12 nosp 0 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) Media Type: Audio (0x00) Media Codec: Non-A2DP (0xff) Vendor ID: APT Licensing Ltd. (0x0000004f) Vendor Specific Codec ID: aptX (0x0001) Frequency: 0x30 44100 48000 Channel Mode: 0x02 Stereo Service Category: Content Protection (0x04) Content Protection Type: SCMS-T (0x0002) < ACL Data TX: Handle 5 flags 0x00 dlen 21 Channel: 193 len 17 [PSM 25 mode 0] {chan 1} AVDTP: Set Configuration (0x03) Command (0x00) type 0x00 label 14 nosp 0 ACP SEID: 3 INT SEID: 1 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) Media Type: Audio (0x00) Media Codec: Non-A2DP (0xff) Vendor ID: APT Licensing Ltd. (0x0000004f) Vendor Specific Codec ID: aptX (0x0001) Frequency: 48000 (0x10) Channel Mode: Stereo (0x02) Andrzej Kaczmarek 10 years ago 1 file, +127, -0
3b41eac2 monitor/a2dp: Decode AAC capabilities > ACL Data RX: Handle 12 flags 0x02 dlen 22 4.565591 Channel: 67 len 18 [PSM 25 mode 0] {chan 1} AVDTP: Get Capabilities (0x02) Response Accept (0x02) type 0x00 label 4 nosp 0 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) Media Type: Audio (0x00) Media Codec: MPEG-2,4 AAC (0x02) Object Type: 0xc0 MPEG-2 AAC LC MPEG-4 AAC LC Frequency: 0x180 44100 48000 Channels: 0x0c 1 2 Bitrate: 320000bps VBR: Yes Service Category: Content Protection (0x04) Content Protection Type: SCMS-T (0x0002) Andrzej Kaczmarek 10 years ago 1 file, +124, -0
78c05d2a monitor/a2dp: Decode MPEG-1,2 capabilities Andrzej Kaczmarek 10 years ago 1 file, +150, -0
be310fa8 monitor/a2dp: Decode SBC capabilities > ACL Data RX: Handle 256 flags 0x02 dlen 20 [hci0] 9.242155 Channel: 66 len 16 [PSM 25 mode 0] {chan 2} AVDTP: Get Capabilities (0x02) Response Accept (0x02) type 0x00 label 1 nosp 0 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) Media Type: Audio (0x00) Media Codec: SBC (0x00) Frequency: 0x30 44100 48000 Channel Mode: 0x0f Mono Dual Channel Stereo Joint Channel Block Length: 0xf0 4 8 12 16 Subbands: 0x0c 4 8 Allocation Method: 0x03 SNR Loudness Minimum Bitpool: 2 Maximum Bitpool: 53 Service Category: Content Protection (0x04) Content Protection Type: SCMS-T (0x0002) < ACL Data TX: Handle 256 flags 0x00 dlen 18 [hci0] 9.272120 Channel: 258 len 14 [PSM 25 mode 0] {chan 2} AVDTP: Set Configuration (0x03) Command (0x00) type 0x00 label 5 nosp 0 ACP SEID: 1 INT SEID: 3 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) Media Type: Audio (0x00) Media Codec: SBC (0x00) Frequency: 44100 (0x20) Channel Mode: Joint Channel (0x01) Block Length: 16 (0x10) Subbands: 8 (0x04) Allocation Method: Loudness (0x01) Minimum Bitpool: 2 Maximum Bitpool: 53 Andrzej Kaczmarek 10 years ago 5 files, +257, -6
43194170 monitor/avdtp: Decode basic Content Protection capabilities > ACL Data RX: Handle 256 flags 0x02 dlen 20 Channel: 66 len 16 [PSM 25 mode 0] {chan 2} AVDTP: Get Capabilities (0x02) Response Accept (0x02) type 0x00 label 1 nosp 0 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) Media Type: Audio (0x00) Media Codec: SBC (0x00) 3f ff 02 35 ?..5 Service Category: Content Protection (0x04) Content Protection Type: SCMS-T (0x0002) Andrzej Kaczmarek 10 years ago 1 file, +41, -1
8e36432f monitor/avdtp: Decode basic Media Codec capabilities > ACL Data RX: Handle 256 flags 0x02 dlen 20 Channel: 66 len 16 [PSM 25 mode 0] {chan 2} AVDTP: Get Capabilities (0x02) Response Accept (0x02) type 0x00 label 1 nosp 0 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) Media Type: Audio (0x00) Media Codec: SBC (0x00) 3f ff 02 35 ?..5 Service Category: Content Protection (0x04) 02 00 .. Andrzej Kaczmarek 10 years ago 1 file, +62, -4
3b053683 monitor/avdtp: Decode AVDTP_DELAYREPORT Andrzej Kaczmarek 10 years ago 1 file, +31, -0
59c7398a monitor/avdtp: Decode AVDTP_GET_ALL_CAPABILITIES < ACL Data TX: Handle 256 flags 0x00 dlen 7 Channel: 832 len 3 [PSM 25 mode 0] {chan 0} AVDTP: Get All Capabilities (0x0c) Command (0x00) type 0x00 label 1 nosp 0 ACP SEID: 1 > ACL Data RX: Handle 256 flags 0x02 dlen 20 Channel: 64 len 16 [PSM 25 mode 0] {chan 0} AVDTP: Get All Capabilities (0x0c) Response Accept (0x02) type 0x00 label 1 nosp 0 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) 00 00 3f ff 02 35 ..?..5 Service Category: Content Protection (0x04) 02 00 .. Andrzej Kaczmarek 10 years ago 1 file, +1, -0
5fe0da75 monitor/avdtp: Decode AVDTP_SECURITY_CONTROL Andrzej Kaczmarek 10 years ago 1 file, +29, -0
a71753eb monitor/avdtp: Decode AVDTP_ABORT > ACL Data RX: Handle 256 flags 0x02 dlen 7 Channel: 66 len 3 [PSM 25 mode 0] {chan 2} AVDTP: Abort (0x0a) Command (0x00) type 0x00 label 3 nosp 0 ACP SEID: 3 < ACL Data TX: Handle 256 flags 0x00 dlen 6 Channel: 258 len 2 [PSM 25 mode 0] {chan 2} AVDTP: Abort (0x0a) Response Accept (0x02) type 0x00 label 3 nosp 0 Andrzej Kaczmarek 10 years ago 1 file, +23, -0
c86793ce monitor/avdtp: Decode AVDTP_SUSPEND < ACL Data TX: Handle 256 flags 0x00 dlen 7 Channel: 258 len 3 [PSM 25 mode 0] {chan 2} AVDTP: Suspend (0x09) Command (0x00) type 0x00 label 8 nosp 0 ACP SEID: 1 > ACL Data RX: Handle 256 flags 0x02 dlen 6 Channel: 66 len 2 [PSM 25 mode 0] {chan 2} AVDTP: Suspend (0x09) Response Accept (0x02) type 0x00 label 8 nosp 0 Andrzej Kaczmarek 10 years ago 1 file, +33, -0
89eedbfd monitor/avdtp: Decode AVDTP_CLOSE < ACL Data TX: Handle 12 flags 0x02 dlen 7 Channel: 2753 len 3 [PSM 25 mode 0] {chan 1} AVDTP: Close (0x08) Command (0x00) type 0x00 label 8 nosp 0 ACP SEID: 5 > ACL Data RX: Handle 12 flags 0x02 dlen 6 Channel: 67 len 2 [PSM 25 mode 0] {chan 1} AVDTP: Close (0x08) Response Accept (0x02) type 0x00 label 8 nosp 0 Andrzej Kaczmarek 10 years ago 1 file, +25, -0
0c7b69cd monitor/avdtp: Decode AVDTP_START < ACL Data TX: Handle 256 flags 0x00 dlen 7 Channel: 258 len 3 [PSM 25 mode 0] {chan 2} AVDTP: Start (0x07) Command (0x00) type 0x00 label 7 nosp 0 ACP SEID: 1 > ACL Data RX: Handle 256 flags 0x02 dlen 6 Channel: 66 len 2 [PSM 25 mode 0] {chan 2} AVDTP: Start (0x07) Response Accept (0x02) type 0x00 label 7 nosp 0 Andrzej Kaczmarek 10 years ago 1 file, +33, -0
004c1800 monitor/avdtp: Decode AVDTP_OPEN < ACL Data TX: Handle 256 flags 0x00 dlen 7 Channel: 258 len 3 [PSM 25 mode 0] {chan 2} AVDTP: Open (0x06) Command (0x00) type 0x00 label 6 nosp 0 ACP SEID: 1 > ACL Data RX: Handle 256 flags 0x02 dlen 6 Channel: 66 len 2 [PSM 25 mode 0] {chan 2} AVDTP: Open (0x06) Response Accept (0x02) type 0x00 label 6 nosp 0 Andrzej Kaczmarek 10 years ago 1 file, +25, -0
ba977186 monitor/avdtp: Decode AVDTP_RECONFIGURE Andrzej Kaczmarek 10 years ago 1 file, +32, -0
d7dc361d monitor/avdtp: Decode AVDTP_GET_CONFIGURATION Andrzej Kaczmarek 10 years ago 1 file, +25, -0
9fecb9e6 monitor/avdtp: Decode AVDTP_SET_CONFIGURATION < ACL Data TX: Handle 256 flags 0x00 dlen 18 Channel: 258 len 14 [PSM 25 mode 0] {chan 2} AVDTP: Set Configuration (0x03) Command (0x00) type 0x00 label 5 nosp 0 ACP SEID: 1 INT SEID: 3 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) 00 00 21 15 02 35 ..!..5 > ACL Data RX: Handle 256 flags 0x02 dlen 6 Channel: 66 len 2 [PSM 25 mode 0] {chan 2} AVDTP: Set Configuration (0x03) Response Accept (0x02) type 0x00 label 5 nosp 0 Andrzej Kaczmarek 10 years ago 1 file, +37, -0
5b623317 monitor/avdtp: Decode AVDTP_GET_CAPABILITIES < ACL Data TX: Handle 256 flags 0x00 dlen 7 Channel: 258 len 3 [PSM 25 mode 0] {chan 2} AVDTP: Get Capabilities (0x02) Command (0x00) type 0x00 label 1 nosp 0 ACP SEID: 1 > ACL Data RX: Handle 256 flags 0x02 dlen 20 Channel: 66 len 16 [PSM 25 mode 0] {chan 2} AVDTP: Get Capabilities (0x02) Response Accept (0x02) type 0x00 label 1 nosp 0 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) 00 00 3f ff 02 35 ..?..5 Service Category: Content Protection (0x04) 02 00 .. Andrzej Kaczmarek 10 years ago 1 file, +85, -0
28f284bf monitor/avdtp: Decode AVDTP_DISCOVER < ACL Data TX: Handle 256 flags 0x00 dlen 6 Channel: 258 len 2 [PSM 25 mode 0] {chan 2} AVDTP: Discover (0x01) Command (0x00) type 0x00 label 0 nosp 0 > ACL Data RX: Handle 256 flags 0x02 dlen 14 Channel: 66 len 10 [PSM 25 mode 0] {chan 2} AVDTP: Discover (0x01) Response Accept (0x02) type 0x00 label 0 nosp 0 ACP SEID: 1 Media Type: Audio (0x00) SEP Type: SRC (0x01) In use: No ACP SEID: 5 Media Type: Audio (0x00) SEP Type: SRC (0x01) In use: No ACP SEID: 3 Media Type: Audio (0x00) SEP Type: SRC (0x01) In use: No ACP SEID: 2 Media Type: Audio (0x00) SEP Type: SRC (0x01) In use: No Andrzej Kaczmarek 10 years ago 1 file, +113, -1
4f25dba1 monitor/avdtp: Add basic decoding of AVDTP signalling < ACL Data TX: Handle 256 flags 0x00 dlen 6 Channel: 258 len 2 [PSM 25 mode 0] {chan 2} AVDTP: Discover (0x01) Command (0x00) type 0x00 label 0 nosp 0 > ACL Data RX: Handle 256 flags 0x02 dlen 14 Channel: 66 len 10 [PSM 25 mode 0] {chan 2} AVDTP: Discover (0x01) Response Accept (0x02) type 0x00 label 0 nosp 0 04 08 14 08 0c 08 08 08 ........ Andrzej Kaczmarek 10 years ago 5 files, +222, -0
64dffbe4 monitor/l2cap: Add channel sequence number This patch adds sequence number to channels structure which determines order in which channels for the same PSM were created. It will be used for protocols like AVDTP where there is single PSM used for multiple channels and order it which they were created is important. Andrzej Kaczmarek 10 years ago 2 files, +37, -17
cd64eb53 agent: Change default IO capability to KeyboardDisplay The intention of the DisplayYesNo default capability was originally to provide the richest possible option available. However with LE there is a new even more capable option, namely KeyboardDisplay. When applied to BR/EDR connections this gets implicitly downgraded to DisplayYesNo since KeyboardDisplay is LE-specific. Johan Hedberg 10 years ago 2 files, +2, -2
537c69f7 monitor: Fix possible crash on unknown LE Meta Event For unknown LE Meta Event subevent_data passed to print_subevent is NULL. This results in NULL pointer dereference when subeven code is printed. Fix that by making print_subevent expect always valid subevent_data and handle unknown event in caller. Szymon Janc 10 years ago 1 file, +14, -13
0e18e5e4 monitor: Fix use of uninitialized variable subevent code was never set in vendor_evt() resulting in printing random stack data as subevent opcode in print_subevent(). Szymon Janc 10 years ago 1 file, +1, -0
0c94e8d0 tools/mgmt-tester: Add power on testcase with adv and privacy This test verifies if kernel can properly enable advertising during power on with privacy also enabled. This requires to generate new RPA which will fail if not done after SMP is registered. As a consequence advertising is not enabled in controller which means it cannot be also disabled (controller will reject HCI command). Andrzej Kaczmarek 10 years ago 1 file, +27, -2
09be1b9b core: Fix replying with an error for connected profile If the profile(s) is already connected don't reply with an error, if the profile is in fact connecting already just wait until it completes. Luiz Augusto von Dentz 10 years ago 2 files, +7, -2
941ff116 tools: Add support for Get Advertising Size Information command Marcel Holtmann 10 years ago 1 file, +105, -0
745dcb2e lib: Add data structures for Get Advertising Size Information command Marcel Holtmann 10 years ago 1 file, +13, -0
7ca8db9c doc: Mention the management version 1.11 information Marcel Holtmann 10 years ago 1 file, +3, -0
404f0fb9 tools/mgmt-tester: Fix minor typo Johan Hedberg 10 years ago 1 file, +1, -1
5d59dae9 tools/mgmt-tester: Simplify command result log Johan Hedberg 10 years ago 1 file, +2, -3
d6fbf3d4 lib/mgmt: Update string tables Johan Hedberg 10 years ago 1 file, +6, -4
698c8066 tools/mgmt-tester: Take advantage of mgmt string helpers Johan Hedberg 10 years ago 1 file, +15, -10
431c44e5 build: Link mcaptest with -lrt profiles/health/mcap.c uses clock_gettime(3) so it needs to be linked with -lrt on some systems. John Keeping 10 years ago 1 file, +1, -1
9b2abb1f doc: Fix missing field for Get Advertising Size Information response Marcel Holtmann 10 years ago 1 file, +1, -0
29ba12aa monitor: Add missing Intel Startup event Marcel Holtmann 10 years ago 1 file, +6, -0
d2b56759 doc: Add description for Add Advertising Size Information command Marcel Holtmann 10 years ago 1 file, +40, -1
15adb43e AUTHORS: Update Szymon, Łukasz and Andrzej emails Szymon, Łukasz and Andrzej are now working for CODECOUP. Szymon Janc 10 years ago 1 file, +3, -3
Previous Next