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
qbluetoothdevicediscoveryagent_winrt.cpp File Reference

(42b3dd064d6a866e8cc1c5f27f3d10970e94c25e)

#include "qbluetoothdevicediscoveryagent.h"
#include "qbluetoothdevicediscoveryagent_p.h"
#include "qbluetoothaddress.h"
#include "qbluetoothuuid.h"
#include <QtBluetooth/private/qbluetoothdevicewatcher_winrt_p.h>
#include <QtBluetooth/private/qbluetoothutils_winrt_p.h>
#include <QtBluetooth/private/qtbluetoothglobal_p.h>
#include <QtCore/QLoggingCategory>
#include <QtCore/QMutex>
#include <QtCore/qendian.h>
#include <winrt/Windows.Devices.Bluetooth.h>
#include <winrt/Windows.Devices.Bluetooth.Advertisement.h>
#include <winrt/Windows.Devices.Bluetooth.Rfcomm.h>
#include <winrt/Windows.Devices.Bluetooth.GenericAttributeProfile.h>
#include <winrt/Windows.Devices.Enumeration.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.Foundation.Collections.h>
#include <winrt/Windows.Storage.Streams.h>
#include <qbluetoothdevicediscoveryagent_winrt.moc>
Include dependency graph for qbluetoothdevicediscoveryagent_winrt.cpp:

Go to the source code of this file.

Classes

class  AdvertisementWatcherWrapper
class  QWinRTBluetoothDeviceDiscoveryWorker

Functions

static QT_BEGIN_NAMESPACE QByteArray byteArrayFromBuffer (const IBuffer &buffer)
static ManufacturerData extractManufacturerData (const BluetoothLEAdvertisement &ad)
static ServiceData extractServiceData (const BluetoothLEAdvertisement &ad)
static GUID fromWinRtGuid (const winrt::guid &guid)
static void invokeDecrementPendingDevicesCountAndCheckFinished (std::shared_ptr< QWinRTBluetoothDeviceDiscoveryWorker > worker)

Variables

static const winrt::hstring ClassicDeviceSelector

Function Documentation

◆ byteArrayFromBuffer()

QT_BEGIN_NAMESPACE QByteArray byteArrayFromBuffer ( const IBuffer & buffer)
static

Definition at line 41 of file qbluetoothdevicediscoveryagent_winrt.cpp.

◆ extractManufacturerData()

ManufacturerData extractManufacturerData ( const BluetoothLEAdvertisement & ad)
static

Definition at line 48 of file qbluetoothdevicediscoveryagent_winrt.cpp.

◆ extractServiceData()

ServiceData extractServiceData ( const BluetoothLEAdvertisement & ad)
static

Definition at line 62 of file qbluetoothdevicediscoveryagent_winrt.cpp.

◆ fromWinRtGuid()

GUID fromWinRtGuid ( const winrt::guid & guid)
static

Definition at line 94 of file qbluetoothdevicediscoveryagent_winrt.cpp.

◆ invokeDecrementPendingDevicesCountAndCheckFinished()

void invokeDecrementPendingDevicesCountAndCheckFinished ( std::shared_ptr< QWinRTBluetoothDeviceDiscoveryWorker > worker)
static

Definition at line 274 of file qbluetoothdevicediscoveryagent_winrt.cpp.

Variable Documentation

◆ ClassicDeviceSelector

const winrt::hstring ClassicDeviceSelector
static
Initial value:
=
L"System.Devices.Aep.ProtocolId:=\"{e0cbf06c-cd8b-4647-bb8a-263b43f0f974}\""

Definition at line 185 of file qbluetoothdevicediscoveryagent_winrt.cpp.