| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361 |
- // qbluetoothuuid.sip generated by MetaSIP
- //
- // This file is part of the QtBluetooth Python extension module.
- //
- // Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
- //
- // This file is part of PyQt6.
- //
- // This file may be used under the terms of the GNU General Public License
- // version 3.0 as published by the Free Software Foundation and appearing in
- // the file LICENSE included in the packaging of this file. Please review the
- // following information to ensure the GNU General Public License version 3.0
- // requirements will be met: http://www.gnu.org/copyleft/gpl.html.
- //
- // If you do not wish to use this file under the terms of the GPL version 3.0
- // then you may purchase a commercial license. For more information contact
- // info@riverbankcomputing.com.
- //
- // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
- // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- %If (Qt_6_2_0 -)
- class QBluetoothUuid : public QUuid
- {
- %TypeHeaderCode
- #include <qbluetoothuuid.h>
- %End
- public:
- enum class ProtocolUuid
- {
- Sdp,
- Udp,
- Rfcomm,
- Tcp,
- TcsBin,
- TcsAt,
- Att,
- Obex,
- Ip,
- Ftp,
- Http,
- Wsp,
- Bnep,
- Upnp,
- Hidp,
- HardcopyControlChannel,
- HardcopyDataChannel,
- HardcopyNotification,
- Avctp,
- Avdtp,
- Cmtp,
- UdiCPlain,
- McapControlChannel,
- McapDataChannel,
- L2cap,
- };
- enum class ServiceClassUuid
- {
- ServiceDiscoveryServer,
- BrowseGroupDescriptor,
- PublicBrowseGroup,
- SerialPort,
- LANAccessUsingPPP,
- DialupNetworking,
- IrMCSync,
- ObexObjectPush,
- OBEXFileTransfer,
- IrMCSyncCommand,
- Headset,
- AudioSource,
- AudioSink,
- AV_RemoteControlTarget,
- AdvancedAudioDistribution,
- AV_RemoteControl,
- AV_RemoteControlController,
- HeadsetAG,
- PANU,
- NAP,
- GN,
- DirectPrinting,
- ReferencePrinting,
- BasicImage,
- ImagingResponder,
- ImagingAutomaticArchive,
- ImagingReferenceObjects,
- Handsfree,
- HandsfreeAudioGateway,
- DirectPrintingReferenceObjectsService,
- ReflectedUI,
- BasicPrinting,
- PrintingStatus,
- HumanInterfaceDeviceService,
- HardcopyCableReplacement,
- HCRPrint,
- HCRScan,
- SIMAccess,
- PhonebookAccessPCE,
- PhonebookAccessPSE,
- PhonebookAccess,
- HeadsetHS,
- MessageAccessServer,
- MessageNotificationServer,
- MessageAccessProfile,
- GNSS,
- GNSSServer,
- Display3D,
- Glasses3D,
- Synchronization3D,
- MPSProfile,
- MPSService,
- PnPInformation,
- GenericNetworking,
- GenericFileTransfer,
- GenericAudio,
- GenericTelephony,
- VideoSource,
- VideoSink,
- VideoDistribution,
- HDP,
- HDPSource,
- HDPSink,
- GenericAccess,
- GenericAttribute,
- ImmediateAlert,
- LinkLoss,
- TxPower,
- CurrentTimeService,
- ReferenceTimeUpdateService,
- NextDSTChangeService,
- Glucose,
- HealthThermometer,
- DeviceInformation,
- HeartRate,
- PhoneAlertStatusService,
- BatteryService,
- BloodPressure,
- AlertNotificationService,
- HumanInterfaceDevice,
- ScanParameters,
- RunningSpeedAndCadence,
- CyclingSpeedAndCadence,
- CyclingPower,
- LocationAndNavigation,
- EnvironmentalSensing,
- BodyComposition,
- UserData,
- WeightScale,
- BondManagement,
- ContinuousGlucoseMonitoring,
- };
- enum class CharacteristicType
- {
- DeviceName,
- Appearance,
- PeripheralPrivacyFlag,
- ReconnectionAddress,
- PeripheralPreferredConnectionParameters,
- ServiceChanged,
- AlertLevel,
- TxPowerLevel,
- DateTime,
- DayOfWeek,
- DayDateTime,
- ExactTime256,
- DSTOffset,
- TimeZone,
- LocalTimeInformation,
- TimeWithDST,
- TimeAccuracy,
- TimeSource,
- ReferenceTimeInformation,
- TimeUpdateControlPoint,
- TimeUpdateState,
- GlucoseMeasurement,
- BatteryLevel,
- TemperatureMeasurement,
- TemperatureType,
- IntermediateTemperature,
- MeasurementInterval,
- BootKeyboardInputReport,
- SystemID,
- ModelNumberString,
- SerialNumberString,
- FirmwareRevisionString,
- HardwareRevisionString,
- SoftwareRevisionString,
- ManufacturerNameString,
- IEEE1107320601RegulatoryCertificationDataList,
- CurrentTime,
- MagneticDeclination,
- ScanRefresh,
- BootKeyboardOutputReport,
- BootMouseInputReport,
- GlucoseMeasurementContext,
- BloodPressureMeasurement,
- IntermediateCuffPressure,
- HeartRateMeasurement,
- BodySensorLocation,
- HeartRateControlPoint,
- AlertStatus,
- RingerControlPoint,
- RingerSetting,
- AlertCategoryIDBitMask,
- AlertCategoryID,
- AlertNotificationControlPoint,
- UnreadAlertStatus,
- NewAlert,
- SupportedNewAlertCategory,
- SupportedUnreadAlertCategory,
- BloodPressureFeature,
- HIDInformation,
- ReportMap,
- HIDControlPoint,
- Report,
- ProtocolMode,
- ScanIntervalWindow,
- PnPID,
- GlucoseFeature,
- RecordAccessControlPoint,
- RSCMeasurement,
- RSCFeature,
- SCControlPoint,
- CSCMeasurement,
- CSCFeature,
- SensorLocation,
- CyclingPowerMeasurement,
- CyclingPowerVector,
- CyclingPowerFeature,
- CyclingPowerControlPoint,
- LocationAndSpeed,
- Navigation,
- PositionQuality,
- LNFeature,
- LNControlPoint,
- Elevation,
- Pressure,
- Temperature,
- Humidity,
- TrueWindSpeed,
- TrueWindDirection,
- ApparentWindSpeed,
- ApparentWindDirection,
- GustFactor,
- PollenConcentration,
- UVIndex,
- Irradiance,
- Rainfall,
- WindChill,
- HeatIndex,
- DewPoint,
- DescriptorValueChanged,
- AerobicHeartRateLowerLimit,
- AerobicThreshold,
- Age,
- AnaerobicHeartRateLowerLimit,
- AnaerobicHeartRateUpperLimit,
- AnaerobicThreshold,
- AerobicHeartRateUpperLimit,
- DateOfBirth,
- DateOfThresholdAssessment,
- EmailAddress,
- FatBurnHeartRateLowerLimit,
- FatBurnHeartRateUpperLimit,
- FirstName,
- FiveZoneHeartRateLimits,
- Gender,
- HeartRateMax,
- Height,
- HipCircumference,
- LastName,
- MaximumRecommendedHeartRate,
- RestingHeartRate,
- SportTypeForAerobicAnaerobicThresholds,
- ThreeZoneHeartRateLimits,
- TwoZoneHeartRateLimits,
- VO2Max,
- WaistCircumference,
- Weight,
- DatabaseChangeIncrement,
- UserIndex,
- BodyCompositionFeature,
- BodyCompositionMeasurement,
- WeightMeasurement,
- WeightScaleFeature,
- UserControlPoint,
- MagneticFluxDensity2D,
- MagneticFluxDensity3D,
- Language,
- BarometricPressureTrend,
- };
- enum class DescriptorType
- {
- UnknownDescriptorType,
- CharacteristicExtendedProperties,
- CharacteristicUserDescription,
- ClientCharacteristicConfiguration,
- ServerCharacteristicConfiguration,
- CharacteristicPresentationFormat,
- CharacteristicAggregateFormat,
- ValidRange,
- ExternalReportReference,
- ReportReference,
- EnvironmentalSensingConfiguration,
- EnvironmentalSensingMeasurement,
- EnvironmentalSensingTriggerSetting,
- };
- QBluetoothUuid();
- QBluetoothUuid(QBluetoothUuid::ProtocolUuid uuid);
- QBluetoothUuid(QBluetoothUuid::ServiceClassUuid uuid);
- QBluetoothUuid(QBluetoothUuid::CharacteristicType uuid);
- QBluetoothUuid(QBluetoothUuid::DescriptorType uuid);
- explicit QBluetoothUuid(quint32 uuid);
- %If (Qt_6_6_0 -)
- QBluetoothUuid(quint128 uuid, QSysInfo::Endian order = QSysInfo::BigEndian);
- %End
- %If (- Qt_6_6_0)
- explicit QBluetoothUuid(quint128 uuid);
- %End
- explicit QBluetoothUuid(const QString &uuid);
- QBluetoothUuid(const QBluetoothUuid &uuid);
- QBluetoothUuid(const QUuid &uuid);
- ~QBluetoothUuid();
- int minimumSize() const;
- quint16 toUInt16(bool *ok = 0) const;
- quint32 toUInt32(bool *ok = 0) const;
- quint128 toUInt128() const;
- static QString serviceClassToString(QBluetoothUuid::ServiceClassUuid uuid);
- static QString protocolToString(QBluetoothUuid::ProtocolUuid uuid);
- static QString characteristicToString(QBluetoothUuid::CharacteristicType uuid);
- static QString descriptorToString(QBluetoothUuid::DescriptorType uuid);
- %If (Qt_6_7_0 -)
- // This is reimplemented because the == and != operators prevent the
- // super-class's implementation from being inherited.
- Py_hash_t __hash__() const;
- %MethodCode
- sipRes = qHash(*sipCpp);
- %End
- %End
- };
- %End
- %If (Qt_6_2_0 -)
- QDataStream &operator<<(QDataStream &s, const QBluetoothUuid &uuid) /ReleaseGIL/;
- %End
- %If (Qt_6_2_0 -)
- QDataStream &operator>>(QDataStream &s, QBluetoothUuid &uuid /Constrained/) /ReleaseGIL/;
- %End
- %If (Qt_6_2_0 -)
- bool operator==(const QBluetoothUuid &a, const QBluetoothUuid &b);
- %End
- %If (Qt_6_2_0 -)
- bool operator!=(const QBluetoothUuid &a, const QBluetoothUuid &b);
- %End
|