zephyr/samples/bluetooth/handsfree_ag
Lyle Zhu 2b27b1cdd7 Bluetooth: HFP_AG: Update SDP discovery
Add set the parameter `type` to value
`BT_SDP_DISCOVER_SERVICE_SEARCH_ATTR`.

Update the SDP discovery callback function by adding a third parameter
`const struct bt_sdp_discover_params *params`. Make it align with
`bt_sdp_discover_func_t`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2024-12-06 12:14:29 +01:00
..
boards Sample: bluetooth: add mimxrt1040_evk support 2024-06-24 12:44:49 -04:00
src Bluetooth: HFP_AG: Update SDP discovery 2024-12-06 12:14:29 +01: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.