| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
This renames device_get_path to btd_device_get_path so external plugin
can use of it as well.
|
|
|
|
|
| |
This make use of service auto_connect flag to determine if the service
should be included in the list to be connected.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This adds btd_service_get_version which can be use to query service
version.
Conflicts:
src/service.c
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add initial code that creates service objects data.
|
|
|
|
| |
This plugin will be used to control services individually.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This patch adds tools/parse_companies.pl, a twisted Perl script that
parses the SIG's HTML page in poor taste using regex. Improvements also
include support for non-ASCII entities such as é as well as full
unicode support for Chinese names.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Members of data are allocated memory but not freed only data is freed
|
|
|
|
| |
This patch fixes the keyError while printing transfer progress.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The convention has been to use 128 Bits UUID strings so other types must
be converted first.
|
|
|
|
|
| |
gatt_cache_used shall be set only when db was populated after the first
connection and shall not be affected by storage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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 ..
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
< 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 ..
|
| |
|
|
|
|
|
|
|
|
|
|
| |
> 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
|
|
|
|
|
|
|
|
|
|
| |
< 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
|
|
|
|
|
|
|
|
|
|
| |
< 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
|
|
|
|
|
|
|
|
|
|
| |
< 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
|
|
|
|
|
|
|
|
|
|
| |
< 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
|