Those changes are mandatory to be able to connect to the same VCP
renderer more than once without need to restart bluez.
- use vcp_disconnect() to close client connection and reset vcs members
- call bt_vcp_detach() the same way as bt_vcp_attach - from btd_profile
callback
Those changes are mandatory to be able to connect to the same VCP
renderer more than once without need to restart bluez
- don't call vcp_detached on all cbs, as it would clean up too many
(all) device-related objects
- vcs members can be already set when connecting for the second time
shared/vcp: add API to control volume on VCP client
1479c86...
by
Iulia Tanasescu <email address hidden>
shared/bap: Append extra L3 LTVs to BIS config
According to the BAP spec, the level 3 of the BASE contains codec
configuration LTVs specific to each BIS, in addition to the
configuration provided at level 2 (subgroup level) (v1.0.1,
section 3.7.2.2 Basic Audio Announcements).
Currently, when a Broadcast Sink parses the BASE discovered from a
Broadcast Source, level 3 LTV types that are not also present at
level 2 are not included in the final BIS cofiguration, causing
incorrect stream handling. This updates the BASE parsing logic to
consider level 3 LTVs.
07e8e72...
by
Iulia Tanasescu <email address hidden>
btio: Set correct length for getsockopt
When calling getsockopt for BT_ISO_BASE, this initializes the length
argument to the maximum size of the buffer where the bytes are placed.
This fixes the fact that, on a Broadcast Sink, if the BASE discovered
from a Broadcast Source exceeds a certain length, the bytes will be
incompletely read, causing issues when parsing the LTVs.
07c14fc...
by
Luiz Augusto von Dentz <email address hidden>
shared/shell: Always set stdout to be line buffered
This always set stdout to be line buffered to avoid cluttering the
output:
2ee08ff...
by
Ludovico de Nittis <email address hidden>
device: Clear pending_wake_allowed on error
If setting WakeAllowed fails, we should unset the `pending_wake_allowed`
property, or subsequent requests will be rejected due to another
"Property change in progress".