zephyr/subsys/bluetooth/host/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
..
bt.c Bluetooth: Audio: Shell: Fix ad data returning -1 2025-02-05 21:02:14 +01:00
bt.h bluetooth: shell: completely eliminate the dependency on ctx_shell 2025-01-14 10:56:16 +01:00
CMakeLists.txt bluetooth: shell: move bt_shell_private.c to common folder 2025-01-14 10:56:16 +01:00
cs.c bluetooth: shell: move bt_shell_private.c to common folder 2025-01-14 10:56:16 +01:00
gatt.c bluetooth: shell: move bt_shell_private.c to common folder 2025-01-14 10:56:16 +01:00
iso.c bluetooth: shell: move bt_shell_private.c to common folder 2025-01-14 10:56:16 +01:00
l2cap.c bluetooth: shell: move bt_shell_private.c to common folder 2025-01-14 10:56:16 +01:00