![]() |
Qt 6.x
The Qt SDK
|
#include "qbluetoothserviceinfo.h"
#include "qbluetoothserviceinfo_p.h"
#include "qbluetoothserver_p.h"
#include "qbluetoothutils_winrt_p.h"
#include <QtCore/QLoggingCategory>
#include <QtCore/private/qfunctions_winrt_p.h>
#include <wrl.h>
#include <windows.devices.bluetooth.h>
#include <windows.devices.bluetooth.rfcomm.h>
#include <windows.foundation.h>
#include <windows.networking.sockets.h>
#include <windows.storage.streams.h>
Go to the source code of this file.
Macros | |
#define | TYPE_VOID 0 |
#define | TYPE_UINT8 8 |
#define | TYPE_UINT16 9 |
#define | TYPE_UINT32 10 |
#define | TYPE_UINT64 11 |
#define | TYPE_INT8 16 |
#define | TYPE_INT16 17 |
#define | TYPE_INT32 18 |
#define | TYPE_INT64 19 |
#define | TYPE_UUID16 25 |
#define | TYPE_UUID32 26 |
#define | TYPE_UUID128 28 |
#define | TYPE_STRING_BASE 32 |
#define | TYPE_BOOLEAN 40 |
#define | TYPE_SEQUENCE_BASE 48 |
#define | TYPE_ALTERNATIVE_BASE 56 |
#define | TYPE_URL_BASE 64 |
Functions | |
bool | typeIsOfBase (unsigned char type, unsigned char baseType) |
qint64 | getLengthForBaseType (unsigned char type, ComPtr< IDataReader > &reader) |
bool | writeStringHelper (const QString &string, ComPtr< IDataWriter > writer) |
bool | repairProfileDescriptorListIfNeeded (ComPtr< IBuffer > &buffer) |
static ComPtr< IBuffer > | bufferFromAttribute (const QVariant &attribute) |
Variables | |
QHash< QBluetoothServerPrivate *, int > | __fakeServerPorts |
#define TYPE_ALTERNATIVE_BASE 56 |
Definition at line 49 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_BOOLEAN 40 |
Definition at line 47 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_INT16 17 |
Definition at line 39 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_INT32 18 |
Definition at line 40 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_INT64 19 |
Definition at line 41 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_INT8 16 |
Definition at line 38 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_SEQUENCE_BASE 48 |
Definition at line 48 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_STRING_BASE 32 |
Definition at line 46 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_UINT16 9 |
Definition at line 34 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_UINT32 10 |
Definition at line 35 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_UINT64 11 |
Definition at line 36 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_UINT8 8 |
Definition at line 33 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_URL_BASE 64 |
Definition at line 50 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_UUID128 28 |
Definition at line 45 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_UUID16 25 |
Definition at line 43 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_UUID32 26 |
Definition at line 44 of file qbluetoothserviceinfo_winrt.cpp.
#define TYPE_VOID 0 |
Definition at line 32 of file qbluetoothserviceinfo_winrt.cpp.
Definition at line 192 of file qbluetoothserviceinfo_winrt.cpp.
References bufferFromAttribute(), QString::fromLatin1(), QBluetoothUuid::minimumSize(), Q_FUNC_INFO, qCDebug, qCWarning, qint8, QByteArray::toHex(), TYPE_BOOLEAN, TYPE_INT16, TYPE_INT32, TYPE_INT64, TYPE_INT8, TYPE_SEQUENCE_BASE, TYPE_UINT16, TYPE_UINT32, TYPE_UINT64, TYPE_UINT8, TYPE_UUID128, TYPE_UUID16, TYPE_UUID32, TYPE_VOID, and writeStringHelper().
Referenced by bufferFromAttribute().
Definition at line 59 of file qbluetoothserviceinfo_winrt.cpp.
References TYPE_ALTERNATIVE_BASE, TYPE_SEQUENCE_BASE, TYPE_STRING_BASE, TYPE_URL_BASE, and typeIsOfBase().
Referenced by repairProfileDescriptorListIfNeeded().
bool repairProfileDescriptorListIfNeeded | ( | ComPtr< IBuffer > & | buffer | ) |
Definition at line 132 of file qbluetoothserviceinfo_winrt.cpp.
References getLengthForBaseType(), Q_FUNC_INFO, qCDebug, qCWarning, TYPE_SEQUENCE_BASE, TYPE_UINT16, TYPE_UUID16, and typeIsOfBase().
|
inline |
Definition at line 54 of file qbluetoothserviceinfo_winrt.cpp.
Referenced by getLengthForBaseType(), and repairProfileDescriptorListIfNeeded().
Definition at line 94 of file qbluetoothserviceinfo_winrt.cpp.
References qCWarning, and TYPE_STRING_BASE.
Referenced by bufferFromAttribute().
|
extern |
Definition at line 20 of file qbluetoothserver_android.cpp.
Referenced by QBluetoothServerPrivate::~QBluetoothServerPrivate(), QBluetoothServer::close(), QBluetoothServer::listen(), QBluetoothServiceInfoPrivate::registerService(), QBluetoothServer::serverPort(), and QBluetoothServiceInfoPrivate::unregisterService().