summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* core/service: Add btd_service_is_blockedbaserock/pedroalvarez/5.37-17-g0879a80-v3baserock/5.37-19-g28fef24Luiz Augusto von Dentz2016-03-102-0/+6
|
* core/service: Add btd_service_set_blockedLuiz Augusto von Dentz2016-03-102-0/+8
|
* core: Make device_get_path publicLuiz Augusto von Dentz2016-03-1024-105/+110
| | | | | This renames device_get_path to btd_device_get_path so external plugin can use of it as well.
* core/device: Use service auto_connect flagLuiz Augusto von Dentz2016-03-101-3/+1
| | | | | This make use of service auto_connect flag to determine if the service should be included in the list to be connected.
* core/service: Add btd_service_get_auto_connectLuiz Augusto von Dentz2016-03-102-0/+6
|
* core/service: Add btd_service_set_auto_connectLuiz Augusto von Dentz2016-03-102-0/+9
|
* core/service: Add btd_service_get_versionLuiz Augusto von Dentz2016-03-102-0/+24
| | | | | | | | This adds btd_service_get_version which can be use to query service version. Conflicts: src/service.c
* Fix buildPedro Alvarez2016-03-091-0/+1
|
* plugins/service: Add Blocked propertyLuiz Augusto von Dentz2016-03-091-0/+34
|
* plugins/service: Add AutoConnect propertyLuiz Augusto von Dentz2016-03-091-0/+34
|
* plugins/service: Add Version propertyLuiz Augusto von Dentz2016-03-091-0/+21
|
* plugins/service: Add Device propertyLuiz Augusto von Dentz2016-03-091-0/+13
|
* plugins/service: Add implemention of .Disconnect methodLuiz Augusto von Dentz2016-03-091-1/+27
|
* plugins/service: Add implemention of .Connect methodLuiz Augusto von Dentz2016-03-091-1/+52
|
* plugins/service: Add LocalUUID propertyLuiz Augusto von Dentz2016-03-091-0/+22
|
* plugins/service: Add RemoteUUID propertyLuiz Augusto von Dentz2016-03-091-0/+21
|
* plugins/service: Add State propertyLuiz Augusto von Dentz2016-03-091-3/+46
|
* plugins/service: Add initial codeLuiz Augusto von Dentz2016-03-091-1/+131
| | | | Add initial code that creates service objects data.
* plugins: Add initial code for service pluginLuiz Augusto von Dentz2016-03-094-0/+57
| | | | This plugin will be used to control services individually.
* Release 5.375.37Marcel Holtmann2015-12-282-1/+10
|
* build: Update library versionMarcel Holtmann2015-12-271-1/+1
|
* lib: Update company identifiersMarcel Holtmann2015-12-271-3/+113
|
* tools: fix update_compids to parse newly formatted page from SIGMike Ryan2015-12-272-25/+69
| | | | | | | 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.
* monitor: Update list of GATT UUID informationMarcel Holtmann2015-12-271-0/+17
|
* tools: Add support for MGMT_DEBUG environment variableMarcel Holtmann2015-12-271-0/+10
|
* tools/btattach: install during "make install"John Keeping2015-12-101-1/+7
| | | | | | 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.
* tools/btattach: add manual pageJohn Keeping2015-12-101-0/+53
|
* gdbus: Move typedefs for interwork with strict compilersGrant Erickson2015-12-091-6/+6
| | | | | | | | | | | | 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
* gdbus: Fix Memory LeakSaurav Babu2015-12-041-25/+25
| | | | Members of data are allocated memory but not freed only data is freed
* test: Fix ftp-client not printing progressGowtham Anandha Babu2015-12-041-3/+5
| | | | This patch fixes the keyError while printing transfer progress.
* gdbus: Drop message replies if the sender requested no replyPhilip Withnall2015-12-041-1/+2
| | | | | | | | | | | | | | | | | | | | 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.
* unit/test-uuid: Fix using strcmpLuiz Augusto von Dentz2015-12-041-2/+2
| | | | | | 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.
* lib/uuid: Make bt_uuid_to_string always use the same formatLuiz Augusto von Dentz2015-12-021-33/+22
| | | | | The convention has been to use 128 Bits UUID strings so other types must be converted first.
* core/device: Fix not emitting GattServicesLuiz Augusto von Dentz2015-12-011-3/+3
| | | | | gatt_cache_used shall be set only when db was populated after the first connection and shall not be affected by storage.
* HACKING: Add suppression file in valgrind cmdGowtham Anandha Babu2015-12-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 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)
* monitor/a2dp: Decode LDAC capabilitiesAndrzej Kaczmarek2015-12-011-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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)
* monitor/a2dp: Decode aptX capabilitiesAndrzej Kaczmarek2015-12-011-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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)
* monitor/a2dp: Decode AAC capabilitiesAndrzej Kaczmarek2015-12-011-0/+124
| | | | | | | | | | | | | | | | | | | | | | | > 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)
* monitor/a2dp: Decode MPEG-1,2 capabilitiesAndrzej Kaczmarek2015-12-011-0/+150
|
* monitor/a2dp: Decode SBC capabilitiesAndrzej Kaczmarek2015-12-015-6/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* monitor/avdtp: Decode basic Content Protection capabilitiesAndrzej Kaczmarek2015-12-011-1/+41
| | | | | | | | | | | | | > 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)
* monitor/avdtp: Decode basic Media Codec capabilitiesAndrzej Kaczmarek2015-12-011-4/+62
| | | | | | | | | | | | | > 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 ..
* monitor/avdtp: Decode AVDTP_DELAYREPORTAndrzej Kaczmarek2015-12-011-0/+31
|
* monitor/avdtp: Decode AVDTP_GET_ALL_CAPABILITIESAndrzej Kaczmarek2015-12-011-0/+1
| | | | | | | | | | | | | | | < 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 ..
* monitor/avdtp: Decode AVDTP_SECURITY_CONTROLAndrzej Kaczmarek2015-12-011-0/+29
|
* monitor/avdtp: Decode AVDTP_ABORTAndrzej Kaczmarek2015-12-011-0/+23
| | | | | | | | | | > 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
* monitor/avdtp: Decode AVDTP_SUSPENDAndrzej Kaczmarek2015-12-011-0/+33
| | | | | | | | | | < 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
* monitor/avdtp: Decode AVDTP_CLOSEAndrzej Kaczmarek2015-12-011-0/+25
| | | | | | | | | | < 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
* monitor/avdtp: Decode AVDTP_STARTAndrzej Kaczmarek2015-12-011-0/+33
| | | | | | | | | | < 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
* monitor/avdtp: Decode AVDTP_OPENAndrzej Kaczmarek2015-12-011-0/+25
| | | | | | | | | | < 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