-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Open
Open
Copy link
Labels
area: Bluetootharea: Bluetooth AudiobugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Description
Describe the bug
When using the cap_initiator api to start and stop a unicast stream, the command bap preset does not come into work after having used cap_initiator unicast_start followed by cap_initiator unicast_stop the first time. Prior to the first use of cap_initiator unicast_start, whatever is configured with bap_preset will be used for the stream, but not after.
This was seen on an nrf5340 Audio DevKit
Regression
- This is a regression.
Steps to reproduce
- Build and flash the audio shell and zephyr controller, e.g. build:
west build -b nrf5340_audio_dk/nrf5340/cpunet -d build/nrf5340audiodk/hci_ipc samples/bluetooth/hci_ipc --pristine -- -DCONF_FILE=nrf5340_cpunet_iso-bt_ll_sw_split.conf - Have a peripheral device with a unicast audio server on it that supports cap.
- Connect to the audio shell over uart and issue the following commands:
bt init
bt clear all
bt connect-name <name>
bap init
bap discover
optionally set bap preset configuration to whatever you want, and then
cap_initiator unicast_start
// Wait for streaming to occur
cap_initiator unicast_stop
- Change presets with
bap presetcommand to be different - Try to restart a unicast stream with
cap_initiator unicast_startand observe that the stream will be started with whatever was running in CI: Test checkpatch #3.
Relevant log output
Impact
Annoyance – Minor irritation; no significant impact on usability or functionality.
Environment
nrf5340 Audio DevKit
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: Bluetootharea: Bluetooth AudiobugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Type
Projects
Status
To do