4#ifndef QBLUETOOTHDEVICEINFO_H
5#define QBLUETOOTHDEVICEINFO_H
7#include <QtBluetooth/qtbluetoothglobal.h>
8#include <QtBluetooth/QBluetoothUuid>
10#include <QtCore/qbytearray.h>
11#include <QtCore/qlist.h>
12#include <QtCore/qmetatype.h>
13#include <QtCore/qstring.h>
25 MiscellaneousDevice = 0,
35 UncategorizedDevice = 31
39 UncategorizedMiscellaneous = 0
43 UncategorizedComputer = 0,
47 HandheldClamShellComputer = 4,
53 UncategorizedPhone = 0,
57 WiredModemOrVoiceGatewayPhone = 4,
58 CommonIsdnAccessPhone = 5
62 NetworkFullService = 0x00,
63 NetworkLoadFactorOne = 0x08,
64 NetworkLoadFactorTwo = 0x10,
65 NetworkLoadFactorThree = 0x18,
66 NetworkLoadFactorFour = 0x20,
67 NetworkLoadFactorFive = 0x28,
68 NetworkLoadFactorSix = 0x30,
69 NetworkNoService = 0x38
73 UncategorizedAudioVideoDevice = 0,
74 WearableHeadsetDevice = 1,
80 PortableAudioDevice = 7,
88 VideoDisplayAndLoudspeaker = 15,
89 VideoConferencing = 16,
95 UncategorizedPeripheral = 0,
96 KeyboardPeripheral = 0x10,
97 PointingDevicePeripheral = 0x20,
98 KeyboardWithPointingDevicePeripheral = 0x30,
100 JoystickPeripheral = 0x01,
101 GamepadPeripheral = 0x02,
102 RemoteControlPeripheral = 0x03,
103 SensingDevicePeripheral = 0x04,
104 DigitizerTabletPeripheral = 0x05,
105 CardReaderPeripheral = 0x06
109 UncategorizedImagingDevice = 0,
117 UncategorizedWearableDevice = 0,
118 WearableWristWatch = 1,
126 UncategorizedToy = 0,
135 UncategorizedHealthDevice = 0,
136 HealthBloodPressureMonitor = 0x1,
137 HealthThermometer = 0x2,
138 HealthWeightScale = 0x3,
139 HealthGlucoseMeter = 0x4,
140 HealthPulseOximeter = 0x5,
141 HealthDataDisplay = 0x7,
142 HealthStepCounter = 0x8
147 PositioningService = 0x0001,
148 NetworkingService = 0x0002,
149 RenderingService = 0x0004,
150 CapturingService = 0x0008,
151 ObjectTransferService = 0x0010,
152 AudioService = 0x0020,
153 TelephonyService = 0x0040,
154 InformationService = 0x0080,
162 ManufacturerData = 0x0002,
163 ServiceData = 0x0004,
169 UnknownCoreConfiguration = 0x0,
170 LowEnergyCoreConfiguration = 0x01,
171 BaseRateCoreConfiguration = 0x02,
172 BaseRateAndLowEnergyCoreConfiguration = 0x03
184 bool isValid()
const;
185 bool isCached()
const;
187 void setCached(
bool cached);
196 return !equals(
a,
b);
203 ServiceClasses serviceClasses()
const;
204 MajorDeviceClass majorDeviceClass()
const;
205 quint8 minorDeviceClass()
const;
223 void setCoreConfigurations(QBluetoothDeviceInfo::CoreConfigurations coreConfigs);
224 QBluetoothDeviceInfo::CoreConfigurations coreConfigurations()
const;
243#ifdef QT_WINRT_BLUETOOTH
QBluetoothUuid deviceUuid
MinorPhoneClass
This enum describes the minor device classes for phone devices.
Field
This enum is used in conjuntion with the \l QBluetoothDeviceDiscoveryAgent::deviceUpdated() signal an...
friend bool operator==(const QBluetoothDeviceInfo &a, const QBluetoothDeviceInfo &b)
Returns true if the two QBluetoothDeviceInfo objects a and b are equal.
QBluetoothDeviceInfoPrivate * d_ptr
MinorWearableClass
This enum describes the minor device classes for wearable devices.
MinorHealthClass
This enum describes the minor device classes for health devices.
MinorImagingClass
This enum describes the minor device classes for imaging devices.
MinorPeripheralClass
This enum describes the minor device classes for peripheral devices.
MajorDeviceClass
This enum describes a Bluetooth device's major device class.
MinorComputerClass
This enum describes the minor device classes for computer devices.
friend bool operator!=(const QBluetoothDeviceInfo &a, const QBluetoothDeviceInfo &b)
Returns true if the two QBluetoothDeviceInfo objects a and b are not equal.
MinorMiscellaneousClass
This enum describes the minor device classes for miscellaneous Bluetooth devices.
ServiceClass
This enum describes the service class of the Bluetooth device.
MinorNetworkClass
This enum describes the minor device classes for local area network access devices.
MinorAudioVideoClass
This enum describes the minor device classes for audio/video devices.
MinorToyClass
This enum describes the minor device classes for toy devices.
\macro QT_RESTRICTED_CAST_FROM_ASCII
employee setName("Richard Schmit")
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLuint GLuint64EXT address