zephyr/samples/bluetooth/handsfree_ag
Lyle Zhu c09cf23844 Bluetooth: HFP_AG: Add ACL conn to the connected callback
If the AG works as Data Channel Acceptor, the ACL conn cannot be known
by the application of AG. Similar with HF, add ACL conn as the first
parameter to the `connected` callback of AG.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-04-03 06:24:32 +02:00
..
boards Sample: bluetooth: add mimxrt1040_evk support 2024-06-24 12:44:49 -04:00
src Bluetooth: HFP_AG: Add ACL conn to the connected callback 2025-04-03 06:24:32 +02:00
CMakeLists.txt
Kconfig
prj.conf
README.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
sample.yaml

.. zephyr:code-sample:: bluetooth_handsfree_ag
   :name: Hands-free Audio Gateway (AG)
   :relevant-api: bt_hfp bluetooth

   Use the Hands-Free Profile Audio Gateway (AG) APIs.

Overview
********

Application demonstrating usage of the Hands-free Audio Gateway (AG) APIs.

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

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

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

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

See :zephyr:code-sample-category:`bluetooth` samples for details.