zephyr/samples/bluetooth/handsfree
Hang Fan b3d2891e16 Bluetooth: Classic: Add support for class of device
Add `CONFIG_BT_COD` for class of device.

< HCI Command: Write Class of Device (0x03|0x0024) plen 3
        Class: 0x200408
          Major class: Audio/Video (headset, speaker, stereo, video, vcr)
          Minor class: Hands-free Device
          Audio (Speaker, Microphone, Headset)
> HCI Event: Command Complete (0x0e) plen 4
      Write Class of Device (0x03|0x0024) ncmd 1
        Status: Success (0x00)

Signed-off-by: Hang Fan <fanhang8@gmail.com>
2024-01-25 15:09:01 +00:00
..
src
CMakeLists.txt
prj.conf Bluetooth: Classic: Add support for class of device 2024-01-25 15:09:01 +00:00
README.rst
sample.yaml

.. _bt_handsfree:

Bluetooth: Handsfree
####################

Overview
********

Application demonstrating usage of the Hands-free Profile (HFP) APIs.

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

* BlueZ running on the host, or
* A board with Bluetooth BR/EDR (Classic) support

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

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

See :ref:`bluetooth samples section <bluetooth-samples>` for details.