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

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

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

© 2015 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.