Qt Bluetooth C++ Classes

Enables basic Bluetooth operations like scanning for devices and connecting them. More...

Namespaces

QBluetooth

Classes and functions related to Bluetooth

Classes

QBluetoothAddress

Assigns an address to the Bluetooth device

QBluetoothDeviceDiscoveryAgent

Discovers the Bluetooth devices nearby

QBluetoothDeviceInfo

Stores information about the Bluetooth device

QBluetoothHostInfo

Encapsulates the details of a local QBluetooth device

QBluetoothLocalDevice

Enables access to the local Bluetooth device

QBluetoothServer

Uses the RFCOMM or L2cap protocol to communicate with a Bluetooth device

QBluetoothServiceDiscoveryAgent

Enables you to query for Bluetooth services

QBluetoothServiceInfo

Enables access to the attributes of a Bluetooth service

QBluetoothServiceInfo::Alternative

Stores attributes of a Bluetooth Data Element Alternative

QBluetoothServiceInfo::Sequence

Stores attributes of a Bluetooth Data Element Sequence

QBluetoothSocket

Enables connection to a Bluetooth device running a bluetooth server

QBluetoothUuid

Generates a UUID for each Bluetooth service

QLowEnergyAdvertisingData

Represents the data to be broadcast during Bluetooth Low Energy advertising

QLowEnergyAdvertisingParameters

Represents the parameters used for Bluetooth Low Energy advertising

QLowEnergyAdvertisingParameters::AddressInfo

QLowEnergyAdvertisingParameters::AddressInfo defines the elements of a white list

QLowEnergyCharacteristic

Stores information about a Bluetooth Low Energy service characteristic

QLowEnergyCharacteristicData

Used to set up GATT service data

QLowEnergyConnectionParameters

Used when requesting or reporting an update of the parameters of a Bluetooth LE connection

QLowEnergyController

Access to Bluetooth Low Energy Devices

QLowEnergyDescriptor

Stores information about the Bluetooth Low Energy descriptor

QLowEnergyDescriptorData

Used to create GATT service data

QLowEnergyService

Represents an individual service on a Bluetooth Low Energy Device

QLowEnergyServiceData

Used to set up GATT service data

Detailed Description

The Qt Bluetooth C++ API enables an application to scan for devices and connect and interact with them in a more flexible way.

To use the C++ library in your application, add the following configuration option to your .pro file:

QT += bluetooth

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.