zephyr/tests/bluetooth
Emil Gydesen 1e5be3f020 Bluetooth: Audio: Fix issue with unicast client src/snk ASE count
If either the sink or source ASE count was zero, calls to
ARRAY_SIZE(srcs) or ARRAY_SIZE(sinks) would cause a build warning.

The arrays should actually not be there at all if the respective
ASE count was 0, as that is just a waste of memory. The arrays,
and all uses of them, have been properly guarded.

This also adds a build assert to ensure that at least one
of them is non-zero, and that we also test building either
of them with the value 0.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-01-04 10:35:14 +01:00
..
addr tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
adv tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
at tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
bluetooth tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
bsim_bt Bluetooth: Audio: Add AUDIO_ISO debug logging 2023-01-04 10:35:14 +01:00
bt_crypto tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
controller bluetooth: controller: Reduce user ops status to uint8_t 2022-12-16 11:02:30 +00:00
ctrl_isoal tests: Bluetooth: controller: corrected input PDU time stamps 2022-12-07 10:15:17 +00:00
ctrl_sw_privacy test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
ctrl_sw_privacy_unit test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
ctrl_user_ext test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
df includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
gatt tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
hci_codecs_info includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
hci_prop_evt tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
host tests: bluetooth: host: Add UT for bt_id_read_public_addr() 2022-12-27 15:34:34 +01:00
host_long_adv_recv tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
init Bluetooth: Use Zephyr standard log system instead of `bluetooth/common/log` 2022-11-25 17:08:36 +01:00
l2cap tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
ll_settings includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
mesh tests: bluetooth: mesh: Update BT_MESH_LPN_RECV_DELAY default value 2022-12-19 15:31:55 +01:00
mesh_shell tests: bluetooth: mesh: Update BT_MESH_LPN_RECV_DELAY default value 2022-12-19 15:31:55 +01:00
qualification tests: Bluetooth: Upload Launch Studio Project and ICS 2022-09-26 13:21:08 +02:00
shell Bluetooth: Audio: Fix issue with unicast client src/snk ASE count 2023-01-04 10:35:14 +01:00
tester tests: bluetooth: tester: allow to add more CCCs 2022-12-09 11:18:39 +01:00
uuid tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00