summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* audio/avrcp: Don't print an error if folder length is 0baserock/5.37+service-apiLuiz Augusto von Dentz2016-03-111-1/+3
| | | | | | Some stacks, for instance iOS, does actually send 0 as folder length so just ignore if that happens since that means only means the folder doesn't have a name.
* monitor/avctp: Print <empty> if folder lenght is 0Luiz Augusto von Dentz2016-03-111-1/+6
| | | | | | | | | | | | | | | | | This is a bit more clear that is was not a parsing error but just that there is nothing to print: > ACL Data RX: Handle 256 flags 0x02 dlen 39 Channel: 68 len 35 ctrl 0x0304 [PSM 27 mode 3] {chan 4} I-frame: Unsegmented TxSeq 2 ReqSeq 3 AVCTP Browsing: Response: type 0x00 label 2 PID 0x110e AVRCP: SetBrowsedPlayer: len 0x0019 Status: 0x04 (Success) UIDCounter: 0x0000 (0) Number of Items: 0x00000002 (2) CharsetID: 0x006a (UTF-8) Folder Depth: 0x01 (1) Folder: <empty>
* audio/avrcp: Fix not always requesting capabilitiesLuiz Augusto von Dentz2016-03-111-6/+5
| | | | | | | | This fixes not requesting capabilities of targets that are not player category, instead just make the creation of the player object conditional to the category 1 so that GetCapabities is still sent in order to fetch the supported events which might be still useful even without a player.
* audio/avrcp: Fix not handling Addressed Player Changed errorLuiz Augusto von Dentz2016-03-113-28/+53
| | | | | | | | | | | | Some notification are completed in case the addressed player changes: 'On completion of the Addressed Player Changed notification the TG shall complete all player specific notifications with AV/C C-Type REJECTED with error code Addressed Player Changed.' Because reject only has the error code not the event it is necessary to lookup by transaction to find out which event was completed thus the transaction needs to be added to the avctp_rsp_cb callback.
* audio/player: Resync if Position property is readLuiz Augusto von Dentz2016-03-113-0/+24
| | | | | Request position to be resync if status is playing and position is supported.
* policy: Fix removing reconnect flag while still connectingLuiz Augusto von Dentz2016-03-111-1/+1
| | | | | If a service connects it should stop new attempts but the current ones should continue so reconnection should not be reset.
* service: Add 'reconnecting' stateLuiz Augusto von Dentz2016-03-111-2/+6
|
* service: Do not emit duplicate statesLuiz Augusto von Dentz2016-03-111-4/+8
|
* policy: Mark reconnect servicesLuiz Augusto von Dentz2016-03-111-7/+24
| | | | | This make use of btd_service_reconnect to set reconnecting flag of services.
* core/service: Add btd_service_reconnectLuiz Augusto von Dentz2016-03-112-0/+35
| | | | | This mark the service to reconnect so plugins such as policy can indicate the service will be reconnected.
* plugins/service: Add Blocked propertyLuiz Augusto von Dentz2016-01-281-0/+34
|
* plugins/service: Add AutoConnect propertyLuiz Augusto von Dentz2016-01-281-0/+34
|
* plugins/service: Add Version propertyLuiz Augusto von Dentz2016-01-281-0/+21
|
* plugins/service: Add Device propertyLuiz Augusto von Dentz2016-01-281-0/+13
|
* plugins/service: Add implemention of .Disconnect methodLuiz Augusto von Dentz2016-01-281-1/+27
|
* plugins/service: Add implemention of .Connect methodLuiz Augusto von Dentz2016-01-281-2/+60
|
* plugins/service: Add LocalUUID propertyLuiz Augusto von Dentz2016-01-281-0/+22
|
* plugins/service: Add RemoteUUID propertyLuiz Augusto von Dentz2016-01-281-0/+21
|
* plugins/service: Add State propertyLuiz Augusto von Dentz2016-01-281-3/+49
|
* plugins/service: Add initial codeLuiz Augusto von Dentz2016-01-281-1/+128
| | | | Add initial code that creates service objects data.
* plugins: Add initial code for service pluginLuiz Augusto von Dentz2016-01-284-0/+57
| | | | This plugin will be used to control services individually.
* core/adapter: Check if service is blocked before authorizingLuiz Augusto von Dentz2016-01-281-0/+5
| | | | | This add a call to device_is_service_blocked before authorizing a connection.
* core/device: Add device_is_service_blockedLuiz Augusto von Dentz2016-01-282-0/+29
| | | | | This adds device_is_service_blocked which can be used to check if a service is currently blocked.
* core/profile: Add authorization UUID information to btd_profileLuiz Augusto von Dentz2016-01-284-0/+8
| | | | | This is necessary since some profiles may use different UUID for authorization.
* core/service: Add btd_service_is_blockedLuiz Augusto von Dentz2016-01-282-0/+6
|
* core/service: Add btd_service_set_blockedLuiz Augusto von Dentz2016-01-282-0/+8
|
* profiles: Add missing local_uuidLuiz Augusto von Dentz2016-01-283-0/+10
|
* core/device: Use service auto_connect flagLuiz Augusto von Dentz2016-01-281-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-01-282-0/+6
|
* core/service: Add btd_service_set_auto_connectLuiz Augusto von Dentz2016-01-282-0/+9
|
* core/service: Return required version in btd_service_get_versionLuiz Augusto von Dentz2016-01-281-1/+4
| | | | | This makes btd_service_get_version check both local and remote version and return the required version that the service should operate.
* core/profile: Add version information to btd_profileLuiz Augusto von Dentz2016-01-286-0/+14
|
* core/service: Add btd_service_get_versionLuiz Augusto von Dentz2016-01-282-0/+24
| | | | | This adds btd_service_get_version which can be use to query service version.
* core: Make device_get_path publicLuiz Augusto von Dentz2016-01-2824-106/+110
| | | | | This renames device_get_path to btd_device_get_path so external plugin can use of it as well.
* 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 &eacute; 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)