Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
DarwinBluetooth Namespace Reference

Classes

struct  AdvertisementData
 
class  LECBManagerNotifier
 
struct  LERequest
 
class  ObjCScopedPointer
 
class  ObjCStrongReference
 
class  ScopedPointer
 
class  SerialDispatchQueue
 
class  StrongReference
 

Typedefs

typedef QHash< QLowEnergyHandle, CBService * > ServiceHash
 
typedef QHash< QLowEnergyHandle, CBCharacteristic * > CharHash
 
typedef QHash< QLowEnergyHandle, CBDescriptor * > DescHash
 
typedef QQueue< LERequestRequestQueue
 
typedef QHash< NSObject *, QByteArrayValueHash
 
using GCDTimer = ObjCStrongReference<DarwinBTGCDTimer>
 

Enumerations

enum  CentralManagerState {
  CentralManagerIdle , CentralManagerUpdating , CentralManagerConnecting , CentralManagerDiscovering ,
  CentralManagerDisconnecting
}
 
enum class  OperationTimeout {
  none , serviceDiscovery , includedServicesDiscovery , characteristicsDiscovery ,
  characteristicRead , descriptorsDiscovery , descriptorRead , characteristicWrite
}
 
enum class  RetainPolicy { noInitialRetain , doInitialRetain }
 

Functions

NSUInteger qt_countGATTEntries (CBService *service)
 
ObjCStrongReference< NSError > qt_timeoutNSError (OperationTimeout type)
 
auto qt_find_watchdog (const std::vector< GCDTimer > &watchdogs, id object, OperationTimeout type)
 
ObjCStrongReference< IOBluetoothDevice > device_with_address (const QBluetoothAddress &address)
 
QBluetoothUuid qt_uuid (NSUUID *nsUuid)
 
QVariant extract_attribute_value (IOBluetoothSDPDataElement *dataElement)
 
void extract_service_record (IOBluetoothSDPServiceRecord *record, QBluetoothServiceInfo &serviceInfo)
 
QList< QBluetoothUuidextract_services_uuids (IOBluetoothDevice *device)
 
template<class IntType >
Number variant_to_nsnumber (const QVariant &)
 
template<>
Number variant_to_nsnumber< unsigned char > (const QVariant &var)
 
template<>
Number variant_to_nsnumber< unsigned short > (const QVariant &var)
 
template<>
Number variant_to_nsnumber< unsigned > (const QVariant &var)
 
template<>
Number variant_to_nsnumber< char > (const QVariant &var)
 
template<>
Number variant_to_nsnumber< short > (const QVariant &var)
 
template<>
Number variant_to_nsnumber< int > (const QVariant &var)
 
template<class ValueType >
void add_attribute (const QVariant &var, AttributeId key, Dictionary dict)
 
template<>
void add_attribute< QString > (const QVariant &var, AttributeId key, Dictionary dict)
 
template<>
void add_attribute< QBluetoothUuid > (const QVariant &var, AttributeId key, Dictionary dict)
 
template<>
void add_attribute< QUrl > (const QVariant &var, AttributeId key, Dictionary dict)
 
template<class ValueType >
void add_attribute (const QVariant &var, NSMutableArray *list)
 
template<>
void add_attribute< unsigned short > (const QVariant &var, NSMutableArray *list)
 
template<>
void add_attribute< QString > (const QVariant &var, NSMutableArray *list)
 
template<>
void add_attribute< QBluetoothUuid > (const QVariant &var, NSMutableArray *list)
 
template<>
void add_attribute< QUrl > (const QVariant &var, NSMutableArray *list)
 
void add_rfcomm_protocol_descriptor_list (uint16 channelID, Dictionary dict)
 
void add_l2cap_protocol_descriptor_list (uint16 psm, Dictionary dict)
 
bool add_attribute (const QVariant &var, AttributeId key, NSMutableArray *list)
 
bool add_attribute (const QBluetoothServiceInfo &serviceInfo, AttributeId key, Dictionary dict)
 
bool add_sequence_attribute (const QVariant &var, AttributeId key, NSMutableArray *list)
 
bool add_sequence_attribute (const QBluetoothServiceInfo &serviceInfo, AttributeId key, Dictionary dict)
 
Dictionary iobluetooth_service_dictionary (const QBluetoothServiceInfo &serviceInfo)
 
QString qt_address (NSString *address)
 
QBluetoothAddress qt_address (const BluetoothDeviceAddress *a)
 
BluetoothDeviceAddress iobluetooth_address (const QBluetoothAddress &qAddress)
 
ObjCStrongReference< IOBluetoothSDPUUID > iobluetooth_uuid (const QBluetoothUuid &uuid)
 
QBluetoothUuid qt_uuid (IOBluetoothSDPUUID *uuid)
 
QString qt_error_string (IOReturn errorCode)
 
void qt_test_iobluetooth_runloop ()
 
QBluetoothUuid qt_uuid (CBUUID *uuid)
 
ObjCStrongReference< CBUUID > cb_uuid (const QBluetoothUuid &qtUuid)
 
bool equal_uuids (const QBluetoothUuid &qtUuid, CBUUID *cbUuid)
 
bool equal_uuids (CBUUID *cbUuid, const QBluetoothUuid &qtUuid)
 
QByteArray qt_bytearray (NSData *data)
 
template<class Integer >
QByteArray qt_bytearray (Integer n)
 
QByteArray qt_bytearray (NSString *string)
 
QByteArray qt_bytearray (NSObject *obj)
 
ObjCStrongReference< NSData > data_from_bytearray (const QByteArray &qtData)
 
ObjCStrongReference< NSMutableData > mutable_data_from_bytearray (const QByteArray &qtData)
 
dispatch_queue_t qt_LE_queue ()
 

Variables

const int timeStepMS = 100
 
const int powerOffTimeoutMS = 30000
 
const int defaultLEScanTimeoutMS = 40000
 
const int maxValueLength = 512
 
const int defaultMtu = 23
 

Typedef Documentation

◆ CharHash

typedef QHash<QLowEnergyHandle, CBCharacteristic *> DarwinBluetooth::CharHash

Definition at line 58 of file btcentralmanager_p.h.

◆ DescHash

Definition at line 59 of file btcentralmanager_p.h.

◆ GCDTimer

◆ RequestQueue

◆ ServiceHash

Definition at line 57 of file btcentralmanager_p.h.

◆ ValueHash

Definition at line 92 of file btcentralmanager_p.h.

Enumeration Type Documentation

◆ CentralManagerState

Enumerator
CentralManagerIdle 
CentralManagerUpdating 
CentralManagerConnecting 
CentralManagerDiscovering 
CentralManagerDisconnecting 

Definition at line 40 of file btcentralmanager_p.h.

◆ OperationTimeout

Enumerator
none 
serviceDiscovery 
includedServicesDiscovery 
characteristicsDiscovery 
characteristicRead 
descriptorsDiscovery 
descriptorRead 
characteristicWrite 

Definition at line 30 of file btgcdtimer_p.h.

◆ RetainPolicy

enum class DarwinBluetooth::RetainPolicy
strong
Enumerator
noInitialRetain 
doInitialRetain 

Definition at line 26 of file btraii_p.h.

Function Documentation

◆ add_attribute() [1/4]

bool DarwinBluetooth::add_attribute ( const QBluetoothServiceInfo & serviceInfo,
AttributeId key,
Dictionary dict )

Definition at line 329 of file btservicerecord.mm.

References add_attribute< QBluetoothUuid >(), add_attribute< QString >(), add_attribute< QUrl >(), QVariant::canConvert(), Q_ASSERT_X, Q_FUNC_INFO, QVariant::typeId(), QVariant::userType(), and var.

+ Here is the call graph for this function:

◆ add_attribute() [2/4]

template<class ValueType >
void DarwinBluetooth::add_attribute ( const QVariant & var,
AttributeId key,
Dictionary dict )

Definition at line 105 of file btservicerecord.mm.

References QVariant::canConvert(), Q_ASSERT_X, Q_FUNC_INFO, and var.

Referenced by add_sequence_attribute(), add_sequence_attribute(), and iobluetooth_service_dictionary().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_attribute() [3/4]

bool DarwinBluetooth::add_attribute ( const QVariant & var,
AttributeId key,
NSMutableArray * list )

Definition at line 289 of file btservicerecord.mm.

References add_attribute< QBluetoothUuid >(), add_attribute< QString >(), add_attribute< QUrl >(), add_attribute< unsigned short >(), QVariant::canConvert(), list, Q_ASSERT_X, Q_FUNC_INFO, QVariant::typeId(), QVariant::userType(), and var.

+ Here is the call graph for this function:

◆ add_attribute() [4/4]

template<class ValueType >
void DarwinBluetooth::add_attribute ( const QVariant & var,
NSMutableArray * list )

Definition at line 162 of file btservicerecord.mm.

References QVariant::canConvert(), list, Q_ASSERT_X, Q_FUNC_INFO, and var.

+ Here is the call graph for this function:

◆ add_attribute< QBluetoothUuid >() [1/2]

template<>
void DarwinBluetooth::add_attribute< QBluetoothUuid > ( const QVariant & var,
AttributeId key,
Dictionary dict )

Definition at line 132 of file btservicerecord.mm.

References QVariant::canConvert(), iobluetooth_uuid(), Q_ASSERT_X, Q_FUNC_INFO, QVariant::value(), and var.

Referenced by add_attribute(), and add_attribute().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_attribute< QBluetoothUuid >() [2/2]

template<>
void DarwinBluetooth::add_attribute< QBluetoothUuid > ( const QVariant & var,
NSMutableArray * list )

Definition at line 208 of file btservicerecord.mm.

References QVariant::canConvert(), iobluetooth_uuid(), list, Q_ASSERT_X, Q_FUNC_INFO, QVariant::value(), and var.

+ Here is the call graph for this function:

◆ add_attribute< QString >() [1/2]

template<>
void DarwinBluetooth::add_attribute< QString > ( const QVariant & var,
AttributeId key,
Dictionary dict )

Definition at line 117 of file btservicerecord.mm.

References QVariant::canConvert(), Q_ASSERT_X, Q_FUNC_INFO, QVariant::value(), and var.

Referenced by add_attribute(), and add_attribute().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_attribute< QString >() [2/2]

template<>
void DarwinBluetooth::add_attribute< QString > ( const QVariant & var,
NSMutableArray * list )

Definition at line 193 of file btservicerecord.mm.

References QVariant::canConvert(), list, Q_ASSERT_X, Q_FUNC_INFO, QVariant::value(), and var.

+ Here is the call graph for this function:

◆ add_attribute< QUrl >() [1/2]

template<>
void DarwinBluetooth::add_attribute< QUrl > ( const QVariant & var,
AttributeId key,
Dictionary dict )

Definition at line 144 of file btservicerecord.mm.

References QVariant::canConvert(), Q_ASSERT_X, Q_FUNC_INFO, Q_UNUSED, and var.

Referenced by add_attribute(), and add_attribute().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_attribute< QUrl >() [2/2]

template<>
void DarwinBluetooth::add_attribute< QUrl > ( const QVariant & var,
NSMutableArray * list )

Definition at line 220 of file btservicerecord.mm.

References QVariant::canConvert(), list, Q_ASSERT_X, Q_FUNC_INFO, Q_UNUSED, and var.

+ Here is the call graph for this function:

◆ add_attribute< unsigned short >()

template<>
void DarwinBluetooth::add_attribute< unsigned short > ( const QVariant & var,
NSMutableArray * list )

Definition at line 174 of file btservicerecord.mm.

References QVariant::canConvert(), list, Q_ASSERT_X, Q_FUNC_INFO, and var.

Referenced by add_attribute().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_l2cap_protocol_descriptor_list()

void DarwinBluetooth::add_l2cap_protocol_descriptor_list ( uint16 psm,
Dictionary dict )

Definition at line 263 of file btservicerecord.mm.

References dictionary, Q_ASSERT_X, Q_FUNC_INFO, and QT_BT_MAC_AUTORELEASEPOOL.

Referenced by iobluetooth_service_dictionary().

+ Here is the caller graph for this function:

◆ add_rfcomm_protocol_descriptor_list()

void DarwinBluetooth::add_rfcomm_protocol_descriptor_list ( uint16 channelID,
Dictionary dict )

Definition at line 232 of file btservicerecord.mm.

References dictionary, Q_ASSERT_X, Q_FUNC_INFO, and QT_BT_MAC_AUTORELEASEPOOL.

Referenced by iobluetooth_service_dictionary().

+ Here is the caller graph for this function:

◆ add_sequence_attribute() [1/2]

bool DarwinBluetooth::add_sequence_attribute ( const QBluetoothServiceInfo & serviceInfo,
AttributeId key,
Dictionary dict )

Definition at line 389 of file btservicerecord.mm.

References add_attribute(), add_sequence_attribute(), QVariant::canConvert(), QVariant::isNull(), list, Q_ASSERT_X, Q_FUNC_INFO, QT_BT_MAC_AUTORELEASEPOOL, QVariant::value(), and var.

+ Here is the call graph for this function:

◆ add_sequence_attribute() [2/2]

bool DarwinBluetooth::add_sequence_attribute ( const QVariant & var,
AttributeId key,
NSMutableArray * list )

Definition at line 366 of file btservicerecord.mm.

References add_attribute(), add_sequence_attribute(), QVariant::canConvert(), QVariant::isNull(), list, Q_ASSERT_X, Q_FUNC_INFO, QVariant::value(), and var.

Referenced by add_sequence_attribute(), add_sequence_attribute(), and iobluetooth_service_dictionary().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cb_uuid()

ObjCStrongReference< CBUUID > DarwinBluetooth::cb_uuid ( const QBluetoothUuid & qtUuid)

Definition at line 174 of file btutility.mm.

References cb_uuid(), ok, and qToBigEndian().

Referenced by cb_uuid().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ data_from_bytearray()

ObjCStrongReference< NSData > DarwinBluetooth::data_from_bytearray ( const QByteArray & qtData)

Definition at line 272 of file btutility.mm.

References data_from_bytearray(), and init().

Referenced by data_from_bytearray().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ device_with_address()

ObjCStrongReference< IOBluetoothDevice > DarwinBluetooth::device_with_address ( const QBluetoothAddress & address)

Definition at line 14 of file btdevicepair.mm.

References doInitialRetain, and iobluetooth_address().

Referenced by QBluetoothLocalDevicePrivate::pairingStatus().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ equal_uuids() [1/2]

bool DarwinBluetooth::equal_uuids ( CBUUID * cbUuid,
const QBluetoothUuid & qtUuid )

Definition at line 196 of file btutility.mm.

References equal_uuids().

+ Here is the call graph for this function:

◆ equal_uuids() [2/2]

bool DarwinBluetooth::equal_uuids ( const QBluetoothUuid & qtUuid,
CBUUID * cbUuid )

Definition at line 190 of file btutility.mm.

References equal_uuids(), and qt_uuid().

Referenced by equal_uuids(), and equal_uuids().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ extract_attribute_value()

QVariant DarwinBluetooth::extract_attribute_value ( IOBluetoothSDPDataElement * dataElement)

Definition at line 90 of file btsdpinquiry.mm.

References QList< T >::append(), extract_attribute_value(), QVariant::fromValue(), Q_ASSERT_X, Q_FUNC_INFO, and QT_BT_MAC_AUTORELEASEPOOL.

Referenced by extract_attribute_value(), and extract_service_record().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ extract_service_record()

void DarwinBluetooth::extract_service_record ( IOBluetoothSDPServiceRecord * record,
QBluetoothServiceInfo & serviceInfo )

Definition at line 132 of file btsdpinquiry.mm.

References extract_attribute_value(), QList< T >::isEmpty(), QUuid::isNull(), keys, QT_BT_MAC_AUTORELEASEPOOL, record(), and QBluetoothServiceInfo::ServiceClassIds.

+ Here is the call graph for this function:

◆ extract_services_uuids()

QList< QBluetoothUuid > DarwinBluetooth::extract_services_uuids ( IOBluetoothDevice * device)

Definition at line 158 of file btsdpinquiry.mm.

References device, QT_BT_MAC_AUTORELEASEPOOL, and record().

+ Here is the call graph for this function:

◆ iobluetooth_address()

BluetoothDeviceAddress DarwinBluetooth::iobluetooth_address ( const QBluetoothAddress & qAddress)

Definition at line 65 of file btutility.mm.

References iobluetooth_address().

Referenced by device_with_address(), and iobluetooth_address().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ iobluetooth_service_dictionary()

ObjCStrongReference< NSMutableDictionary > DarwinBluetooth::iobluetooth_service_dictionary ( const QBluetoothServiceInfo & serviceInfo)

Definition at line 409 of file btservicerecord.mm.

References add_attribute(), add_l2cap_protocol_descriptor_list(), add_rfcomm_protocol_descriptor_list(), add_sequence_attribute(), init(), QBluetoothServiceInfo::L2capProtocol, noInitialRetain, and QBluetoothServiceInfo::UnknownProtocol.

+ Here is the call graph for this function:

◆ iobluetooth_uuid()

ObjCStrongReference< IOBluetoothSDPUUID > DarwinBluetooth::iobluetooth_uuid ( const QBluetoothUuid & uuid)

Definition at line 81 of file btutility.mm.

References iobluetooth_uuid(), and QUuid::toBytes().

Referenced by add_attribute< QBluetoothUuid >(), add_attribute< QBluetoothUuid >(), and iobluetooth_uuid().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mutable_data_from_bytearray()

ObjCStrongReference< NSMutableData > DarwinBluetooth::mutable_data_from_bytearray ( const QByteArray & qtData)

Definition at line 281 of file btutility.mm.

References init(), and mutable_data_from_bytearray().

Referenced by mutable_data_from_bytearray().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_address() [1/2]

QBluetoothAddress DarwinBluetooth::qt_address ( const BluetoothDeviceAddress * a)

Definition at line 49 of file btutility.mm.

References QString::data(), and qt_address().

+ Here is the call graph for this function:

◆ qt_address() [2/2]

QString DarwinBluetooth::qt_address ( NSString * address)

Definition at line 36 of file btutility.mm.

References qt_address().

Referenced by qt_address(), and qt_address().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_bytearray() [1/4]

template<class Integer >
QByteArray DarwinBluetooth::qt_bytearray ( Integer n)

Definition at line 215 of file btutility.mm.

References qt_bytearray().

+ Here is the call graph for this function:

◆ qt_bytearray() [2/4]

QByteArray DarwinBluetooth::qt_bytearray ( NSData * data)

Definition at line 201 of file btutility.mm.

References qt_bytearray().

Referenced by qt_bytearray(), qt_bytearray(), qt_bytearray(), and qt_bytearray().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_bytearray() [3/4]

QByteArray DarwinBluetooth::qt_bytearray ( NSObject * obj)

Definition at line 236 of file btutility.mm.

References QByteArray(), QT_BT_MAC_AUTORELEASEPOOL, and qt_bytearray().

+ Here is the call graph for this function:

◆ qt_bytearray() [4/4]

QByteArray DarwinBluetooth::qt_bytearray ( NSString * string)

Definition at line 225 of file btutility.mm.

References QByteArray(), QT_BT_MAC_AUTORELEASEPOOL, and qt_bytearray().

+ Here is the call graph for this function:

◆ qt_countGATTEntries()

NSUInteger DarwinBluetooth::qt_countGATTEntries ( CBService * service)

Definition at line 24 of file btcentralmanager.mm.

References Q_ASSERT_X, Q_FUNC_INFO, and QT_BT_MAC_AUTORELEASEPOOL.

◆ qt_error_string()

QString DarwinBluetooth::qt_error_string ( IOReturn errorCode)

Definition at line 104 of file btutility.mm.

References QString::fromLatin1().

+ Here is the call graph for this function:

◆ qt_find_watchdog()

auto DarwinBluetooth::qt_find_watchdog ( const std::vector< GCDTimer > & watchdogs,
id object,
OperationTimeout type )

Definition at line 62 of file btcentralmanager.mm.

◆ qt_LE_queue()

◆ qt_test_iobluetooth_runloop()

void DarwinBluetooth::qt_test_iobluetooth_runloop ( )

Definition at line 125 of file btutility.mm.

References qCWarning, and qt_test_iobluetooth_runloop().

Referenced by qt_test_iobluetooth_runloop(), and QBluetoothServiceDiscoveryAgent::start().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_timeoutNSError()

ObjCStrongReference< NSError > DarwinBluetooth::qt_timeoutNSError ( OperationTimeout type)

Definition at line 49 of file btcentralmanager.mm.

References noInitialRetain, none, Q_ASSERT, and Q_UNUSED.

◆ qt_uuid() [1/3]

QBluetoothUuid DarwinBluetooth::qt_uuid ( CBUUID * uuid)

Definition at line 142 of file btutility.mm.

References qCDebug, QT_BT_MAC_AUTORELEASEPOOL, and qt_uuid().

+ Here is the call graph for this function:

◆ qt_uuid() [2/3]

QBluetoothUuid DarwinBluetooth::qt_uuid ( IOBluetoothSDPUUID * uuid)

Definition at line 91 of file btutility.mm.

References qt_uuid().

+ Here is the call graph for this function:

◆ qt_uuid() [3/3]

QBluetoothUuid DarwinBluetooth::qt_uuid ( NSUUID * nsUuid)

Definition at line 21 of file btledeviceinquiry.mm.

Referenced by DarwinBluetooth::AdvertisementData::AdvertisementData(), equal_uuids(), QT_BEGIN_NAMESPACE::qt_createLEService(), QT_BEGIN_NAMESPACE::qt_servicesUuids(), qt_uuid(), and qt_uuid().

+ Here is the caller graph for this function:

◆ variant_to_nsnumber()

template<class IntType >
Number DarwinBluetooth::variant_to_nsnumber ( const QVariant & )

◆ variant_to_nsnumber< char >()

template<>
Number DarwinBluetooth::variant_to_nsnumber< char > ( const QVariant & var)

Definition at line 87 of file btservicerecord.mm.

References doInitialRetain, QVariant::value(), and var.

+ Here is the call graph for this function:

◆ variant_to_nsnumber< int >()

template<>
Number DarwinBluetooth::variant_to_nsnumber< int > ( const QVariant & var)

Definition at line 99 of file btservicerecord.mm.

References doInitialRetain, QVariant::value(), and var.

+ Here is the call graph for this function:

◆ variant_to_nsnumber< short >()

template<>
Number DarwinBluetooth::variant_to_nsnumber< short > ( const QVariant & var)

Definition at line 93 of file btservicerecord.mm.

References doInitialRetain, QVariant::value(), and var.

+ Here is the call graph for this function:

◆ variant_to_nsnumber< unsigned >()

template<>
Number DarwinBluetooth::variant_to_nsnumber< unsigned > ( const QVariant & var)

Definition at line 81 of file btservicerecord.mm.

References doInitialRetain, QVariant::value(), and var.

+ Here is the call graph for this function:

◆ variant_to_nsnumber< unsigned char >()

template<>
Number DarwinBluetooth::variant_to_nsnumber< unsigned char > ( const QVariant & var)

Definition at line 69 of file btservicerecord.mm.

References doInitialRetain, QVariant::value(), and var.

+ Here is the call graph for this function:

◆ variant_to_nsnumber< unsigned short >()

template<>
Number DarwinBluetooth::variant_to_nsnumber< unsigned short > ( const QVariant & var)

Definition at line 75 of file btservicerecord.mm.

References doInitialRetain, QVariant::value(), and var.

+ Here is the call graph for this function:

Variable Documentation

◆ defaultLEScanTimeoutMS

const int DarwinBluetooth::defaultLEScanTimeoutMS = 40000

Definition at line 30 of file btutility.mm.

◆ defaultMtu

const int DarwinBluetooth::defaultMtu = 23

Definition at line 34 of file btutility.mm.

Referenced by QLowEnergyControllerPrivateDarwin::mtu().

◆ maxValueLength

const int DarwinBluetooth::maxValueLength = 512

Definition at line 32 of file btutility.mm.

◆ powerOffTimeoutMS

const int DarwinBluetooth::powerOffTimeoutMS = 30000

Definition at line 34 of file btledeviceinquiry.mm.

◆ timeStepMS

const int DarwinBluetooth::timeStepMS = 100

Definition at line 33 of file btledeviceinquiry.mm.