Skip to content

Commit a02a1c1

Browse files
Thalleycarlescufi
authored andcommitted
Bluetooth: Audio: Shell: Refactor set_preset
The function is now called get_named_preset and only returns a named preset. The QoS parameter handling has been moved to a new function, cmd_stream_qos, which can be used to set specific QoS for a stream. The get_named_preset does also no longer set the default preset, and cmd_preset must be used for that now. This means that a function like cmd_config no longer has any side effects, thus making it easier to set up multiple streams with different presets. Signed-off-by: Emil Gydesen <[email protected]>
1 parent b9a4deb commit a02a1c1

File tree

1 file changed

+152
-164
lines changed
  • subsys/bluetooth/shell

1 file changed

+152
-164
lines changed

0 commit comments

Comments
 (0)