zephyr/subsys/bluetooth/audio/shell
Emil Gydesen 82cda0ea18 Bluetooth: Audio: Shell: Fix ad data returning -1
Several advertising data function could return -1 in case of
errors, which could mess up the advertising data since they are
intended to increment a counter.

Instead of returning an error we use bt_shell_error to inform
the user and then just return with no data changes, so that if
any of them fails, the failing data is just omitted rather
than causing major issues.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-02-05 21:02:14 +01:00
..
audio.h Bluetooth: Audio: Shell: Fix ad data returning -1 2025-02-05 21:02:14 +01:00
bap_broadcast_assistant.c Bluetooth: Audio: Spring cleanup for audio source files 2025-02-04 12:03:04 +01:00
bap_scan_delegator.c bluetooth: audio: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00
bap_usb.c Bluetooth: Audio: Spring cleanup for audio source files 2025-02-04 12:03:04 +01:00
bap.c Bluetooth: Audio: Shell: Fix ad data returning -1 2025-02-05 21:02:14 +01:00
cap_acceptor.c bluetooth: audio: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00
cap_commander.c Bluetooth: Audio: Spring cleanup for audio source files 2025-02-04 12:03:04 +01:00
cap_initiator.c Bluetooth: Audio: Shell: Fix ad data returning -1 2025-02-05 21:02:14 +01:00
ccp_call_control_client.c Bluetooth: CCP: Initial CCP Client implemenation 2025-01-28 09:46:39 +01:00
ccp_call_control_server.c Bluetooth: CCP: Introduce new CCP API 2025-01-08 07:50:32 +01:00
CMakeLists.txt Bluetooth: CCP: Initial CCP Client implemenation 2025-01-28 09:46:39 +01:00
csip_set_coordinator.c bluetooth: audio: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00
csip_set_member.c Bluetooth: Audio: Shell: Fix ad data returning -1 2025-02-05 21:02:14 +01:00
gmap.c Bluetooth: Audio: Spring cleanup for audio source files 2025-02-04 12:03:04 +01:00
has_client.c bluetooth: audio: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00
has.c Bluetooth: Audio: Spring cleanup for audio source files 2025-02-04 12:03:04 +01:00
mcc.c bluetooth: audio: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00
media_controller.c bluetooth: audio: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00
micp_mic_ctlr.c bluetooth: audio: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00
micp_mic_dev.c Bluetooth: Audio: Spring cleanup for audio source files 2025-02-04 12:03:04 +01:00
mpl.c Bluetooth: Audio: Spring cleanup for audio source files 2025-02-04 12:03:04 +01:00
pbp.c Bluetooth: Audio: Spring cleanup for audio source files 2025-02-04 12:03:04 +01:00
tbs_client.c Bluetooth: Shell: Restructure shell files 2024-09-24 09:21:04 -04:00
tbs.c Bluetooth: TBS: Add support for dynamic TBS 2024-09-24 09:21:54 -04:00
tmap.c bluetooth: audio: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00
vcp_vol_ctlr.c bluetooth: audio: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00
vcp_vol_rend.c bluetooth: audio: shell: eliminate ctx_shell usage 2025-01-14 10:56:16 +01:00