| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Request position to be resync if status is playing and position is
supported.
|
|
|
|
|
| |
If a service connects it should stop new attempts but the current ones
should continue so reconnection should not be reset.
|
| |
|
| |
|
|
|
|
|
| |
This make use of btd_service_reconnect to set reconnecting flag of
services.
|
|
|
|
|
| |
This mark the service to reconnect so plugins such as policy can indicate
the service will be reconnected.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add initial code that creates service objects data.
|
|
|
|
| |
This plugin will be used to control services individually.
|
|
|
|
|
| |
This add a call to device_is_service_blocked before authorizing a
connection.
|
|
|
|
|
| |
This adds device_is_service_blocked which can be used to check if a
service is currently blocked.
|
|
|
|
|
| |
This is necessary since some profiles may use different UUID for
authorization.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This make use of service auto_connect flag to determine if the service
should be included in the list to be connected.
|
| |
|
| |
|
|
|
|
|
| |
This makes btd_service_get_version check both local and remote version
and return the required version that the service should operate.
|
| |
|
|
|
|
|
| |
This adds btd_service_get_version which can be use to query service
version.
|
|
|
|
|
| |
This renames device_get_path to btd_device_get_path so external plugin
can use of it as well.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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)
|