QBluetoothUuid#

The QBluetoothUuid class generates a UUID for each Bluetooth service. More

Inheritance diagram of PySide6.QtBluetooth.QBluetoothUuid

Synopsis#

Functions#

Static functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtBluetooth.QBluetoothUuid#

PySide6.QtBluetooth.QBluetoothUuid(uuid)

PySide6.QtBluetooth.QBluetoothUuid(uuid)

PySide6.QtBluetooth.QBluetoothUuid(uuid)

PySide6.QtBluetooth.QBluetoothUuid(uuid)

PySide6.QtBluetooth.QBluetoothUuid(uuid)

PySide6.QtBluetooth.QBluetoothUuid(uuid)

PySide6.QtBluetooth.QBluetoothUuid(uuid)

PySide6.QtBluetooth.QBluetoothUuid(uuid)

Parameters:

uuidCharacteristicType

Constructs a new null Bluetooth UUID.

Constructs a new Bluetooth UUID from the characteristic type uuid.

Constructs a new Bluetooth UUID from the descriptor type uuid.

Constructs a new Bluetooth UUID from the protocol uuid.

Constructs a new Bluetooth UUID from the service class uuid.

Constructs a new Bluetooth UUID that is a copy of uuid.

Constructs a new Bluetooth UUID from the 16 bit uuid.

Constructs a new Bluetooth UUID from the 32 bit uuid.

PySide6.QtBluetooth.QBluetoothUuid.ProtocolUuid#

This enum is a convienience type for Bluetooth protocol UUIDs. Values of this type will be implicitly converted into a QBluetoothUuid when necessary.

Constant

Description

QBluetoothUuid.ProtocolUuid.Sdp

SDP protocol UUID

QBluetoothUuid.ProtocolUuid.Udp

UDP protocol UUID

QBluetoothUuid.ProtocolUuid.Rfcomm

RFCOMM protocol UUID

QBluetoothUuid.ProtocolUuid.Tcp

TCP protocol UUID

QBluetoothUuid.ProtocolUuid.TcsBin

Telephony Control Specification UUID

QBluetoothUuid.ProtocolUuid.TcsAt

Telephony Control Specification AT UUID

QBluetoothUuid.ProtocolUuid.Att

Attribute protocol UUID

QBluetoothUuid.ProtocolUuid.Obex

OBEX protocol UUID

QBluetoothUuid.ProtocolUuid.Ip

IP protocol UUID

QBluetoothUuid.ProtocolUuid.Ftp

FTP protocol UUID

QBluetoothUuid.ProtocolUuid.Http

HTTP protocol UUID

QBluetoothUuid.ProtocolUuid.Wsp

WSP UUID

QBluetoothUuid.ProtocolUuid.Bnep

Bluetooth Network Encapsulation Protocol UUID

QBluetoothUuid.ProtocolUuid.Upnp

Extended Service Discovery Profile UUID

QBluetoothUuid.ProtocolUuid.Hidp

Human Interface Device Profile UUID

QBluetoothUuid.ProtocolUuid.HardcopyControlChannel

Hardcopy Cable Replacement Profile UUID

QBluetoothUuid.ProtocolUuid.HardcopyDataChannel

Hardcopy Cable Replacement Profile UUID

QBluetoothUuid.ProtocolUuid.HardcopyNotification

Hardcopy Cable Replacement Profile UUID

QBluetoothUuid.ProtocolUuid.Avctp

Audio/Video Control Transport Protocol UUID

QBluetoothUuid.ProtocolUuid.Avdtp

Audio/Video Distribution Transport Protocol UUID

QBluetoothUuid.ProtocolUuid.Cmtp

Common ISDN Access Profile

QBluetoothUuid.ProtocolUuid.UdiCPlain

UDI protocol UUID

QBluetoothUuid.ProtocolUuid.McapControlChannel

Multi-Channel Adaptation Protocol UUID

QBluetoothUuid.ProtocolUuid.McapDataChannel

Multi-Channel Adaptation Protocol UUID

QBluetoothUuid.ProtocolUuid.L2cap

L2CAP protocol UUID

See also

ProtocolDescriptorList

PySide6.QtBluetooth.QBluetoothUuid.ServiceClassUuid#

This enum is a convienience type for Bluetooth service class and profile UUIDs. Values of this type will be implicitly converted into a QBluetoothUuid when necessary. Some UUIDs refer to service class ids, others to profile ids and some can be used as both. In general, profile UUIDs shall only be used in a BluetoothProfileDescriptorList attribute and service class UUIDs shall only be used in a ServiceClassIds attribute. If the UUID is marked as profile and service class UUID it can be used as a value for either of the above service attributes. Such a dual use has historical reasons but is no longer permissible for newer UUIDs.

The list below explicitly states as what type each UUID shall be used. Bluetooth Low Energy related values starting with 0x18 were introduced by Qt 5.4

Constant

Description

QBluetoothUuid.ServiceClassUuid.ServiceDiscoveryServer

Service discovery server UUID (service)

QBluetoothUuid.ServiceClassUuid.BrowseGroupDescriptor

Browser group descriptor (service)

QBluetoothUuid.ServiceClassUuid.PublicBrowseGroup

Public browse group service class. Services which have the public browse group in their browse group list are discoverable by the remote devices.

QBluetoothUuid.ServiceClassUuid.SerialPort

Serial Port Profile UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.LANAccessUsingPPP

LAN Access Profile UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.DialupNetworking

Dial-up Networking Profile UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.IrMCSync

Synchronization Profile UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.ObexObjectPush

OBEX object push service UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.OBEXFileTransfer

File Transfer Profile (FTP) UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.IrMCSyncCommand

Synchronization Profile UUID (profile)

QBluetoothUuid.ServiceClassUuid.Headset

Headset Profile (HSP) UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.AudioSource

Advanced Audio Distribution Profile (A2DP) UUID (service)

QBluetoothUuid.ServiceClassUuid.AudioSink

Advanced Audio Distribution Profile (A2DP) UUID (service)

QBluetoothUuid.ServiceClassUuid.AV_RemoteControlTarget

Audio/Video Remote Control Profile (AVRCP) UUID (service)

QBluetoothUuid.ServiceClassUuid.AdvancedAudioDistribution

Advanced Audio Distribution Profile (A2DP) UUID (profile)

QBluetoothUuid.ServiceClassUuid.AV_RemoteControl

Audio/Video Remote Control Profile (AVRCP) UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.AV_RemoteControlController

Audio/Video Remote Control Profile UUID (service)

QBluetoothUuid.ServiceClassUuid.HeadsetAG

Headset Profile (HSP) UUID (service)

QBluetoothUuid.ServiceClassUuid.PANU

Personal Area Networking Profile (PAN) UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.NAP

Personal Area Networking Profile (PAN) UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.GN

Personal Area Networking Profile (PAN) UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.DirectPrinting

Basic Printing Profile (BPP) UUID (service)

QBluetoothUuid.ServiceClassUuid.ReferencePrinting

Related to Basic Printing Profile (BPP) UUID (service)

QBluetoothUuid.ServiceClassUuid.BasicImage

Basic Imaging Profile (BIP) UUID (profile)

QBluetoothUuid.ServiceClassUuid.ImagingResponder

Basic Imaging Profile (BIP) UUID (service)

QBluetoothUuid.ServiceClassUuid.ImagingAutomaticArchive

Basic Imaging Profile (BIP) UUID (service)

QBluetoothUuid.ServiceClassUuid.ImagingReferenceObjects

Basic Imaging Profile (BIP) UUID (service)

QBluetoothUuid.ServiceClassUuid.Handsfree

Hands-Free Profile (HFP) UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.HandsfreeAudioGateway

Hands-Free Audio Gateway (HFP) UUID (service)

QBluetoothUuid.ServiceClassUuid.DirectPrintingReferenceObjectsService

Basic Printing Profile (BPP) UUID (service)

QBluetoothUuid.ServiceClassUuid.ReflectedUI

Basic Printing Profile (BPP) UUID (service)

QBluetoothUuid.ServiceClassUuid.BasicPrinting

Basic Printing Profile (BPP) UUID (profile)

QBluetoothUuid.ServiceClassUuid.PrintingStatus

Basic Printing Profile (BPP) UUID (service)

QBluetoothUuid.ServiceClassUuid.HumanInterfaceDeviceService

Human Interface Device (HID) UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.HardcopyCableReplacement

Hardcopy Cable Replacement Profile (HCRP) (profile)

QBluetoothUuid.ServiceClassUuid.HCRPrint

Hardcopy Cable Replacement Profile (HCRP) (service)

QBluetoothUuid.ServiceClassUuid.HCRScan

Hardcopy Cable Replacement Profile (HCRP) (service)

QBluetoothUuid.ServiceClassUuid.SIMAccess

SIM Access Profile (SAP) UUID (service and profile)

QBluetoothUuid.ServiceClassUuid.PhonebookAccessPCE

Phonebook Access Profile (PBAP) UUID (service)

QBluetoothUuid.ServiceClassUuid.PhonebookAccessPSE

Phonebook Access Profile (PBAP) UUID (service)

QBluetoothUuid.ServiceClassUuid.PhonebookAccess

Phonebook Access Profile (PBAP) (profile)

QBluetoothUuid.ServiceClassUuid.HeadsetHS

Headset Profile (HSP) UUID (service)

QBluetoothUuid.ServiceClassUuid.MessageAccessServer

Message Access Profile (MAP) UUID (service)

QBluetoothUuid.ServiceClassUuid.MessageNotificationServer

Message Access Profile (MAP) UUID (service)

QBluetoothUuid.ServiceClassUuid.MessageAccessProfile

Message Access Profile (MAP) UUID (profile)

QBluetoothUuid.ServiceClassUuid.GNSS

Global Navigation Satellite System UUID (profile)

QBluetoothUuid.ServiceClassUuid.GNSSServer

Global Navigation Satellite System Server (UUID) (service)

QBluetoothUuid.ServiceClassUuid.Display3D

3D Synchronization Display UUID (service)

QBluetoothUuid.ServiceClassUuid.Glasses3D

3D Synchronization Glasses UUID (service)

QBluetoothUuid.ServiceClassUuid.Synchronization3D

3D Synchronization UUID (profile)

QBluetoothUuid.ServiceClassUuid.MPSProfile

Multi-Profile Specification UUID (profile)

QBluetoothUuid.ServiceClassUuid.MPSService

Multi-Profile Specification UUID (service)

QBluetoothUuid.ServiceClassUuid.PnPInformation

Device Identification (DID) UUID (service & profile)

QBluetoothUuid.ServiceClassUuid.GenericNetworking

Generic networking UUID (service)

QBluetoothUuid.ServiceClassUuid.GenericFileTransfer

Generic file transfer UUID (service)

QBluetoothUuid.ServiceClassUuid.GenericAudio

Generic audio UUID (service)

QBluetoothUuid.ServiceClassUuid.GenericTelephony

Generic telephone UUID (service)

QBluetoothUuid.ServiceClassUuid.VideoSource

Video Distribution Profile (VDP) UUID (service)

QBluetoothUuid.ServiceClassUuid.VideoSink

Video Distribution Profile (VDP) UUID (service)

QBluetoothUuid.ServiceClassUuid.VideoDistribution

Video Distribution Profile (VDP) UUID (profile)

QBluetoothUuid.ServiceClassUuid.HDP

Health Device Profile (HDP) UUID (profile)

QBluetoothUuid.ServiceClassUuid.HDPSource

Health Device Profile Source (HDP) UUID (service)

QBluetoothUuid.ServiceClassUuid.HDPSink

Health Device Profile Sink (HDP) UUID (service)

QBluetoothUuid.ServiceClassUuid.GenericAccess

Generic access service for Bluetooth Low Energy devices UUID (service). It contains generic information about the device. All available Characteristics are readonly.

QBluetoothUuid.ServiceClassUuid.GenericAttribute

QBluetoothUuid.ServiceClassUuid.ImmediateAlert

Immediate Alert UUID (service). The service exposes a control point to allow a peer device to cause the device to immediately alert.

QBluetoothUuid.ServiceClassUuid.LinkLoss

Link Loss UUID (service). The service defines behavior when a link is lost between two devices.

QBluetoothUuid.ServiceClassUuid.TxPower

Transmission Power UUID (service). The service exposes a device’s current transmit power level when in a connection.

QBluetoothUuid.ServiceClassUuid.CurrentTimeService

Current Time UUID (service). The service defines how the current time can be exposed using the Generic Attribute Profile (GATT).

QBluetoothUuid.ServiceClassUuid.ReferenceTimeUpdateService

Reference Time update UUID (service). The service defines how a client can request an update from a reference time source from a time server.

QBluetoothUuid.ServiceClassUuid.NextDSTChangeService

Next DST change UUID (service). The service defines how the information about an upcoming DST change can be exposed.

QBluetoothUuid.ServiceClassUuid.Glucose

Glucose UUID (service). The service exposes glucose and other data from a glucose sensor for use in consumer and professional healthcare applications.

QBluetoothUuid.ServiceClassUuid.HealthThermometer

Health Thermometer UUID (service). The Health Thermometer service exposes temperature and other data from a thermometer intended for healthcare and fitness applications.

QBluetoothUuid.ServiceClassUuid.DeviceInformation

Device Information UUID (service). The Device Information Service exposes manufacturer and/or vendor information about a device.

QBluetoothUuid.ServiceClassUuid.HeartRate

Heart Rate UUID (service). The service exposes the heart rate and other data from a Heart Rate Sensor intended for fitness applications.

QBluetoothUuid.ServiceClassUuid.PhoneAlertStatusService

Phone Alert Status UUID (service). The service exposes the phone alert status when in a connection.

QBluetoothUuid.ServiceClassUuid.BatteryService

Battery UUID (service). The Battery Service exposes the state of a battery within a device.

QBluetoothUuid.ServiceClassUuid.BloodPressure

Blood Pressure UUID (service). The service exposes blood pressure and other data from a blood pressure monitor intended for healthcare applications.

QBluetoothUuid.ServiceClassUuid.AlertNotificationService

Alert Notification UUID (service). The Alert Notification service exposes alert information on a device.

QBluetoothUuid.ServiceClassUuid.HumanInterfaceDevice

Human Interface UUID (service). The service exposes the HID reports and other HID data intended for HID Hosts and HID Devices.

QBluetoothUuid.ServiceClassUuid.ScanParameters

Scan Parameters UUID (service). The Scan Parameters Service enables a GATT Server device to expose a characteristic for the GATT Client to write its scan interval and scan window on the GATT Server device.

QBluetoothUuid.ServiceClassUuid.RunningSpeedAndCadence

Runnung Speed and Cadence UUID (service). The service exposes speed, cadence and other data from a Running Speed and Cadence Sensor intended for fitness applications.

QBluetoothUuid.ServiceClassUuid.CyclingSpeedAndCadence

Cycling Speed and Cadence UUID (service). The service exposes speed-related and cadence-related data from a Cycling Speed and Cadence sensor intended for fitness applications.

QBluetoothUuid.ServiceClassUuid.CyclingPower

Cycling Speed UUID (service). The service exposes power- and force-related data and optionally speed- and cadence-related data from a Cycling Power sensor intended for sports and fitness applications.

QBluetoothUuid.ServiceClassUuid.LocationAndNavigation

Location Navigation UUID (service). The service exposes location and navigation-related data from a Location and Navigation sensor intended for outdoor activity applications.

QBluetoothUuid.ServiceClassUuid.EnvironmentalSensing

Environmental sensor UUID (service). The service exposes data from an environmental sensor for sports and fitness applications.

QBluetoothUuid.ServiceClassUuid.BodyComposition

Body composition UUID (service). The service exposes data about the body composition intended for consumer healthcare applications.

QBluetoothUuid.ServiceClassUuid.UserData

User Data UUID (service). The User Data service provides user-related data such as name, gender or weight in sports and fitness environments.

QBluetoothUuid.ServiceClassUuid.WeightScale

Weight Scale UUID (service). The Weight Scale service exposes weight-related data from a scale for consumer healthcare, sports and fitness applications.

QBluetoothUuid.ServiceClassUuid.BondManagement

Bond Management UUID (service). The Bond Management service enables user to manage the storage of bond information on Bluetooth devices.

QBluetoothUuid.ServiceClassUuid.ContinuousGlucoseMonitoring

Continuous Glucose Monitoring UUID (service). The Continuous Glucose Monitoring service exposes glucose data from a monitoring sensor for use in healthcare applications.

PySide6.QtBluetooth.QBluetoothUuid.CharacteristicType#

This enum is a convienience type for Bluetooth low energy service characteristics class UUIDs. Values of this type will be implicitly converted into a QBluetoothUuid when necessary. The detailed type descriptions can be found on bluetooth.org .

Constant

Description

QBluetoothUuid.CharacteristicType.AerobicHeartRateLowerLimit

The lower limit of the heart rate where the user improves his endurance while exercising.

QBluetoothUuid.CharacteristicType.AerobicHeartRateUpperLimit

The upper limit of the heart rate where the user improves his endurance while exercising.

QBluetoothUuid.CharacteristicType.AerobicThreshold

This characteristic states the first metabolic threshold.

QBluetoothUuid.CharacteristicType.Age

This characteristic states the age of the user.

QBluetoothUuid.CharacteristicType.AnaerobicHeartRateLowerLimit

The lower limit of the heart rate where the user enhances his anaerobic tolerance while exercising.

QBluetoothUuid.CharacteristicType.AnaerobicHeartRateUpperLimit

The upper limit of the heart rate where the user enhances his anaerobic tolerance while exercising.

QBluetoothUuid.CharacteristicType.AnaerobicThreshold

This characteristic states the second metabolic threshold.

QBluetoothUuid.CharacteristicType.AlertCategoryID

Categories of alerts/messages.

QBluetoothUuid.CharacteristicType.AlertCategoryIDBitMask

Categories of alerts/messages.

QBluetoothUuid.CharacteristicType.AlertLevel

The level of an alert a device is to sound. If this level is changed while the alert is being sounded, the new level should take effect.

QBluetoothUuid.CharacteristicType.AlertNotificationControlPoint

Control point of the Alert Notification server. Client can write the command here to request the several functions toward the server.

QBluetoothUuid.CharacteristicType.AlertStatus

The Alert Status characteristic defines the Status of alert.

QBluetoothUuid.CharacteristicType.ApparentWindDirection

The characteristic exposes the apparent wind direction. The apparent wind is experienced by an observer in motion. This characteristic states the direction of the wind with an angle measured clockwise relative to the observers heading.

QBluetoothUuid.CharacteristicType.ApparentWindSpeed

The characteristic exposes the apparent wind speed in meters per second. The apparent wind is experienced by an observer in motion.

QBluetoothUuid.CharacteristicType.Appearance

The external appearance of this device. The values are composed of a category (10-bits) and sub-categories (6-bits).

QBluetoothUuid.CharacteristicType.BarometricPressureTrend

This characteristic exposes the trend the barometric pressure is taking.

QBluetoothUuid.CharacteristicType.BatteryLevel

The current charge level of a battery. 100% represents fully charged while 0% represents fully discharged.

QBluetoothUuid.CharacteristicType.BloodPressureFeature

The Blood Pressure Feature characteristic is used to describe the supported features of the Blood Pressure Sensor.

QBluetoothUuid.CharacteristicType.BloodPressureMeasurement

The Blood Pressure Measurement characteristic is a variable length structure containing a Flags field, a Blood Pressure Measurement Compound Value field, and contains additional fields such as Time Stamp, Pulse Rate and User ID as determined by the contents of the Flags field.

QBluetoothUuid.CharacteristicType.BodyCompositionFeature

This characteristic describes the available features in the BodyCompositionMeasurement characteristic.

QBluetoothUuid.CharacteristicType.BodyCompositionMeasurement

This characteristic describes the body composition such as muscle percentage or the body water mass.

QBluetoothUuid.CharacteristicType.BodySensorLocation

The Body Sensor Location characteristic describes the location of a sensor on the body (e.g.: chest, finger or hand).

QBluetoothUuid.CharacteristicType.BootKeyboardInputReport

The Boot Keyboard Input Report characteristic is used to transfer fixed format and length Input Report data between a HID Host operating in Boot Protocol Mode and a HID Service corresponding to a boot keyboard.

QBluetoothUuid.CharacteristicType.BootKeyboardOutputReport

The Boot Keyboard Output Report characteristic is used to transfer fixed format and length Output Report data between a HID Host operating in Boot Protocol Mode and a HID Service corresponding to a boot keyboard.

QBluetoothUuid.CharacteristicType.BootMouseInputReport

The Boot Mouse Input Report characteristic is used to transfer fixed format and length Input Report data between a HID Host operating in Boot Protocol Mode and a HID Service corresponding to a boot mouse.

QBluetoothUuid.CharacteristicType.CSCFeature

The CSC (Cycling Speed and Cadence) Feature characteristic is used to describe the supported features of the Server.

QBluetoothUuid.CharacteristicType.CSCMeasurement

The CSC Measurement characteristic (CSC refers to Cycling Speed and Cadence) is a variable length structure containing a Flags field and, based on the contents of the Flags field, may contain one or more additional fields as shown in the tables below.

QBluetoothUuid.CharacteristicType.CurrentTime

The Current Time characteristic shows the same information as the ExactTime256 characteristic and information on timezone, DST and the method of update employed.

QBluetoothUuid.CharacteristicType.CyclingPowerControlPoint

The Cycling Power Control Point characteristic is used to request a specific function to be executed on the receiving device.

QBluetoothUuid.CharacteristicType.CyclingPowerFeature

The CP Feature characteristic is used to report a list of features supported by the device.

QBluetoothUuid.CharacteristicType.CyclingPowerMeasurement

The Cycling Power Measurement characteristic is a variable length structure containing a Flags field, an Instantaneous Power field and, based on the contents of the Flags field, may contain one or more additional fields as shown in the table below.

QBluetoothUuid.CharacteristicType.CyclingPowerVector

The Cycling Power Vector characteristic is a variable length structure containing a Flags fieldand based on the contents of the Flags field, may contain one or more additional fields as shown in the table below.

QBluetoothUuid.CharacteristicType.DatabaseChangeIncrement

QBluetoothUuid.CharacteristicType.DateOfBirth

This characteristic states the user’s date of birth.

QBluetoothUuid.CharacteristicType.DateOfThresholdAssessment

QBluetoothUuid.CharacteristicType.DateTime

The Date Time characteristic is used to represent time.

QBluetoothUuid.CharacteristicType.DayDateTime

The Day Date Time characteristic presents the date, time and day of the week.

QBluetoothUuid.CharacteristicType.DayOfWeek

The Day of Week characteristic describes the day of the week (Monday - Sunday).

QBluetoothUuid.CharacteristicType.DescriptorValueChanged

This characteristic is related to the Environmental Sensing Service.

QBluetoothUuid.CharacteristicType.DeviceName

The Device Name characteristic contains the name of the device.

QBluetoothUuid.CharacteristicType.DewPoint

This characteristic states the dew point in degree Celsius.

QBluetoothUuid.CharacteristicType.DSTOffset

The DST Offset characteristic describes the offset employed by daylight-saving time.

QBluetoothUuid.CharacteristicType.Elevation

The Elevation characteristic states the elevation above/below sea level.

QBluetoothUuid.CharacteristicType.EmailAddress

This characteristic states the email of the user.

QBluetoothUuid.CharacteristicType.ExactTime256

The Exact Time 256 characteristic describes the data, day and time with an accuracy of 1/256th of a second.

QBluetoothUuid.CharacteristicType.FatBurnHeartRateLowerLimit

The lower limit of the heart rate where the user maximizes the fat burn while exercising.

QBluetoothUuid.CharacteristicType.FatBurnHeartRateUpperLimit

The upper limit of the heart rate where the user maximizes the fat burn while exercising.

QBluetoothUuid.CharacteristicType.FirmwareRevisionString

The value of this characteristic is a UTF-8 string representing the firmware revision for the firmware within the device.

QBluetoothUuid.CharacteristicType.FirstName

This characteristic exposes the user’s first name.

QBluetoothUuid.CharacteristicType.FiveZoneHeartRateLimits

This characteristic contains the limits between the heart rate zones for the 5-zone heart rate definition.

QBluetoothUuid.CharacteristicType.Gender

This characteristic states the user’s gender.

QBluetoothUuid.CharacteristicType.GlucoseFeature

The Glucose Feature characteristic is used to describe the supported features of the Server. When read, the Glucose Feature characteristic returns a value that is used by a Client to determine the supported features of the Server.

QBluetoothUuid.CharacteristicType.GlucoseMeasurement

The Glucose Measurement characteristic is a variable length structure containing a Flags field, a Sequence Number field, a Base Time field and, based upon the contents of the Flags field, may contain a Time Offset field, Glucose Concentration field, Type-Sample Location field and a Sensor Status Annunciation field.

QBluetoothUuid.CharacteristicType.GlucoseMeasurementContext

QBluetoothUuid.CharacteristicType.GustFactor

The characteristic states a factor of wind speed increase between average wind speed in maximum gust speed.

QBluetoothUuid.CharacteristicType.HardwareRevisionString

The value of this characteristic is a UTF-8 string representing the hardware revision for the hardware within the device.

QBluetoothUuid.CharacteristicType.MaximumRecommendedHeartRate

This characteristic exposes the maximum recommended heart rate that limits exertion.

QBluetoothUuid.CharacteristicType.HeartRateControlPoint

QBluetoothUuid.CharacteristicType.HeartRateMax

This characteristic states the maximum heart rate a user can reach in beats per minute.

QBluetoothUuid.CharacteristicType.HeartRateMeasurement

QBluetoothUuid.CharacteristicType.HeatIndex

This characteristic provides a heat index in degree Celsius.

QBluetoothUuid.CharacteristicType.Height

This characteristic states the user’s height.

QBluetoothUuid.CharacteristicType.HIDControlPoint

The HID Control Point characteristic is a control-point attribute that defines the HID Commands when written.

QBluetoothUuid.CharacteristicType.HIDInformation

The HID Information Characteristic returns the HID attributes when read.

QBluetoothUuid.CharacteristicType.HipCircumference

This characteristic states the user’s hip circumference in meters.

QBluetoothUuid.CharacteristicType.Humidity

The characteristic states the humidity in percent.

QBluetoothUuid.CharacteristicType.IEEE1107320601RegulatoryCertificationDataList

The value of the characteristic is an opaque structure listing various regulatory and/or certification compliance items to which the device claims adherence.

QBluetoothUuid.CharacteristicType.IntermediateCuffPressure

This characteristic has the same format as the Blood Pressure Measurement characteristic.

QBluetoothUuid.CharacteristicType.IntermediateTemperature

The Intermediate Temperature characteristic has the same format as the Temperature Measurement characteristic.

QBluetoothUuid.CharacteristicType.Irradiance

This characteristic states the power of electromagnetic radiation in watt per square meter.

QBluetoothUuid.CharacteristicType.Language

This characteristic contains the language definition based on ISO639-1.

QBluetoothUuid.CharacteristicType.LastName

This characteristic states the user’s last name.

QBluetoothUuid.CharacteristicType.LNControlPoint

The LN Control Point characteristic is used to request a specific function to be executed on the receiving device.

QBluetoothUuid.CharacteristicType.LNFeature

The LN Feature characteristic is used to report a list of features supported by the device.

QBluetoothUuid.CharacteristicType.LocalTimeInformation

QBluetoothUuid.CharacteristicType.LocationAndSpeed

The Location and Speed characteristic is a variable length structure containing a Flags field and, based on the contents of the Flags field, may contain a combination of data fields.

QBluetoothUuid.CharacteristicType.MagneticDeclination

The characteristic contains the angle on the horizontal plane between the direction of the (Geographic) True North and the Magnetic North, measured clockwise from True North to Magnetic North.

QBluetoothUuid.CharacteristicType.MagneticFluxDensity2D

This characteristic states the magnetic flux density on an x and y axis.

QBluetoothUuid.CharacteristicType.MagneticFluxDensity3D

This characteristic states the magnetic flux density on an x, y and z axis.

QBluetoothUuid.CharacteristicType.ManufacturerNameString

The value of this characteristic is a UTF-8 string representing the name of the manufacturer of the device.

QBluetoothUuid.CharacteristicType.MeasurementInterval

The Measurement Interval characteristic defines the time between measurements.

QBluetoothUuid.CharacteristicType.ModelNumberString

The value of this characteristic is a UTF-8 string representing the model number assigned by the device vendor.

QBluetoothUuid.CharacteristicType.Navigation

The Navigation characteristic is a variable length structure containing a Flags field, a Bearing field, a Heading field and, based on the contents of the Flags field.

QBluetoothUuid.CharacteristicType.NewAlert

This characteristic defines the category of the alert and how many new alerts of that category have occurred in the server device.

QBluetoothUuid.CharacteristicType.PeripheralPreferredConnectionParameters

QBluetoothUuid.CharacteristicType.PeripheralPrivacyFlag

QBluetoothUuid.CharacteristicType.PnPID

The PnP_ID characteristic returns its value when read using the GATT Characteristic Value Read procedure.

QBluetoothUuid.CharacteristicType.PollenConcentration

The characteristic exposes the pollen concentration count per cubic meter.

QBluetoothUuid.CharacteristicType.PositionQuality

The Position Quality characteristic is a variable length structure containing a Flags field and at least one of the optional data.

QBluetoothUuid.CharacteristicType.Pressure

The Pressure characteristic states the value of a pressure sensor.

QBluetoothUuid.CharacteristicType.ProtocolMode

The Protocol Mode characteristic is used to expose the current protocol mode of the HID Service with which it is associated, or to set the desired protocol mode of the HID Service.

QBluetoothUuid.CharacteristicType.Rainfall

This characteristic exposes the rainfall in meters.

QBluetoothUuid.CharacteristicType.ReconnectionAddress

The Information included in this page is informative. The normative descriptions are contained in the applicable specification.

QBluetoothUuid.CharacteristicType.RecordAccessControlPoint

This control point is used with a service to provide basic management functionality for the Glucose Sensor patient record database.

QBluetoothUuid.CharacteristicType.ReferenceTimeInformation

QBluetoothUuid.CharacteristicType.Report

The Report characteristic is used to exchange data between a HID Device and a HID Host.

QBluetoothUuid.CharacteristicType.ReportMap

Only a single instance of this characteristic exists as part of a HID Service.

QBluetoothUuid.CharacteristicType.RestingHeartRate

This characteristic exposes the lowest heart rate a user can reach.

QBluetoothUuid.CharacteristicType.RingerControlPoint

The Ringer Control Point characteristic defines the Control Point of Ringer.

QBluetoothUuid.CharacteristicType.RingerSetting

The Ringer Setting characteristic defines the Setting of the Ringer.

QBluetoothUuid.CharacteristicType.RSCFeature

The RSC (Running Speed and Cadence) Feature characteristic is used to describe the supported features of the Server.

QBluetoothUuid.CharacteristicType.RSCMeasurement

RSC refers to Running Speed and Cadence.

QBluetoothUuid.CharacteristicType.SCControlPoint

The SC Control Point characteristic is used to request a specific function to be executed on the receiving device.

QBluetoothUuid.CharacteristicType.ScanIntervalWindow

The Scan Interval Window characteristic is used to store the scan parameters of the GATT Client.

QBluetoothUuid.CharacteristicType.ScanRefresh

The Scan Refresh characteristic is used to notify the Client that the Server requires the Scan Interval Window characteristic to be written with the latest values upon notification.

QBluetoothUuid.CharacteristicType.SensorLocation

The Sensor Location characteristic is used to expose the location of the sensor.

QBluetoothUuid.CharacteristicType.SerialNumberString

The value of this characteristic is a variable-length UTF-8 string representing the serial number for a particular instance of the device.

QBluetoothUuid.CharacteristicType.ServiceChanged

QBluetoothUuid.CharacteristicType.SoftwareRevisionString

The value of this characteristic is a UTF-8 string representing the software revision for the software within the device.

QBluetoothUuid.CharacteristicType.SportTypeForAerobicAnaerobicThresholds

This characteristic is used to preset the various Aerobic and Anaerobic threshold characteristics based on the to-be-performed sport type.

QBluetoothUuid.CharacteristicType.SupportedNewAlertCategory

Category that the server supports for new alert.

QBluetoothUuid.CharacteristicType.SupportedUnreadAlertCategory

Category that the server supports for unread alert.

QBluetoothUuid.CharacteristicType.SystemID

If the system ID is based of a Bluetooth Device Address with a Company Identifier (OUI) is 0x123456 and the Company Assigned Identifier is 0x9ABCDE, then the System Identifier is required to be 0x123456FFFE9ABCDE.

QBluetoothUuid.CharacteristicType.Temperature

The value of this characteristic states the temperature in degree Celsius.

QBluetoothUuid.CharacteristicType.TemperatureMeasurement

The Temperature Measurement characteristic is a variable length structure containing a Flags field, a Temperature Measurement Value field and, based upon the contents of the Flags field, optionally a Time Stamp field and/or a Temperature Type field.

QBluetoothUuid.CharacteristicType.TemperatureType

The Temperature Type characteristic is an enumeration that indicates where the temperature was measured.

QBluetoothUuid.CharacteristicType.ThreeZoneHeartRateLimits

This characteristic contains the limits between the heart rate zones for the 3-zone heart rate definition.

QBluetoothUuid.CharacteristicType.TimeAccuracy

QBluetoothUuid.CharacteristicType.TimeSource

QBluetoothUuid.CharacteristicType.TimeUpdateControlPoint

QBluetoothUuid.CharacteristicType.TimeUpdateState

QBluetoothUuid.CharacteristicType.TimeWithDST

QBluetoothUuid.CharacteristicType.TimeZone

QBluetoothUuid.CharacteristicType.TrueWindDirection

The characteristic states the direction of the wind with an angle measured clockwise relative to (Geographic) True North. A wind coming from the east is given as 90 degrees.

QBluetoothUuid.CharacteristicType.TrueWindSpeed

The characteristic states the wind speed in meters per seconds.

QBluetoothUuid.CharacteristicType.TwoZoneHeartRateLimits

This characteristic contains the limits between the heart rate zones for the 2-zone heart rate definition.

QBluetoothUuid.CharacteristicType.TxPowerLevel

The value of the characteristic is a signed 8 bit integer that has a fixed point exponent of 0.

QBluetoothUuid.CharacteristicType.UnreadAlertStatus

This characteristic shows how many numbers of unread alerts exist in the specific category in the device.

QBluetoothUuid.CharacteristicType.UserControlPoint

QBluetoothUuid.CharacteristicType.UserIndex

This characteristic states the index of the user.

QBluetoothUuid.CharacteristicType.UVIndex

This characteristic exposes the UV index.

QBluetoothUuid.CharacteristicType.VO2Max

This characteristic exposes the maximum Oxygen uptake of a user.

QBluetoothUuid.CharacteristicType.WaistCircumference

This characteristic states the user’s waist circumference in meters.

QBluetoothUuid.CharacteristicType.Weight

This characteristic exposes the user’s weight in kilograms.

QBluetoothUuid.CharacteristicType.WeightMeasurement

This characteristic provides weight related data such as BMI or the user’s weight.

QBluetoothUuid.CharacteristicType.WeightScaleFeature

This characteristic describes the available data in the WeightMeasurement characteristic.

QBluetoothUuid.CharacteristicType.WindChill

This characteristic states the wind chill in degree Celsius

PySide6.QtBluetooth.QBluetoothUuid.DescriptorType#

Descriptors are attributes that describe Bluetooth Low Energy characteristic values.

This enum is a convienience type for descriptor class UUIDs. Values of this type will be implicitly converted into a QBluetoothUuid when necessary. The detailed type specifications can be found on bluetooth.org .

Constant

Description

QBluetoothUuid.DescriptorType.CharacteristicExtendedProperties

Descriptor defines additional Characteristic Properties. The existence of this descriptor is indicated by the ExtendedProperty flag.

QBluetoothUuid.DescriptorType.CharacteristicUserDescription

Descriptor provides a textual user description for a characteristic value.

QBluetoothUuid.DescriptorType.ClientCharacteristicConfiguration

Descriptor defines how the characteristic may be configured by a specific client.

QBluetoothUuid.DescriptorType.ServerCharacteristicConfiguration

Descriptor defines how the characteristic descriptor is associated with may be configured for the server.

QBluetoothUuid.DescriptorType.CharacteristicPresentationFormat

Descriptor defines the format of the Characteristic Value.

QBluetoothUuid.DescriptorType.CharacteristicAggregateFormat

Descriptor defines the format of an aggregated Characteristic Value.

QBluetoothUuid.DescriptorType.ValidRange

descriptor is used for defining the range of a characteristics. Two mandatory fields are contained (upper and lower bounds) which define the range.

QBluetoothUuid.DescriptorType.ExternalReportReference

Allows a HID Host to map information from the Report Map characteristic value for Input Report, Output Report or Feature Report data to the Characteristic UUID of external service characteristics used to transfer the associated data.

QBluetoothUuid.DescriptorType.ReportReference

Mapping information in the form of a Report ID and Report Type which maps the current parent characteristic to the Report ID(s) and Report Type (s) defined within the Report Map characteristic.

QBluetoothUuid.DescriptorType.EnvironmentalSensingConfiguration

Descriptor defines how multiple trigger settings descriptors are combined. Therefore this descriptor works together with the EnvironmentalSensingTriggerSetting descriptor to define the conditions under which the associated characteristic value can be notified.

QBluetoothUuid.DescriptorType.EnvironmentalSensingMeasurement

Descriptor defines the additional information for the environmental sensing server such as the intended application, sampling functions or measurement period and uncertainty.

QBluetoothUuid.DescriptorType.EnvironmentalSensingTriggerSetting

Descriptor defines under which conditions an environmental sensing server (ESS) should trigger notifications. Examples of such conditions are certain thresholds being reached or timers having expired. This implies that the ESS characteristic supports notifications.

QBluetoothUuid.DescriptorType.UnknownDescriptorType

The descriptor type is unknown.

static PySide6.QtBluetooth.QBluetoothUuid.characteristicToString(uuid)#
Parameters:

uuidCharacteristicType

Return type:

str

Returns a human-readable and translated name for the given characteristic type represented by uuid.

See also

CharacteristicType

static PySide6.QtBluetooth.QBluetoothUuid.descriptorToString(uuid)#
Parameters:

uuidDescriptorType

Return type:

str

Returns a human-readable and translated name for the given descriptor type represented by uuid.

See also

DescriptorType

PySide6.QtBluetooth.QBluetoothUuid.minimumSize()#
Return type:

int

Returns the minimum size in bytes that this UUID can be represented in. For non-null UUIDs 2, 4 or 16 is returned. 0 is returned for null UUIDs.

PySide6.QtBluetooth.QBluetoothUuid.__ne__(b)#
Parameters:

bPySide6.QtBluetooth.QBluetoothUuid

Return type:

bool

Returns true if a is not equal to b, otherwise false.

PySide6.QtBluetooth.QBluetoothUuid.__eq__(b)#
Parameters:

bPySide6.QtBluetooth.QBluetoothUuid

Return type:

bool

Returns true if a is equal to b, otherwise false.

static PySide6.QtBluetooth.QBluetoothUuid.protocolToString(uuid)#
Parameters:

uuidProtocolUuid

Return type:

str

Returns a human-readable and translated name for the given protocol represented by uuid.

See also

ProtocolUuid

static PySide6.QtBluetooth.QBluetoothUuid.serviceClassToString(uuid)#
Parameters:

uuidServiceClassUuid

Return type:

str

Returns a human-readable and translated name for the given service class represented by uuid.

See also

ServiceClassUuid

PySide6.QtBluetooth.QBluetoothUuid.toUInt16()#
Return type:

PyTuple

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.

PySide6.QtBluetooth.QBluetoothUuid.toUInt32()#
Return type:

PyTuple

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.