This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Bluetooth: HCI RPMsg

Overview

This sample exposes Bluetooth Controller support to another device or CPU using RPMsg transport which is a part of OpenAMP.

Requirements

  • A board with IPM driver and Bluetooth LE support

Building and Running

This sample can be found under samples/bluetooth/hci_rpmsg in the Zephyr tree.

To use this application, you need a board with a Bluetooth controller and IPM drivers. You can then build this application and flash it onto your board in the usual way. See Supported Boards for board-specific building and programming information.

To test this sample, you need a separate device/CPU that acts as Bluetooth HCI RPMsg peer. This sample is compatible with the HCI RPMsg driver provided by Zephyr’s Bluetooth HCI Drivers core. See the :kconfig:`CONFIG_BT_RPMSG` 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:`CONFIG_BT_MAX_CONN` must be equal to the maximum number of connections supported by the peer application.

Refer to Bluetooth samples for general information about Bluetooth samples.