Qt Bluetooth C++ Classes | Qt Bluetooth 5.6

Qt 5.6 | Qt Bluetooth | Qt Bluetooth C++ Classes

Qt 5.6.2 Reference Documentation

# Qt Bluetooth C++ Classes

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

This documentation was introduced in Qt 5.2.

## 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::Alternative | Stores attributes of a Bluetooth Data Element Alternative
QBluetoothServiceInfo | Enables access to the attributes of a Bluetooth service
QBluetoothServiceInfo::Sequence | Stores attributes of a Bluetooth Data Element Sequence
QBluetoothSocket | Enables connection to a Bluetooth device running a bluetooth server
QBluetoothTransferManager | Transfers data to another device using Object Push Profile (OPP)
QBluetoothTransferReply | Stores the response for a data transfer request
QBluetoothTransferRequest | Stores information about a data transfer request
QBluetoothUuid | Generates a UUID for each Bluetooth service
QLowEnergyCharacteristic | Stores information about a Bluetooth Low Energy service characteristic
QLowEnergyController | Access to Bluetooth Low Energy Devices
QLowEnergyDescriptor | Stores information about the Bluetooth Low Energy descriptor
QLowEnergyService | Represents an individual service on a Bluetooth Low Energy Device

## 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 than the Qt Bluetooth QML Types.

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

      QT += bluetooth