QBluetoothUuid
Since: 1.2
#include <QtConnectivity/QBluetoothUuid>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QBluetoothUuid
The QBluetoothUuid class provides a Bluetooth UUID.
QtConnectivity
Overview
Inheritance
QUuid | ||
QBluetoothUuid |
Public Types Index
Public Attributes Index
Public Functions Index
QBluetoothUuid () | |
QBluetoothUuid (ProtocolUuid uuid) | |
QBluetoothUuid (ServiceClassUuid uuid) | |
QBluetoothUuid (quint16 uuid) | |
QBluetoothUuid (quint32 uuid) | |
QBluetoothUuid (quint128 uuid) | |
QBluetoothUuid (const QString &uuid) | |
QBluetoothUuid (const QBluetoothUuid &uuid) | |
QBluetoothUuid (const QUuid &uuid) | |
~QBluetoothUuid () | |
int | minimumSize () const |
bool | operator== (const QBluetoothUuid &other) const |
quint128 | toUInt128 () const |
quint16 | toUInt16 (bool *ok=0) const |
quint32 | toUInt32 (bool *ok=0) const |
bool | isNull () const ![]() |
operator QString () const ![]() | |
bool | operator!= (const QUuid &orig) const ![]() |
bool | operator< (const QUuid &other) const ![]() |
bool | operator== (const QUuid &orig) const ![]() |
bool | operator> (const QUuid &other) const ![]() |
QUuid ()![]() | |
QUuid (uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8)![]() | |
QUuid (const QString &)![]() | |
QUuid (const char *)![]() | |
QUuid (const QByteArray &)![]() | |
QByteArray | toByteArray () const ![]() |
QByteArray | toRfc4122 () const ![]() |
QString | toString () const ![]() |
QUuid::Variant | variant () const ![]() |
QUuid::Version | version () const ![]() |
Static Public Functions Index
Only has inherited static public functions
QUuid | createUuid ()![]() |
QUuid | fromRfc4122 (const QByteArray &)![]() |
Public Types
This enum is a convienience type for Bluetooth protocol UUIDs.
Values of this type will be implicitly converted into a QBluetoothUuid when necessary.
Sdp SDP protocol UUID. Udp UDP protocol UUID. Rfcomm RFCOMM protocol UUID. Tcp TCP protocol UUID. TcsBin Telephony Control Specification UUID. TcsAt Telephony Control Specification AT UUID. Obex OBEX protocol UUID. Ip IP protocol UUID. Ftp FTP protocol UUID. Http HTTP protocol UUID. Wsp WSP UUID Bnep Bluetooth Network Encapsulation Protocol UUID Upnp Extended Service Discovery Profile UUID Hidp Human Interface Device Profile UUID HardcopyControlChannel Hardcopy Cable Replacement Profile UUID HardcopyDataChannel Hardcopy Cable Replacement Profile UUID HardcopyNotification Hardcopy Cable Replacement Profile UUID Avctp Audio/Video Control Transport Protocol UUID Avdtp Audio/Video Distribution Transport Protocol UUID Cmtp Common ISDN Access Profile UdiCPlain UDI protocol UUID McapControlChannel Multi-Channel Adaptation Protocol UUID McapDataChannel Multi-Channel Adaptation Protocol UUID L2cap L2CAP protocol UUID.
- Sdp 0x0001
- Udp 0x0002
- Rfcomm 0x0003
- Tcp 0x0004
- TcsBin 0x0005
- TcsAt 0x0006
- Obex 0x0008
- Ip 0x0009
- Ftp 0x000A
- Http 0x000C
- Wsp 0x000E
- Bnep 0x000F
- Upnp 0x0010
- Hidp 0x0011
- HardcopyControlChannel 0x0012
- HardcopyDataChannel 0x0014
- HardcopyNotification 0x0016
- Avctp 0x0017
- Avdtp 0x0019
- Cmtp 0x001B
- UdiCPlain 0x001D
- McapControlChannel 0x001E
- McapDataChannel 0x001F
- L2cap 0x0100
This enum is a convienience type for Bluetooth service class UUIDs.
Values of this type will be implicitly converted into a QBluetoothUuid when necessary.
PublicBrowseGroup Public browse group service class. Services which have the public browse group in their {QBluetoothServiceInfo::BrowseGroupList}{browse group list} are discoverable by remote devices. ObexObjectPush OBEX object push service UUID. ServiceDiscoveryServer BrowseGroupDescriptor Browser group descriptor SerialPort Serial Port Profile UUID LANAccessUsingPPP LAN Access Profile UUID DialupNetworking Dial-up Networking Profile UUID IrMCSync Synchronization Profile UUID OBEXFileTransfer File Transfer Profile (FTP) UUID IrMCSyncCommand Synchronization Profile UUID Headset Headset Profile (HSP) UUID AudioSource Advanced Audio Distribution Profile (A2DP) UUID AudioSink Advanced Audio Distribution Profile (A2DP) UUID AV_RemoteControlTarget Audio/Video Remote Control Profile (AVRCP) UUID AdvancedAudioDistribution Advanced Audio Distribution Profile (A2DP) UUID AV_RemoteControl Audio/Video Remote Control Profile (AVRCP) UUID AV_RemoteControlController Audio/Video Remote Control Profile UUID HeadsetAG Headset Profile (HSP) UUID PANU Personal Area Networking Profile (PAN) UUID NAP Personal Area Networking Profile (PAN) UUID GN Personal Area Networking Profile (PAN) UUID DirectPrinting Basic Printing Profile (BPP) UUID ReferencePrinting Related to Basic Printing Profile (BPP) UUID ImagingResponder Basic Imaging Profile (BIP) UUID ImagingResponder Basic Imaging Profile (BIP) UUID ImagingAutomaticArchive Basic Imaging Profile (BIP) UUID Handsfree Hands-Free Profile (HFP) Service Class Identifier and Profile Identifier HandsfreeAudioGateway Hands-free Profile (HFP) UUID DirectPrintingReferenceObjectsService Basic Printing Profile (BPP) UUID ReflectedUI Basic Printing Profile (BPP) UUID BasicPrinting Basic Printing Profile (BPP) UUID PrintingStatus Basic Printing Profile (BPP) UUID HumanInterfaceDeviceService Human Interface Device (HID) UUID HardcopyCableReplacement Hardcopy Cable Replacement Profile (HCRP) HCRPrint Hardcopy Cable Replacement Profile (HCRP) HCRScan Hardcopy Cable Replacement Profile (HCRP) SIMAccess SIM Access Profile (SAP) UUID PhonebookAccessPCE Phonebook Access Profile (PBAP) UUID PhonebookAccessPSE Phonebook Access Profile (PBAP) UUID PhonebookAccess Phonebook Access Profile (PBAP) HeadsetHS Headset Profile (HSP) UUID MessageAccessServer Message Access Profile (MAP) UUID MessageNotificationServer Message Access Profile (MAP) UUID MessageAccessProfile Message Access Profile (MAP) UUID PnPInformation Device Identification (DID) UUID GenericNetworking Generic networking GenericFileTransfer Generic file transfer GenericAudio Generic audio GenericTelephony Generic telephone VideoSource Video Distribution Profile (VDP) VideoSink Video Distribution Profile (VDP) VideoDistribution Video Distribution Profile (VDP) HDP Health Device Profile HDPSource Health Device Profile HDPSink Health Device Profile
- ServiceDiscoveryServer 0x1000
- BrowseGroupDescriptor 0x1001
- PublicBrowseGroup 0x1002
- SerialPort 0x1101
- LANAccessUsingPPP 0x1102
- DialupNetworking 0x1103
- IrMCSync 0x1104
- ObexObjectPush 0x1105
- OBEXFileTransfer 0x1106
- IrMCSyncCommand 0x1107
- Headset 0x1108
- AudioSource 0x110a
- AudioSink 0x110b
- AV_RemoteControlTarget 0x110c
- AdvancedAudioDistribution 0x110d
- AV_RemoteControl 0x110e
- AV_RemoteControlController 0x110f
- HeadsetAG 0x1112
- PANU 0x1115
- NAP 0x1116
- GN 0x1117
- DirectPrinting 0x1118
- ReferencePrinting 0x1119
- ImagingResponder 0x111b
- ImagingAutomaticArchive 0x111c
- ImagingReferencedObjects 0x111d
- Handsfree 0x111e
- HandsfreeAudioGateway 0x111f
- DirectPrintingReferenceObjectsService 0x1120
- ReflectedUI 0x1121
- BasicPrinting 0x1122
- PrintingStatus 0x1123
- HumanInterfaceDeviceService 0x1124
- HardcopyCableReplacement 0x1125
- HCRPrint 0x1126
- HCRScan 0x1127
- SIMAccess 0x112d
- PhonebookAccessPCE 0x112e
- PhonebookAccessPSE 0x112f
- PhonebookAccess 0x1130
- HeadsetHS 0x1131
- MessageAccessServer 0x1132
- MessageNotificationServer 0x1133
- MessageAccessProfile 0x1134
- PnPInformation 0x1135
- GenericNetworking 0x1201
- GenericFileTransfer 0x1202
- GenericAudio 0x1203
- GenericTelephony 0x1204
- VideoSource 0x1303
- VideoSink 0x1304
- VideoDistribution 0x1305
- HDP 0x1400
- HDPSource 0x1401
- HDPSink 0x1402
- VarUnknown -1
- NCS 0
- DCE 2
- Microsoft 6
- Reserved 7
- VerUnknown -1
- Time 1
- EmbeddedPOSIX 2
- Name 3
- Random 4
Public Attributes
(Only has inherited public attributes)
uint 
ushort 
ushort 
uchar 
Public Functions
Constructs a new null Bluetooth UUID.
Constructs a new Bluetooth UUID from the protocol UUID uuid.
Constructs a new Bluetooth UUID from the service class UUID uuid.
Constructs a new Bluetooth UUID from the 16 bit UUID uuid.
Constructs a new Bluetooth UUID from the 32 bit UUID uuid.
Constructs a new Bluetooth UUID from the 128 bit UUID uuid.
Constructs a new Bluetooth UUID from the string uuid.
The string must be in the form XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.
Constructs a new Bluetooth UUID that is a copy of uuid.
Constructs a new Bluetooth UUID that is a copy of uuid.
Destructor.
int
Returns the minimum size in bytes that this UUID can be represented in.
isNull(), toUInt16(), toUInt32(), toUInt128()
bool
Returns true if other is equal to this Bluetooth UUID; otherwise returns false.
quint128
Returns the 128 bit representation of this UUID.
quint16
Returns the 16 bit representation of this UUID.
If ok is passed it is set to true if the conversion is possible otherwise it is set to false. The return value is undefined if ok is set to false.
quint32
Returns the 32 bit representation of this UUID.
If ok is passed it is set to true if the conversion is possible otherwise it is set to false. The return value is undefined if ok is set to false.
bool 
bool 
bool 
bool 
bool 
QUuid::Variant 
QUuid::Version 
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy