Add a selection of interval values that are suitable for BAP, which will allow better coexistence between ISO and ACL, for both broadcast and unicast. Some of these are defined by the BAP spec, and some are defined by Zephyr, since they do have a suggested value from BAP. Samples and tests have been updated to use these new values. Peripheral samples have also been updated with CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS so that the connection parameters from the centrals aren't updated to something else shortly after. The shell has also been updated to use the LE Audio (BAP) values if audio is enabled, and the audio.conf file has disabled automatic updating of the connection parameters as the peripheral, as we rarely (if ever) want to do that. Due to the connection interval change, CI hit an issue with test_bass_broadcast_code in test_main_client_sync, where the reading of the long receive state did not finish before we attempted to do another procedure, so the function was updated to have a retry. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| boards | ||
| src | ||
| banded.conf | ||
| binaural.conf | ||
| CMakeLists.txt | ||
| Kconfig | ||
| prj.conf | ||
| README.rst | ||
| sample.yaml | ||
.. zephyr:code-sample:: bluetooth_hap_ha :name: Hearing Access Profile (HAP) Hearing Aid (HA) :relevant-api: bt_has Advertise and await connection from a Hearing Aid Unicast Client or Remote Controller. Overview ******** Application demonstrating the LE Audio Hearing Aid sample functionality. Starts advertising and awaits connection from a Hearing Aid Unicast Client (HAUC) or Hearing Aid Remote Controller (HARC). Requirements ************ * BlueZ running on the host, or * A board with Bluetooth Low Energy 5.2 support Building and Running ******************** This sample can be found under :zephyr_file:`samples/bluetooth/hap_ha` in the Zephyr tree. See :zephyr:code-sample-category:`bluetooth` samples for details.