Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qbluetooth.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QBLUETOOTH_H
5#define QBLUETOOTH_H
6
7#include <QtBluetooth/qtbluetoothglobal.h>
8#include <QtCore/qglobal.h>
9#include <QtCore/qtmetamacros.h>
10#include <QtCore/qobject.h>
11
12QT_BEGIN_NAMESPACE
13
14namespace QBluetooth {
15Q_NAMESPACE_EXPORT(Q_BLUETOOTH_EXPORT)
16// TODO Qt 6: Merge these two enums? But note that ATT Authorization has no equivalent
17// on the socket security level.
18
19enum class Security {
20 NoSecurity = 0x00,
23 Encryption = 0x04,
24 Secure = 0x08
25};
26Q_ENUM_NS(Security)
29
35Q_ENUM_NS(AttAccessConstraint)
36
39
40}
41
43
44QT_END_NAMESPACE
45
46#endif // QBLUETOOTH_H
void addAction(const QJniObject &filter)
QString valueForStaticField()
JavaNames
@ ExtraDevice
@ ExtraUuid
@ ExtraBondState
@ ExtraRssi
@ ActionScanModeChanged
@ ExtraPairingKey
@ ActionFound
@ ActionDiscoveryStarted
@ ActionAclDisconnected
@ ActionBondStateChanged
@ ActionUuid
@ BluetoothAdapter
@ ExtraPairingVariant
@ ExtraScanMode
@ BluetoothDevice
@ ActionAclConnected
@ ActionDiscoveryFinished
QString valueFromStaticFieldCache(const char *key, const char *className, const char *fieldName)
\inmodule QtBluetooth
Definition qbluetooth.h:14
quint16 QLowEnergyHandle
Definition qbluetooth.h:42