![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
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< LERequest > | RequestQueue |
typedef QHash< NSObject *, QByteArray > | ValueHash |
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 } |
Variables | |
const int | defaultLEScanTimeoutMS = 40000 |
const int | maxValueLength = 512 |
const int | defaultMtu = 23 |
const int | timeStepMS = 100 |
const int | powerOffTimeoutMS = 30000 |
typedef QHash<QLowEnergyHandle, CBCharacteristic *> DarwinBluetooth::CharHash |
Definition at line 58 of file btcentralmanager_p.h.
typedef QHash<QLowEnergyHandle, CBDescriptor *> DarwinBluetooth::DescHash |
Definition at line 59 of file btcentralmanager_p.h.
Definition at line 67 of file btgcdtimer_p.h.
typedef QQueue<LERequest> DarwinBluetooth::RequestQueue |
Definition at line 84 of file btcentralmanager_p.h.
typedef QHash<QLowEnergyHandle, CBService *> DarwinBluetooth::ServiceHash |
Definition at line 57 of file btcentralmanager_p.h.
typedef QHash<NSObject *, QByteArray> DarwinBluetooth::ValueHash |
Definition at line 92 of file btcentralmanager_p.h.
Enumerator | |
---|---|
CentralManagerIdle | |
CentralManagerUpdating | |
CentralManagerConnecting | |
CentralManagerDiscovering | |
CentralManagerDisconnecting |
Definition at line 40 of file btcentralmanager_p.h.
|
strong |
Enumerator | |
---|---|
none | |
serviceDiscovery | |
includedServicesDiscovery | |
characteristicsDiscovery | |
characteristicRead | |
descriptorsDiscovery | |
descriptorRead | |
characteristicWrite |
Definition at line 30 of file btgcdtimer_p.h.
|
strong |
Enumerator | |
---|---|
noInitialRetain | |
doInitialRetain |
Definition at line 26 of file btraii_p.h.
bool DarwinBluetooth::add_attribute | ( | const QBluetoothServiceInfo & | serviceInfo, |
AttributeId | key, | ||
Dictionary | dict ) |
Definition at line 329 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute | ( | const QVariant & | var, |
AttributeId | key, | ||
Dictionary | dict ) |
Definition at line 105 of file btservicerecord.mm.
bool DarwinBluetooth::add_attribute | ( | const QVariant & | var, |
AttributeId | key, | ||
NSMutableArray * | list ) |
Definition at line 289 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute | ( | const QVariant & | var, |
NSMutableArray * | list ) |
Definition at line 162 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QBluetoothUuid > | ( | const QVariant & | var, |
AttributeId | key, | ||
Dictionary | dict ) |
Definition at line 132 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QBluetoothUuid > | ( | const QVariant & | var, |
AttributeId | key, | ||
Dictionary | dict ) |
Definition at line 132 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QBluetoothUuid > | ( | const QVariant & | var, |
NSMutableArray * | list ) |
Definition at line 208 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QBluetoothUuid > | ( | const QVariant & | var, |
NSMutableArray * | list ) |
Definition at line 208 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QString > | ( | const QVariant & | var, |
AttributeId | key, | ||
Dictionary | dict ) |
Definition at line 117 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QString > | ( | const QVariant & | var, |
AttributeId | key, | ||
Dictionary | dict ) |
Definition at line 117 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QString > | ( | const QVariant & | var, |
NSMutableArray * | list ) |
Definition at line 193 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QString > | ( | const QVariant & | var, |
NSMutableArray * | list ) |
Definition at line 193 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QUrl > | ( | const QVariant & | var, |
AttributeId | key, | ||
Dictionary | dict ) |
Definition at line 144 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QUrl > | ( | const QVariant & | var, |
AttributeId | key, | ||
Dictionary | dict ) |
Definition at line 144 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QUrl > | ( | const QVariant & | var, |
NSMutableArray * | list ) |
Definition at line 220 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< QUrl > | ( | const QVariant & | var, |
NSMutableArray * | list ) |
Definition at line 220 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< unsigned short > | ( | const QVariant & | var, |
NSMutableArray * | list ) |
Definition at line 174 of file btservicerecord.mm.
void DarwinBluetooth::add_attribute< unsigned short > | ( | const QVariant & | var, |
NSMutableArray * | list ) |
Definition at line 174 of file btservicerecord.mm.
void DarwinBluetooth::add_l2cap_protocol_descriptor_list | ( | uint16 | psm, |
Dictionary | dict ) |
Definition at line 263 of file btservicerecord.mm.
void DarwinBluetooth::add_rfcomm_protocol_descriptor_list | ( | uint16 | channelID, |
Dictionary | dict ) |
Definition at line 232 of file btservicerecord.mm.
bool DarwinBluetooth::add_sequence_attribute | ( | const QBluetoothServiceInfo & | serviceInfo, |
AttributeId | key, | ||
Dictionary | dict ) |
Definition at line 389 of file btservicerecord.mm.
bool DarwinBluetooth::add_sequence_attribute | ( | const QVariant & | var, |
AttributeId | key, | ||
NSMutableArray * | list ) |
Definition at line 366 of file btservicerecord.mm.
ObjCStrongReference< CBUUID > DarwinBluetooth::cb_uuid | ( | const QBluetoothUuid & | qtUuid | ) |
Definition at line 174 of file btutility.mm.
ObjCStrongReference< NSData > DarwinBluetooth::data_from_bytearray | ( | const QByteArray & | qtData | ) |
Definition at line 272 of file btutility.mm.
ObjCStrongReference< IOBluetoothDevice > DarwinBluetooth::device_with_address | ( | const QBluetoothAddress & | address | ) |
Definition at line 14 of file btdevicepair.mm.
Referenced by QBluetoothLocalDevicePrivate::pairingStatus().
bool DarwinBluetooth::equal_uuids | ( | CBUUID * | cbUuid, |
const QBluetoothUuid & | qtUuid ) |
Definition at line 196 of file btutility.mm.
bool DarwinBluetooth::equal_uuids | ( | const QBluetoothUuid & | qtUuid, |
CBUUID * | cbUuid ) |
Definition at line 190 of file btutility.mm.
QVariant DarwinBluetooth::extract_attribute_value | ( | IOBluetoothSDPDataElement * | dataElement | ) |
Definition at line 90 of file btsdpinquiry.mm.
void DarwinBluetooth::extract_service_record | ( | IOBluetoothSDPServiceRecord * | record, |
QBluetoothServiceInfo & | serviceInfo ) |
Definition at line 132 of file btsdpinquiry.mm.
QList< QBluetoothUuid > DarwinBluetooth::extract_services_uuids | ( | IOBluetoothDevice * | device | ) |
Definition at line 158 of file btsdpinquiry.mm.
BluetoothDeviceAddress DarwinBluetooth::iobluetooth_address | ( | const QBluetoothAddress & | address | ) |
Definition at line 65 of file btutility.mm.
Dictionary DarwinBluetooth::iobluetooth_service_dictionary | ( | const QBluetoothServiceInfo & | serviceInfo | ) |
Definition at line 409 of file btservicerecord.mm.
ObjCStrongReference< IOBluetoothSDPUUID > DarwinBluetooth::iobluetooth_uuid | ( | const QBluetoothUuid & | uuid | ) |
Definition at line 81 of file btutility.mm.
ObjCStrongReference< NSMutableData > DarwinBluetooth::mutable_data_from_bytearray | ( | const QByteArray & | qtData | ) |
Definition at line 281 of file btutility.mm.
QBluetoothAddress DarwinBluetooth::qt_address | ( | const BluetoothDeviceAddress * | address | ) |
Definition at line 49 of file btutility.mm.
QString DarwinBluetooth::qt_address | ( | NSString * | address | ) |
Definition at line 36 of file btutility.mm.
QByteArray DarwinBluetooth::qt_bytearray | ( | Integer | n | ) |
Definition at line 215 of file btutility.mm.
QByteArray DarwinBluetooth::qt_bytearray | ( | NSData * | data | ) |
Definition at line 201 of file btutility.mm.
QByteArray DarwinBluetooth::qt_bytearray | ( | NSObject * | data | ) |
Definition at line 236 of file btutility.mm.
QByteArray DarwinBluetooth::qt_bytearray | ( | NSString * | string | ) |
Definition at line 225 of file btutility.mm.
NSUInteger DarwinBluetooth::qt_countGATTEntries | ( | CBService * | service | ) |
Definition at line 24 of file btcentralmanager.mm.
QString DarwinBluetooth::qt_error_string | ( | IOReturn | errorCode | ) |
Definition at line 104 of file btutility.mm.
auto DarwinBluetooth::qt_find_watchdog | ( | const std::vector< GCDTimer > & | watchdogs, |
id | object, | ||
OperationTimeout | type ) |
Definition at line 62 of file btcentralmanager.mm.
dispatch_queue_t DarwinBluetooth::qt_LE_queue | ( | ) |
Definition at line 324 of file btutility.mm.
References DarwinBluetooth::SerialDispatchQueue::SerialDispatchQueue().
void DarwinBluetooth::qt_test_iobluetooth_runloop | ( | ) |
Definition at line 125 of file btutility.mm.
ObjCStrongReference< NSError > DarwinBluetooth::qt_timeoutNSError | ( | OperationTimeout | type | ) |
Definition at line 49 of file btcentralmanager.mm.
References none.
QBluetoothUuid DarwinBluetooth::qt_uuid | ( | CBUUID * | uuid | ) |
Definition at line 142 of file btutility.mm.
QBluetoothUuid DarwinBluetooth::qt_uuid | ( | IOBluetoothSDPUUID * | uuid | ) |
Definition at line 91 of file btutility.mm.
QBluetoothUuid DarwinBluetooth::qt_uuid | ( | NSUUID * | nsUuid | ) |
Definition at line 21 of file btledeviceinquiry.mm.
Number DarwinBluetooth::variant_to_nsnumber< char > | ( | const QVariant & | var | ) |
Definition at line 87 of file btservicerecord.mm.
Number DarwinBluetooth::variant_to_nsnumber< char > | ( | const QVariant & | var | ) |
Definition at line 87 of file btservicerecord.mm.
Number DarwinBluetooth::variant_to_nsnumber< int > | ( | const QVariant & | var | ) |
Definition at line 99 of file btservicerecord.mm.
Number DarwinBluetooth::variant_to_nsnumber< int > | ( | const QVariant & | var | ) |
Definition at line 99 of file btservicerecord.mm.
Number DarwinBluetooth::variant_to_nsnumber< short > | ( | const QVariant & | var | ) |
Definition at line 93 of file btservicerecord.mm.
Number DarwinBluetooth::variant_to_nsnumber< short > | ( | const QVariant & | var | ) |
Definition at line 93 of file btservicerecord.mm.
Number DarwinBluetooth::variant_to_nsnumber< unsigned > | ( | const QVariant & | var | ) |
Definition at line 81 of file btservicerecord.mm.
Number DarwinBluetooth::variant_to_nsnumber< unsigned > | ( | const QVariant & | var | ) |
Definition at line 81 of file btservicerecord.mm.
Number DarwinBluetooth::variant_to_nsnumber< unsigned char > | ( | const QVariant & | var | ) |
Definition at line 69 of file btservicerecord.mm.
Number DarwinBluetooth::variant_to_nsnumber< unsigned char > | ( | const QVariant & | var | ) |
Definition at line 69 of file btservicerecord.mm.
Number DarwinBluetooth::variant_to_nsnumber< unsigned short > | ( | const QVariant & | var | ) |
Definition at line 75 of file btservicerecord.mm.
Number DarwinBluetooth::variant_to_nsnumber< unsigned short > | ( | const QVariant & | var | ) |
Definition at line 75 of file btservicerecord.mm.
const int DarwinBluetooth::defaultLEScanTimeoutMS = 40000 |
Definition at line 30 of file btutility.mm.
const int DarwinBluetooth::defaultMtu = 23 |
Definition at line 34 of file btutility.mm.
const int DarwinBluetooth::maxValueLength = 512 |
Definition at line 32 of file btutility.mm.
const int DarwinBluetooth::powerOffTimeoutMS = 30000 |
Definition at line 34 of file btledeviceinquiry.mm.
const int DarwinBluetooth::timeStepMS = 100 |
Definition at line 33 of file btledeviceinquiry.mm.