zephyr/samples/bluetooth/hci_ipc
Emil Gydesen fa0bbad205 tests: Bluetooth: Run Audio BSIM test on nrf5340bsim
Add support for running the audio BSIM tests on the
nrf5340bsim board.

This expands the tests we run in CI.

To support all tests with the hci_ipc sample for the netcore,
it is updated to support a bit more while still fitting on the
netcore on the nRF5340 series.

The behavior of advertisement seems to differ a little bit,
which required the bap_unicast_server_test.c to update how it
restarts advertisements.

Two broadcast tests that are passing on the nRF52 BSIM is also
failing due an assert. This should be investigated at a later
time.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-09-09 15:23:57 +03:00
..
dts/arm/nordic samples: Bluetooth: hci_ipc comment about NRF_DEFAULT_IRQ_PRIORITY 2024-04-12 13:48:57 +02:00
src lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
CMakeLists.txt
debug_overlay.conf
nrf5340_cpunet_bis-bt_ll_sw_split.conf Bluetooth: Controller: BT_CTLR_ISO_TX_BUFFER_SIZE from BT_ISO_TX_MTU 2024-05-10 15:02:10 +02:00
nrf5340_cpunet_bt_mesh-bt_ll_sw_split.conf Bluetooth: Remove BT_HCI_RESERVE and BT_HCI_RAW_RESERVE 2024-04-29 11:01:27 +02:00
nrf5340_cpunet_cis-bt_ll_sw_split.conf Bluetooth: Controller: BT_CTLR_ISO_TX_BUFFER_SIZE from BT_ISO_TX_MTU 2024-05-10 15:02:10 +02:00
nrf5340_cpunet_df-bt_ll_sw_split.conf Bluetooth: Remove BT_HCI_RESERVE and BT_HCI_RAW_RESERVE 2024-04-29 11:01:27 +02:00
nrf5340_cpunet_df-bt_ll_sw_split.overlay
nrf5340_cpunet_iso-bt_ll_sw_split.conf tests: Bluetooth: Run Audio BSIM test on nrf5340bsim 2024-09-09 15:23:57 +03:00
nrf5340_cpunet_iso_broadcast-bt_ll_sw_split.conf Bluetooth: Controller: BT_CTLR_ISO_TX_BUFFER_SIZE from BT_ISO_TX_MTU 2024-05-10 15:02:10 +02:00
nrf5340_cpunet_iso_central-bt_ll_sw_split.conf Bluetooth: Controller: BT_CTLR_ISO_TX_BUFFER_SIZE from BT_ISO_TX_MTU 2024-05-10 15:02:10 +02:00
nrf5340_cpunet_iso_peripheral-bt_ll_sw_split.conf Bluetooth: Controller: BT_CTLR_ISO_TX_BUFFER_SIZE from BT_ISO_TX_MTU 2024-05-10 15:02:10 +02:00
nrf5340_cpunet_iso_receive-bt_ll_sw_split.conf Bluetooth: Remove BT_HCI_RESERVE and BT_HCI_RAW_RESERVE 2024-04-29 11:01:27 +02:00
prj.conf Bluetooth: Remove BT_HCI_RESERVE and BT_HCI_RAW_RESERVE 2024-04-29 11:01:27 +02:00
README.rst samples: bluetooth: use zephyr:code-sample directive 2024-09-05 16:58:32 -04:00
sample.yaml samples|tests/* yamls: Replace all nrf5340bsim hwmv1 names w hwmv2 version 2024-03-21 15:23:56 +01:00

.. zephyr:code-sample:: bluetooth_hci_ipc
   :name: HCI IPC
   :relevant-api: hci_raw bluetooth

   Expose a Bluetooth controller to another device or CPU using the IPC subsystem.

Overview
********

This sample exposes :ref:`bluetooth_controller` support
to another device or CPU using IPC subsystem.

Requirements
************

* A board with IPC subsystem and Bluetooth LE support

Building and Running
********************

This sample can be found under :zephyr_file:`samples/bluetooth/hci_ipc`
in the Zephyr tree.

To use this application, you need a board with a Bluetooth controller
and IPC support.
You can then build this application and flash it onto your board in
the usual way. See :ref:`boards` for board-specific building and
programming information.

To test this sample, you need a separate device/CPU that acts as Bluetooth
HCI IPC peer.
This sample is compatible with the HCI IPC driver provided by
Zephyr's Bluetooth :ref:`bt_hci_drivers` core. See the
:kconfig:option:`CONFIG_BT_HCI_IPC` configuration option for more information.

You might need to adjust the Kconfig configuration of this sample to make it
compatible with the peer application. For example, :kconfig:option:`CONFIG_BT_MAX_CONN`
must be equal to the maximum number of connections supported by the peer application.

Refer to :ref:`bluetooth-samples` for general information about Bluetooth samples.