# 验证 BlueZ 协议栈的功能

在 Qualcomm Linux 中，您可以使用不同的示例测试应用程序验证 BlueZ 协议栈的蓝牙功能。使用以下应用程序演示了蓝牙测试过程和 rofile 的用例。

| 示例应用程序 | Profile |
| --- | --- |
| bluetoothctl | GAP, GATT, A2DP |
| evtool | HOGP |
| obexctl | OPP、FTP、PBAP、MAP |
| ofono | HFP |

示例应用程序提供以下蓝牙 profile 的功能作为菜单选项：

- [通用访问 Profile (General Access Profile)](https://docs.qualcomm.com/doc/80-70020-13SC/topic/bluez-gap.html)
蓝牙低功耗 GAP 是对现有 BR/EDR GAP 的扩展。
- [通用属性 Profile (General Attribute Profile)](https://docs.qualcomm.com/doc/80-70020-13SC/topic/bluez-gatt.html)
GATT 是一个服务框架，它使用 ATT 来发现服务，并在对等设备上读取和写入特征值。
- [基于 GATT Profile 的人机接口设备](https://docs.qualcomm.com/doc/80-70020-13SC/topic/bluez-hogp.html)
HOGP 定义低功耗蓝牙无线通信设备如何使用 GATT 通过低功耗蓝牙协议栈支持 HID 服务。
- [高级音频分发 Profile (Advanced Audio Distribution Profile)](https://docs.qualcomm.com/doc/80-70020-13SC/topic/bluez-a2dp.html)
A2DP 定义如何通过蓝牙连接将多媒体音频从一个设备传输到另一个设备。这种机制也称为蓝牙音频流。
- [免提 Profile (Hands-Free Profile)](https://docs.qualcomm.com/doc/80-70020-13SC/topic/bluez-hfp.html)
HFP 定义音频网关设备如何连接至免提设备以实现远程控制和音频连接等功能。
- [对象推送 Profile (Object Push Profile)](https://docs.qualcomm.com/doc/80-70020-13SC/topic/bluez-opp.html)
OPP 定义两个蓝牙设备如何交换对象，例如名片、图像、壁纸、铃声或视频。
- [文件传输协议 (File Transfer Protocol)](https://docs.qualcomm.com/doc/80-70020-13SC/topic/bluez-ftp.html)
FTP 定义了两个蓝牙设备之间交换文件的要求。
- [电话簿访问 Profile (Phone Book Access Profile)](https://docs.qualcomm.com/doc/80-70020-13SC/topic/bluez-pbap.html)
PBAP 是用于在远程设备和本地设备之间交换电话簿对象的蓝牙 profile。
- [消息访问 Profile (Message Access Profile)](https://docs.qualcomm.com/doc/80-70020-13SC/topic/bluez-map.html)
MAP 定义了设备交换消息对象的功能和程序。

Last Published: Jul 22, 2025

[Previous Topic
蓝牙架构](https://docs.qualcomm.com/bundle/publicresource/80-70020-13SC/topics/bt_architecture_overview.md) [Next Topic
通用访问 Profile (General Access Profile)](https://docs.qualcomm.com/bundle/publicresource/80-70020-13SC/topics/bluez-gap.md)