启用基本蓝牙操作,像扫描设备并连接它们。 更多...
蓝牙相关的类和函数 |
Assigns an address to the Bluetooth device |
|
Discovers the Bluetooth devices nearby |
|
Stores information about the Bluetooth device |
|
Encapsulates the details of a local QBluetooth device |
|
Enables access to the local Bluetooth device |
|
Uses the RFCOMM or L2cap protocol to communicate with a Bluetooth device |
|
Enables you to query for Bluetooth services |
|
Enables access to the attributes of a Bluetooth service |
|
Stores attributes of a Bluetooth Data Element Alternative |
|
Stores attributes of a Bluetooth Data Element Sequence |
|
Enables connection to a Bluetooth device running a bluetooth server |
|
Generates a UUID for each Bluetooth service |
|
表示蓝牙低功耗广告期间要广播的数据 |
|
表示用于蓝牙低功耗广告的参数 |
|
QLowEnergyAdvertisingParameters::AddressInfo defines the elements of a white list |
|
Stores information about a Bluetooth Low Energy service characteristic |
|
用于设置 GATT 服务数据 |
|
当请求或报告蓝牙 LE 连接的参数更新时使用 |
|
Access to Bluetooth Low Energy Devices |
|
Stores information about the Bluetooth Low Energy descriptor |
|
用于创建 GATT 服务数据 |
|
Represents an individual service on a Bluetooth Low Energy Device |
|
用于设置 GATT 服务数据 |
The Qt Bluetooth C++ API enables an application to scan for devices and connect and interact with them in a more flexible way.
要使用 C++ 库在应用程序,添加以下配置选项到
.pro
文件:
QT += bluetooth