20#include <QtCore/qloggingcategory.h>
21#include <QtCore/qglobal.h>
23#include <QtCore/private/qcore_mac_p.h>
25#include <Foundation/Foundation.h>
27#include <CoreBluetooth/CoreBluetooth.h>
30#include <IOBluetooth/IOBluetooth.h>
65 return m_ptr.
getAs<T>();
71 return m_ptr.
getAs<T>();
78#define QT_BT_MAC_AUTORELEASEPOOL const QMacAutoReleasePool pool;
87 return this->getAs<T>();
92 return this->getAs<T>();
98#ifndef QT_IOS_BLUETOOTH
ObjCScopedPointer()=default
ObjCScopedPointer(T *ptr, RetainPolicy policy)
void reset(T *ptr, RetainPolicy policy)
void swap(ObjCScopedPointer &other)
StrongReference()=default
void swap(StrongReference &other) noexcept
The QLowEnergyCharacteristicData class is used to set up GATT service data. \inmodule QtBluetooth.
\macro QT_RESTRICTED_CAST_FROM_ASCII
ObjCStrongReference< CBUUID > cb_uuid(const QBluetoothUuid &qtUuid)
const int defaultLEScanTimeoutMS
bool equal_uuids(const QBluetoothUuid &qtUuid, CBUUID *cbUuid)
ObjCStrongReference< NSMutableData > mutable_data_from_bytearray(const QByteArray &qtData)
BluetoothDeviceAddress iobluetooth_address(const QBluetoothAddress &qAddress)
QByteArray qt_bytearray(NSData *data)
QBluetoothUuid qt_uuid(NSUUID *nsUuid)
QString qt_address(NSString *address)
void qt_test_iobluetooth_runloop()
QString qt_error_string(IOReturn errorCode)
ObjCStrongReference< NSData > data_from_bytearray(const QByteArray &qtData)
ObjCStrongReference< IOBluetoothSDPUUID > iobluetooth_uuid(const QBluetoothUuid &uuid)
dispatch_queue_t qt_LE_queue()
Combined button and popup list for selecting options.
#define Q_DECLARE_LOGGING_CATEGORY(name)
static ControlElement< T > * ptr(QWidget *widget)
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLuint GLuint64EXT address