![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qlowenergycontroller_winrt_p.h"#include "qbluetoothutils_winrt_p.h"#include <QtBluetooth/qbluetoothlocaldevice.h>#include <QtBluetooth/QLowEnergyCharacteristicData>#include <QtBluetooth/QLowEnergyDescriptorData>#include <QtBluetooth/private/qbluetoothutils_winrt_p.h>#include <QtBluetooth/QLowEnergyService>#include <QtCore/QtEndian>#include <QtCore/QLoggingCategory>#include <QtCore/private/qfunctions_winrt_p.h>#include <QtCore/QDeadlineTimer>#include <QtCore/qpointer.h>#include <QtCore/QAbstractEventDispatcher>#include <functional>#include <type_traits>#include <winrt/Windows.Foundation.h>#include <winrt/Windows.Foundation.Collections.h>#include <winrt/Windows.Foundation.Metadata.h>#include <winrt/Windows.Devices.Enumeration.h>#include <winrt/Windows.Devices.Bluetooth.h>#include <winrt/Windows.Devices.Bluetooth.GenericAttributeProfile.h>#include <winrt/Windows.Storage.Streams.h>#include <windows.devices.bluetooth.h>#include <windows.devices.bluetooth.genericattributeprofile.h>#include "qlowenergycontroller_winrt.moc"Go to the source code of this file.
Classes | |
| class | QWinRTLowEnergyServiceHandler |
| class | QWinRTLowEnergyConnectionHandler |
Namespaces | |
| namespace | abi |
Macros | |
| #define | ENUM_BITWISE_OPS(E) |
| #define | WARN_AND_CONTINUE(msg) |
| #define | DEC_CHAR_COUNT_AND_CONTINUE(msg) |
| #define | RETURN_SERVICE_ERROR(msg, service, error) |
| #define | RETURN_FALSE(msg) |
| #define | RETURN_MSG(msg) |
Typedefs | |
| using | abi::BluetoothLEDevice = ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice |
| using | abi::GattSession = ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession |
| using | GlobalCondition = std::function<bool()> |
Functions | |
| template<typename E, std::enable_if_t< std::is_enum_v< E >, int > = 0> | |
| constexpr std::underlying_type_t< E > | bitwise_and (E xx, E yy) |
| template<typename T, typename E, std::enable_if_t< std::conjunction_v< std::is_integral< T >, std::is_enum< E > >, int > = 0> | |
| constexpr T | bitwise_and (T xx, E yy) |
| template<typename E, std::enable_if_t< std::is_enum_v< E >, int > = 0> | |
| constexpr std::underlying_type_t< E > | bitwise_or (E xx, E yy) |
| template<typename T, typename E, std::enable_if_t< std::conjunction_v< std::is_integral< T >, std::is_enum< E > >, int > = 0> | |
| constexpr T | bitwise_or (T xx, E yy) |
| template<typename T, typename E, std::enable_if_t< std::conjunction_v< std::is_integral< T >, std::is_enum< E > >, int > = 0> | |
| constexpr T & | bitwise_or_equal (T &aa, const E &bb) |
| static constexpr bool | never () |
| template<typename T> | |
| static T | await (IAsyncOperation< T > asyncInfo, GlobalCondition canceled=never, int timeouttimeout=5000) |
| template<typename T> | |
| static T | await_forever (IAsyncOperation< T > asyncInfo, GlobalCondition canceled=never) |
| static QByteArray | byteArrayFromBuffer (IBuffer bufferbuffer, bool isWCharString=false) |
| static QByteArray | byteArrayFromGattResult (GattReadResult gattResult, bool isWCharString=false) |
Variables | |
| QT_BEGIN_NAMESPACE typedef GattReadClientCharacteristicConfigurationDescriptorResult | ClientCharConfigDescriptorResult |
| constexpr int | timeout_infinity = -1 |
| static constexpr qint64 | kMaxConnectTimeout = 20000 |
| #define DEC_CHAR_COUNT_AND_CONTINUE | ( | msg | ) |
Definition at line 149 of file qlowenergycontroller_winrt.cpp.
| #define ENUM_BITWISE_OPS | ( | E | ) |
Definition at line 86 of file qlowenergycontroller_winrt.cpp.
| #define RETURN_FALSE | ( | msg | ) |
Definition at line 163 of file qlowenergycontroller_winrt.cpp.
| #define RETURN_MSG | ( | msg | ) |
Definition at line 169 of file qlowenergycontroller_winrt.cpp.
| #define RETURN_SERVICE_ERROR | ( | msg, | |
| service, | |||
| error ) |
Definition at line 156 of file qlowenergycontroller_winrt.cpp.
| #define WARN_AND_CONTINUE | ( | msg | ) |
Definition at line 143 of file qlowenergycontroller_winrt.cpp.
| typedef std::function< bool()> GlobalCondition = std::function<bool()> |
Definition at line 112 of file qlowenergycontroller_winrt.cpp.
|
static |
Definition at line 116 of file qlowenergycontroller_winrt.cpp.
|
inlinestatic |
Definition at line 138 of file qlowenergycontroller_winrt.cpp.
References timeout_infinity.
|
inlineconstexpr |
Definition at line 52 of file qlowenergycontroller_winrt.cpp.
|
inlineconstexpr |
Definition at line 59 of file qlowenergycontroller_winrt.cpp.
|
inlineconstexpr |
Definition at line 66 of file qlowenergycontroller_winrt.cpp.
|
inlineconstexpr |
Definition at line 73 of file qlowenergycontroller_winrt.cpp.
|
inlineconstexpr |
Definition at line 80 of file qlowenergycontroller_winrt.cpp.
|
static |
Definition at line 180 of file qlowenergycontroller_winrt.cpp.
|
static |
Definition at line 197 of file qlowenergycontroller_winrt.cpp.
|
staticconstexpr |
Definition at line 113 of file qlowenergycontroller_winrt.cpp.
| QT_BEGIN_NAMESPACE typedef GattReadClientCharacteristicConfigurationDescriptorResult ClientCharConfigDescriptorResult |
Definition at line 110 of file qlowenergycontroller_winrt.cpp.
|
staticconstexpr |
Definition at line 178 of file qlowenergycontroller_winrt.cpp.
|
constexpr |
Definition at line 135 of file qlowenergycontroller_winrt.cpp.
Referenced by await_forever().