zephyr/subsys/bluetooth
Emil Gydesen a72da864e0 Bluetooth: BAP: Restrict application ASCS response codes
Some of the ASCS response codes should not be used by the
unicast server, as those will be checked and validated by the
stack.

They are kept in the enum, as the enum is also used by the
unicast client.

Besides updating the documentation, this commit also adds
a function to validate the response codes as well as the
combination of response codes and reason/metadata values,
and log a warning if the application does not adhere to the
documented behavior.

A warning is used instead of an error/assert/modification
of the response codes, as there may be unforseen reasons
why an application provide a non-approved response code,
and since it may be spec-valid, we should not fully
prevent it.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-01-15 13:56:22 -05:00
..
audio Bluetooth: BAP: Restrict application ASCS response codes 2024-01-15 13:56:22 -05:00
common bluetooth: mesh: Doc fix Bluetooth mesh to Mesh 2023-12-01 10:56:18 +00:00
controller Bluetooth: Controller: Add support for DYNAMIC_INTERRUPTS 2024-01-12 11:16:08 +01:00
crypto Bluetooth: Logging: Move all logging symbols together 2023-03-28 10:33:24 +02:00
host Bluetooth: L2CAP: stop stealing buffers from SDU pool 2024-01-15 09:58:58 +01:00
lib Bluetooth: Host: Remove 'Experimental' flag of EAD 2023-07-28 17:48:16 +02:00
mesh Bluetooth: Mesh: Fix dereferencing before null pointer check 2024-01-12 11:28:59 -06:00
services Bluetooth: services: Add HRS notification changed app callback 2024-01-08 15:34:20 +02:00
shell Bluetooth: Shell: Fix coverity issue in cmd_adv_data 2023-12-27 12:36:23 +02:00
CMakeLists.txt Bluetooth: Host: Add Encrypted Advertising Data 2023-03-21 13:39:09 +02:00
Kconfig drivers: bluethooth: stm32wba: Add HCI driver for STM32WBA 2023-12-18 17:31:08 +00:00
Kconfig.adv Bluetooth: Host: Add support for PAwR Sync 2023-04-26 20:08:16 +02:00
Kconfig.iso Bluetooth: ISO: Rename BT_ISO_ADVANCED to BT_ISO_TEST_PARAMS 2023-10-20 14:50:48 +02:00
Kconfig.logging Bluetooth: Audio: Add implementation for PBP and dedicated sample apps. 2024-01-09 09:59:23 +01:00