diff --git a/samples/bluetooth/classic/index.rst b/samples/bluetooth/classic/index.rst index 5022bf6fd2012..51412a28f2a23 100644 --- a/samples/bluetooth/classic/index.rst +++ b/samples/bluetooth/classic/index.rst @@ -4,3 +4,71 @@ :glob: **/* These samples demonstrate the use of Bluetooth Classic in Zephyr. + +Prerequisites +************* + +* A board with Bluetooth Classic support +* Recommended boards: + + * :zephyr:board:`mimxrt1170_evk@B/mimxrt1176/cm7 ` + +Building the Samples +********************* + +To build any Bluetooth Classic sample, use the following commands: + +.. code-block:: bash + + west build -p auto -b samples/bluetooth/classic/ + +For example, to build for :zephyr:board:`mimxrt1170_evk@B/mimxrt1176/cm7 `: + +.. code-block:: bash + + west build -p auto -b mimxrt1170_evk@B/mimxrt1176/cm7 samples/bluetooth/classic/ + +Refer to :ref:`bluetooth-dev` for more information. + +Configuration +************* + +The following Kconfig options must be enabled for Bluetooth Classic functionality: + +.. code-block:: kconfig + + CONFIG_BT=y + CONFIG_BT_CLASSIC=y + +Enable verbose Bluetooth logging: + +.. code-block:: kconfig + + CONFIG_LOG=y + CONFIG_LOG_DEFAULT_LEVEL= + +Running the Samples +******************* + +Flashing +======== + +Flash the built sample to your target board: + +.. code-block:: bash + + west flash + +Monitoring Output +================= + +Monitor the sample output using a serial terminal. + +.. note:: + If you want to run any bluetooth sample on the mimxrt1170_evk@B device (build using + ``-DBOARD=mimxrt1170_evk@B/mimxrt1176/cm7``), the extended Bluetooth module needs to be + installed on the M.2 interface. + +.. zephyr:code-sample-listing:: + :categories: bluetooth_classic + :live-search: