QBluetoothDeviceInfo Class

  • Header: QBluetoothDeviceInfo

  • Since: Qt 5.2

  • qmake: QT += bluetooth

Detailed Description

QBluetoothDeviceInfo provides information about a Bluetooth device's name, address and class of device.

Member Type Documentation

 

[since 5.4] enum QBluetoothDeviceInfo::CoreConfiguration

flags QBluetoothDeviceInfo::CoreConfigurations

This enum describes the configuration of the device.

Constant

Value

Description

QBluetoothDeviceInfo::UnknownCoreConfiguration

0x0

The type of the Bluetooth device cannot be determined.

QBluetoothDeviceInfo::BaseRateCoreConfiguration

0x02

The device is a standard Bluetooth device.

QBluetoothDeviceInfo::BaseRateAndLowEnergyCoreConfiguration

0x03

The device is a Bluetooth Smart device with support for standard and Low Energy device.

QBluetoothDeviceInfo::LowEnergyCoreConfiguration

0x01

The device is a Bluetooth Low Energy device.

This enum was introduced or modified in Qt 5.4.

The CoreConfigurations type is a typedef for QFlags<CoreConfiguration>. It stores an OR combination of CoreConfiguration values.

enum QBluetoothDeviceInfo::DataCompleteness

This enum describes the completeness of the received data.

Constant

Value

Description

QBluetoothDeviceInfo::DataComplete

0

The data is complete.

QBluetoothDeviceInfo::DataIncomplete

1

The data is incomplete. Addition datum is available via other interfaces.

QBluetoothDeviceInfo::DataUnavailable