File indexing completed on 2024-06-16 04:22:10
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 from QtWidgets import * 0007 0008 import datetime 0009 0010 class QBluetooth(): 0011 """""" 0012 # Enum QBluetooth.Security 0013 NoSecurity = 0 0014 Authorization = 0 0015 Authentication = 0 0016 Encryption = 0 0017 Secure = 0 0018 0019 class SecurityFlags(): 0020 """""" 0021 def __init__(self): 0022 '''QBluetooth.SecurityFlags QBluetooth.SecurityFlags.__init__()''' 0023 return QBluetooth.SecurityFlags() 0024 def __init__(self): 0025 '''int QBluetooth.SecurityFlags.__init__()''' 0026 return int() 0027 def __init__(self): 0028 '''void QBluetooth.SecurityFlags.__init__()''' 0029 def __bool__(self): 0030 '''int QBluetooth.SecurityFlags.__bool__()''' 0031 return int() 0032 def __ne__(self, f): 0033 '''bool QBluetooth.SecurityFlags.__ne__(QBluetooth.SecurityFlags f)''' 0034 return bool() 0035 def __eq__(self, f): 0036 '''bool QBluetooth.SecurityFlags.__eq__(QBluetooth.SecurityFlags f)''' 0037 return bool() 0038 def __invert__(self): 0039 '''QBluetooth.SecurityFlags QBluetooth.SecurityFlags.__invert__()''' 0040 return QBluetooth.SecurityFlags() 0041 def __and__(self, mask): 0042 '''QBluetooth.SecurityFlags QBluetooth.SecurityFlags.__and__(int mask)''' 0043 return QBluetooth.SecurityFlags() 0044 def __xor__(self, f): 0045 '''QBluetooth.SecurityFlags QBluetooth.SecurityFlags.__xor__(QBluetooth.SecurityFlags f)''' 0046 return QBluetooth.SecurityFlags() 0047 def __xor__(self, f): 0048 '''QBluetooth.SecurityFlags QBluetooth.SecurityFlags.__xor__(int f)''' 0049 return QBluetooth.SecurityFlags() 0050 def __or__(self, f): 0051 '''QBluetooth.SecurityFlags QBluetooth.SecurityFlags.__or__(QBluetooth.SecurityFlags f)''' 0052 return QBluetooth.SecurityFlags() 0053 def __or__(self, f): 0054 '''QBluetooth.SecurityFlags QBluetooth.SecurityFlags.__or__(int f)''' 0055 return QBluetooth.SecurityFlags() 0056 def __int__(self): 0057 '''int QBluetooth.SecurityFlags.__int__()''' 0058 return int() 0059 def __ixor__(self, f): 0060 '''QBluetooth.SecurityFlags QBluetooth.SecurityFlags.__ixor__(QBluetooth.SecurityFlags f)''' 0061 return QBluetooth.SecurityFlags() 0062 def __ior__(self, f): 0063 '''QBluetooth.SecurityFlags QBluetooth.SecurityFlags.__ior__(QBluetooth.SecurityFlags f)''' 0064 return QBluetooth.SecurityFlags() 0065 def __iand__(self, mask): 0066 '''QBluetooth.SecurityFlags QBluetooth.SecurityFlags.__iand__(int mask)''' 0067 return QBluetooth.SecurityFlags() 0068 0069 0070 class QBluetoothAddress(): 0071 """""" 0072 def __init__(self): 0073 '''void QBluetoothAddress.__init__()''' 0074 def __init__(self, address): 0075 '''void QBluetoothAddress.__init__(int address)''' 0076 def __init__(self, address): 0077 '''void QBluetoothAddress.__init__(str address)''' 0078 def __init__(self, other): 0079 '''void QBluetoothAddress.__init__(QBluetoothAddress other)''' 0080 def __ge__(self, other): 0081 '''bool QBluetoothAddress.__ge__(QBluetoothAddress other)''' 0082 return bool() 0083 def toString(self): 0084 '''str QBluetoothAddress.toString()''' 0085 return str() 0086 def toUInt64(self): 0087 '''int QBluetoothAddress.toUInt64()''' 0088 return int() 0089 def __ne__(self, other): 0090 '''bool QBluetoothAddress.__ne__(QBluetoothAddress other)''' 0091 return bool() 0092 def __eq__(self, other): 0093 '''bool QBluetoothAddress.__eq__(QBluetoothAddress other)''' 0094 return bool() 0095 def __lt__(self, other): 0096 '''bool QBluetoothAddress.__lt__(QBluetoothAddress other)''' 0097 return bool() 0098 def clear(self): 0099 '''void QBluetoothAddress.clear()''' 0100 def isNull(self): 0101 '''bool QBluetoothAddress.isNull()''' 0102 return bool() 0103 0104 0105 class QBluetoothDeviceDiscoveryAgent(QObject): 0106 """""" 0107 # Enum QBluetoothDeviceDiscoveryAgent.InquiryType 0108 GeneralUnlimitedInquiry = 0 0109 LimitedInquiry = 0 0110 0111 # Enum QBluetoothDeviceDiscoveryAgent.Error 0112 NoError = 0 0113 InputOutputError = 0 0114 PoweredOffError = 0 0115 InvalidBluetoothAdapterError = 0 0116 UnsupportedPlatformError = 0 0117 UnknownError = 0 0118 0119 def __init__(self, parent = None): 0120 '''void QBluetoothDeviceDiscoveryAgent.__init__(QObject parent = None)''' 0121 def __init__(self, deviceAdapter, parent = None): 0122 '''void QBluetoothDeviceDiscoveryAgent.__init__(QBluetoothAddress deviceAdapter, QObject parent = None)''' 0123 canceled = pyqtSignal() # void canceled() - signal 0124 finished = pyqtSignal() # void finished() - signal 0125 deviceDiscovered = pyqtSignal() # void deviceDiscovered(const QBluetoothDeviceInfoamp;) - signal 0126 def stop(self): 0127 '''void QBluetoothDeviceDiscoveryAgent.stop()''' 0128 def start(self): 0129 '''void QBluetoothDeviceDiscoveryAgent.start()''' 0130 def discoveredDevices(self): 0131 '''list-of-QBluetoothDeviceInfo QBluetoothDeviceDiscoveryAgent.discoveredDevices()''' 0132 return [QBluetoothDeviceInfo()] 0133 def errorString(self): 0134 '''str QBluetoothDeviceDiscoveryAgent.errorString()''' 0135 return str() 0136 def error(self): 0137 '''QBluetoothDeviceDiscoveryAgent.Error QBluetoothDeviceDiscoveryAgent.error()''' 0138 return QBluetoothDeviceDiscoveryAgent.Error() 0139 error = pyqtSignal() # void error(QBluetoothDeviceDiscoveryAgent::Error) - signal 0140 def isActive(self): 0141 '''bool QBluetoothDeviceDiscoveryAgent.isActive()''' 0142 return bool() 0143 def setInquiryType(self, type): 0144 '''void QBluetoothDeviceDiscoveryAgent.setInquiryType(QBluetoothDeviceDiscoveryAgent.InquiryType type)''' 0145 def inquiryType(self): 0146 '''QBluetoothDeviceDiscoveryAgent.InquiryType QBluetoothDeviceDiscoveryAgent.inquiryType()''' 0147 return QBluetoothDeviceDiscoveryAgent.InquiryType() 0148 0149 0150 class QBluetoothDeviceInfo(): 0151 """""" 0152 # Enum QBluetoothDeviceInfo.CoreConfiguration 0153 UnknownCoreConfiguration = 0 0154 LowEnergyCoreConfiguration = 0 0155 BaseRateCoreConfiguration = 0 0156 BaseRateAndLowEnergyCoreConfiguration = 0 0157 0158 # Enum QBluetoothDeviceInfo.DataCompleteness 0159 DataComplete = 0 0160 DataIncomplete = 0 0161 DataUnavailable = 0 0162 0163 # Enum QBluetoothDeviceInfo.ServiceClass 0164 NoService = 0 0165 PositioningService = 0 0166 NetworkingService = 0 0167 RenderingService = 0 0168 CapturingService = 0 0169 ObjectTransferService = 0 0170 AudioService = 0 0171 TelephonyService = 0 0172 InformationService = 0 0173 AllServices = 0 0174 0175 # Enum QBluetoothDeviceInfo.MinorHealthClass 0176 UncategorizedHealthDevice = 0 0177 HealthBloodPressureMonitor = 0 0178 HealthThermometer = 0 0179 HealthWeightScale = 0 0180 HealthGlucoseMeter = 0 0181 HealthPulseOximeter = 0 0182 HealthDataDisplay = 0 0183 HealthStepCounter = 0 0184 0185 # Enum QBluetoothDeviceInfo.MinorToyClass 0186 UncategorizedToy = 0 0187 ToyRobot = 0 0188 ToyVehicle = 0 0189 ToyDoll = 0 0190 ToyController = 0 0191 ToyGame = 0 0192 0193 # Enum QBluetoothDeviceInfo.MinorWearableClass 0194 UncategorizedWearableDevice = 0 0195 WearableWristWatch = 0 0196 WearablePager = 0 0197 WearableJacket = 0 0198 WearableHelmet = 0 0199 WearableGlasses = 0 0200 0201 # Enum QBluetoothDeviceInfo.MinorImagingClass 0202 UncategorizedImagingDevice = 0 0203 ImageDisplay = 0 0204 ImageCamera = 0 0205 ImageScanner = 0 0206 ImagePrinter = 0 0207 0208 # Enum QBluetoothDeviceInfo.MinorPeripheralClass 0209 UncategorizedPeripheral = 0 0210 KeyboardPeripheral = 0 0211 PointingDevicePeripheral = 0 0212 KeyboardWithPointingDevicePeripheral = 0 0213 JoystickPeripheral = 0 0214 GamepadPeripheral = 0 0215 RemoteControlPeripheral = 0 0216 SensingDevicePeripheral = 0 0217 DigitizerTabletPeripheral = 0 0218 CardReaderPeripheral = 0 0219 0220 # Enum QBluetoothDeviceInfo.MinorAudioVideoClass 0221 UncategorizedAudioVideoDevice = 0 0222 WearableHeadsetDevice = 0 0223 HandsFreeDevice = 0 0224 Microphone = 0 0225 Loudspeaker = 0 0226 Headphones = 0 0227 PortableAudioDevice = 0 0228 CarAudio = 0 0229 SetTopBox = 0 0230 HiFiAudioDevice = 0 0231 Vcr = 0 0232 VideoCamera = 0 0233 Camcorder = 0 0234 VideoMonitor = 0 0235 VideoDisplayAndLoudspeaker = 0 0236 VideoConferencing = 0 0237 GamingDevice = 0 0238 0239 # Enum QBluetoothDeviceInfo.MinorNetworkClass 0240 NetworkFullService = 0 0241 NetworkLoadFactorOne = 0 0242 NetworkLoadFactorTwo = 0 0243 NetworkLoadFactorThree = 0 0244 NetworkLoadFactorFour = 0 0245 NetworkLoadFactorFive = 0 0246 NetworkLoadFactorSix = 0 0247 NetworkNoService = 0 0248 0249 # Enum QBluetoothDeviceInfo.MinorPhoneClass 0250 UncategorizedPhone = 0 0251 CellularPhone = 0 0252 CordlessPhone = 0 0253 SmartPhone = 0 0254 WiredModemOrVoiceGatewayPhone = 0 0255 CommonIsdnAccessPhone = 0 0256 0257 # Enum QBluetoothDeviceInfo.MinorComputerClass 0258 UncategorizedComputer = 0 0259 DesktopComputer = 0 0260 ServerComputer = 0 0261 LaptopComputer = 0 0262 HandheldClamShellComputer = 0 0263 HandheldComputer = 0 0264 WearableComputer = 0 0265 0266 # Enum QBluetoothDeviceInfo.MinorMiscellaneousClass 0267 UncategorizedMiscellaneous = 0 0268 0269 # Enum QBluetoothDeviceInfo.MajorDeviceClass 0270 MiscellaneousDevice = 0 0271 ComputerDevice = 0 0272 PhoneDevice = 0 0273 LANAccessDevice = 0 0274 AudioVideoDevice = 0 0275 PeripheralDevice = 0 0276 ImagingDevice = 0 0277 WearableDevice = 0 0278 ToyDevice = 0 0279 HealthDevice = 0 0280 UncategorizedDevice = 0 0281 0282 def __init__(self): 0283 '''void QBluetoothDeviceInfo.__init__()''' 0284 def __init__(self, address, name, classOfDevice): 0285 '''void QBluetoothDeviceInfo.__init__(QBluetoothAddress address, str name, int classOfDevice)''' 0286 def __init__(self, uuid, name, classOfDevice): 0287 '''void QBluetoothDeviceInfo.__init__(QBluetoothUuid uuid, str name, int classOfDevice)''' 0288 def __init__(self, other): 0289 '''void QBluetoothDeviceInfo.__init__(QBluetoothDeviceInfo other)''' 0290 def deviceUuid(self): 0291 '''QBluetoothUuid QBluetoothDeviceInfo.deviceUuid()''' 0292 return QBluetoothUuid() 0293 def setDeviceUuid(self, uuid): 0294 '''void QBluetoothDeviceInfo.setDeviceUuid(QBluetoothUuid uuid)''' 0295 def coreConfigurations(self): 0296 '''QBluetoothDeviceInfo.CoreConfigurations QBluetoothDeviceInfo.coreConfigurations()''' 0297 return QBluetoothDeviceInfo.CoreConfigurations() 0298 def setCoreConfigurations(self, coreConfigs): 0299 '''void QBluetoothDeviceInfo.setCoreConfigurations(QBluetoothDeviceInfo.CoreConfigurations coreConfigs)''' 0300 def serviceUuidsCompleteness(self): 0301 '''QBluetoothDeviceInfo.DataCompleteness QBluetoothDeviceInfo.serviceUuidsCompleteness()''' 0302 return QBluetoothDeviceInfo.DataCompleteness() 0303 def serviceUuids(self, completeness): 0304 '''list-of-QBluetoothUuid QBluetoothDeviceInfo.serviceUuids(QBluetoothDeviceInfo.DataCompleteness completeness)''' 0305 return [QBluetoothUuid()] 0306 def setServiceUuids(self, uuids, completeness): 0307 '''void QBluetoothDeviceInfo.setServiceUuids(list-of-QBluetoothUuid uuids, QBluetoothDeviceInfo.DataCompleteness completeness)''' 0308 def setRssi(self, signal): 0309 '''void QBluetoothDeviceInfo.setRssi(int signal)''' 0310 def rssi(self): 0311 '''int QBluetoothDeviceInfo.rssi()''' 0312 return int() 0313 def minorDeviceClass(self): 0314 '''int QBluetoothDeviceInfo.minorDeviceClass()''' 0315 return int() 0316 def majorDeviceClass(self): 0317 '''QBluetoothDeviceInfo.MajorDeviceClass QBluetoothDeviceInfo.majorDeviceClass()''' 0318 return QBluetoothDeviceInfo.MajorDeviceClass() 0319 def serviceClasses(self): 0320 '''QBluetoothDeviceInfo.ServiceClasses QBluetoothDeviceInfo.serviceClasses()''' 0321 return QBluetoothDeviceInfo.ServiceClasses() 0322 def name(self): 0323 '''str QBluetoothDeviceInfo.name()''' 0324 return str() 0325 def address(self): 0326 '''QBluetoothAddress QBluetoothDeviceInfo.address()''' 0327 return QBluetoothAddress() 0328 def __ne__(self, other): 0329 '''bool QBluetoothDeviceInfo.__ne__(QBluetoothDeviceInfo other)''' 0330 return bool() 0331 def __eq__(self, other): 0332 '''bool QBluetoothDeviceInfo.__eq__(QBluetoothDeviceInfo other)''' 0333 return bool() 0334 def setCached(self, cached): 0335 '''void QBluetoothDeviceInfo.setCached(bool cached)''' 0336 def isCached(self): 0337 '''bool QBluetoothDeviceInfo.isCached()''' 0338 return bool() 0339 def isValid(self): 0340 '''bool QBluetoothDeviceInfo.isValid()''' 0341 return bool() 0342 class CoreConfigurations(): 0343 """""" 0344 def __init__(self): 0345 '''QBluetoothDeviceInfo.CoreConfigurations QBluetoothDeviceInfo.CoreConfigurations.__init__()''' 0346 return QBluetoothDeviceInfo.CoreConfigurations() 0347 def __init__(self): 0348 '''int QBluetoothDeviceInfo.CoreConfigurations.__init__()''' 0349 return int() 0350 def __init__(self): 0351 '''void QBluetoothDeviceInfo.CoreConfigurations.__init__()''' 0352 def __bool__(self): 0353 '''int QBluetoothDeviceInfo.CoreConfigurations.__bool__()''' 0354 return int() 0355 def __ne__(self, f): 0356 '''bool QBluetoothDeviceInfo.CoreConfigurations.__ne__(QBluetoothDeviceInfo.CoreConfigurations f)''' 0357 return bool() 0358 def __eq__(self, f): 0359 '''bool QBluetoothDeviceInfo.CoreConfigurations.__eq__(QBluetoothDeviceInfo.CoreConfigurations f)''' 0360 return bool() 0361 def __invert__(self): 0362 '''QBluetoothDeviceInfo.CoreConfigurations QBluetoothDeviceInfo.CoreConfigurations.__invert__()''' 0363 return QBluetoothDeviceInfo.CoreConfigurations() 0364 def __and__(self, mask): 0365 '''QBluetoothDeviceInfo.CoreConfigurations QBluetoothDeviceInfo.CoreConfigurations.__and__(int mask)''' 0366 return QBluetoothDeviceInfo.CoreConfigurations() 0367 def __xor__(self, f): 0368 '''QBluetoothDeviceInfo.CoreConfigurations QBluetoothDeviceInfo.CoreConfigurations.__xor__(QBluetoothDeviceInfo.CoreConfigurations f)''' 0369 return QBluetoothDeviceInfo.CoreConfigurations() 0370 def __xor__(self, f): 0371 '''QBluetoothDeviceInfo.CoreConfigurations QBluetoothDeviceInfo.CoreConfigurations.__xor__(int f)''' 0372 return QBluetoothDeviceInfo.CoreConfigurations() 0373 def __or__(self, f): 0374 '''QBluetoothDeviceInfo.CoreConfigurations QBluetoothDeviceInfo.CoreConfigurations.__or__(QBluetoothDeviceInfo.CoreConfigurations f)''' 0375 return QBluetoothDeviceInfo.CoreConfigurations() 0376 def __or__(self, f): 0377 '''QBluetoothDeviceInfo.CoreConfigurations QBluetoothDeviceInfo.CoreConfigurations.__or__(int f)''' 0378 return QBluetoothDeviceInfo.CoreConfigurations() 0379 def __int__(self): 0380 '''int QBluetoothDeviceInfo.CoreConfigurations.__int__()''' 0381 return int() 0382 def __ixor__(self, f): 0383 '''QBluetoothDeviceInfo.CoreConfigurations QBluetoothDeviceInfo.CoreConfigurations.__ixor__(QBluetoothDeviceInfo.CoreConfigurations f)''' 0384 return QBluetoothDeviceInfo.CoreConfigurations() 0385 def __ior__(self, f): 0386 '''QBluetoothDeviceInfo.CoreConfigurations QBluetoothDeviceInfo.CoreConfigurations.__ior__(QBluetoothDeviceInfo.CoreConfigurations f)''' 0387 return QBluetoothDeviceInfo.CoreConfigurations() 0388 def __iand__(self, mask): 0389 '''QBluetoothDeviceInfo.CoreConfigurations QBluetoothDeviceInfo.CoreConfigurations.__iand__(int mask)''' 0390 return QBluetoothDeviceInfo.CoreConfigurations() 0391 class ServiceClasses(): 0392 """""" 0393 def __init__(self): 0394 '''QBluetoothDeviceInfo.ServiceClasses QBluetoothDeviceInfo.ServiceClasses.__init__()''' 0395 return QBluetoothDeviceInfo.ServiceClasses() 0396 def __init__(self): 0397 '''int QBluetoothDeviceInfo.ServiceClasses.__init__()''' 0398 return int() 0399 def __init__(self): 0400 '''void QBluetoothDeviceInfo.ServiceClasses.__init__()''' 0401 def __bool__(self): 0402 '''int QBluetoothDeviceInfo.ServiceClasses.__bool__()''' 0403 return int() 0404 def __ne__(self, f): 0405 '''bool QBluetoothDeviceInfo.ServiceClasses.__ne__(QBluetoothDeviceInfo.ServiceClasses f)''' 0406 return bool() 0407 def __eq__(self, f): 0408 '''bool QBluetoothDeviceInfo.ServiceClasses.__eq__(QBluetoothDeviceInfo.ServiceClasses f)''' 0409 return bool() 0410 def __invert__(self): 0411 '''QBluetoothDeviceInfo.ServiceClasses QBluetoothDeviceInfo.ServiceClasses.__invert__()''' 0412 return QBluetoothDeviceInfo.ServiceClasses() 0413 def __and__(self, mask): 0414 '''QBluetoothDeviceInfo.ServiceClasses QBluetoothDeviceInfo.ServiceClasses.__and__(int mask)''' 0415 return QBluetoothDeviceInfo.ServiceClasses() 0416 def __xor__(self, f): 0417 '''QBluetoothDeviceInfo.ServiceClasses QBluetoothDeviceInfo.ServiceClasses.__xor__(QBluetoothDeviceInfo.ServiceClasses f)''' 0418 return QBluetoothDeviceInfo.ServiceClasses() 0419 def __xor__(self, f): 0420 '''QBluetoothDeviceInfo.ServiceClasses QBluetoothDeviceInfo.ServiceClasses.__xor__(int f)''' 0421 return QBluetoothDeviceInfo.ServiceClasses() 0422 def __or__(self, f): 0423 '''QBluetoothDeviceInfo.ServiceClasses QBluetoothDeviceInfo.ServiceClasses.__or__(QBluetoothDeviceInfo.ServiceClasses f)''' 0424 return QBluetoothDeviceInfo.ServiceClasses() 0425 def __or__(self, f): 0426 '''QBluetoothDeviceInfo.ServiceClasses QBluetoothDeviceInfo.ServiceClasses.__or__(int f)''' 0427 return QBluetoothDeviceInfo.ServiceClasses() 0428 def __int__(self): 0429 '''int QBluetoothDeviceInfo.ServiceClasses.__int__()''' 0430 return int() 0431 def __ixor__(self, f): 0432 '''QBluetoothDeviceInfo.ServiceClasses QBluetoothDeviceInfo.ServiceClasses.__ixor__(QBluetoothDeviceInfo.ServiceClasses f)''' 0433 return QBluetoothDeviceInfo.ServiceClasses() 0434 def __ior__(self, f): 0435 '''QBluetoothDeviceInfo.ServiceClasses QBluetoothDeviceInfo.ServiceClasses.__ior__(QBluetoothDeviceInfo.ServiceClasses f)''' 0436 return QBluetoothDeviceInfo.ServiceClasses() 0437 def __iand__(self, mask): 0438 '''QBluetoothDeviceInfo.ServiceClasses QBluetoothDeviceInfo.ServiceClasses.__iand__(int mask)''' 0439 return QBluetoothDeviceInfo.ServiceClasses() 0440 0441 0442 class QBluetoothHostInfo(): 0443 """""" 0444 def __init__(self): 0445 '''void QBluetoothHostInfo.__init__()''' 0446 def __init__(self, other): 0447 '''void QBluetoothHostInfo.__init__(QBluetoothHostInfo other)''' 0448 def __ne__(self, other): 0449 '''bool QBluetoothHostInfo.__ne__(QBluetoothHostInfo other)''' 0450 return bool() 0451 def __eq__(self, other): 0452 '''bool QBluetoothHostInfo.__eq__(QBluetoothHostInfo other)''' 0453 return bool() 0454 def setName(self, name): 0455 '''void QBluetoothHostInfo.setName(str name)''' 0456 def name(self): 0457 '''str QBluetoothHostInfo.name()''' 0458 return str() 0459 def setAddress(self, address): 0460 '''void QBluetoothHostInfo.setAddress(QBluetoothAddress address)''' 0461 def address(self): 0462 '''QBluetoothAddress QBluetoothHostInfo.address()''' 0463 return QBluetoothAddress() 0464 0465 0466 class QBluetoothLocalDevice(QObject): 0467 """""" 0468 # Enum QBluetoothLocalDevice.Error 0469 NoError = 0 0470 PairingError = 0 0471 UnknownError = 0 0472 0473 # Enum QBluetoothLocalDevice.HostMode 0474 HostPoweredOff = 0 0475 HostConnectable = 0 0476 HostDiscoverable = 0 0477 HostDiscoverableLimitedInquiry = 0 0478 0479 # Enum QBluetoothLocalDevice.Pairing 0480 Unpaired = 0 0481 Paired = 0 0482 AuthorizedPaired = 0 0483 0484 def __init__(self, parent = None): 0485 '''void QBluetoothLocalDevice.__init__(QObject parent = None)''' 0486 def __init__(self, address, parent = None): 0487 '''void QBluetoothLocalDevice.__init__(QBluetoothAddress address, QObject parent = None)''' 0488 deviceDisconnected = pyqtSignal() # void deviceDisconnected(const QBluetoothAddressamp;) - signal 0489 deviceConnected = pyqtSignal() # void deviceConnected(const QBluetoothAddressamp;) - signal 0490 error = pyqtSignal() # void error(QBluetoothLocalDevice::Error) - signal 0491 pairingDisplayConfirmation = pyqtSignal() # void pairingDisplayConfirmation(const QBluetoothAddressamp;,QString) - signal 0492 pairingDisplayPinCode = pyqtSignal() # void pairingDisplayPinCode(const QBluetoothAddressamp;,QString) - signal 0493 pairingFinished = pyqtSignal() # void pairingFinished(const QBluetoothAddressamp;,QBluetoothLocalDevice::Pairing) - signal 0494 hostModeStateChanged = pyqtSignal() # void hostModeStateChanged(QBluetoothLocalDevice::HostMode) - signal 0495 def pairingConfirmation(self, confirmation): 0496 '''void QBluetoothLocalDevice.pairingConfirmation(bool confirmation)''' 0497 def connectedDevices(self): 0498 '''list-of-QBluetoothAddress QBluetoothLocalDevice.connectedDevices()''' 0499 return [QBluetoothAddress()] 0500 def allDevices(self): 0501 '''static list-of-QBluetoothHostInfo QBluetoothLocalDevice.allDevices()''' 0502 return [QBluetoothHostInfo()] 0503 def address(self): 0504 '''QBluetoothAddress QBluetoothLocalDevice.address()''' 0505 return QBluetoothAddress() 0506 def name(self): 0507 '''str QBluetoothLocalDevice.name()''' 0508 return str() 0509 def powerOn(self): 0510 '''void QBluetoothLocalDevice.powerOn()''' 0511 def hostMode(self): 0512 '''QBluetoothLocalDevice.HostMode QBluetoothLocalDevice.hostMode()''' 0513 return QBluetoothLocalDevice.HostMode() 0514 def setHostMode(self, mode): 0515 '''void QBluetoothLocalDevice.setHostMode(QBluetoothLocalDevice.HostMode mode)''' 0516 def pairingStatus(self, address): 0517 '''QBluetoothLocalDevice.Pairing QBluetoothLocalDevice.pairingStatus(QBluetoothAddress address)''' 0518 return QBluetoothLocalDevice.Pairing() 0519 def requestPairing(self, address, pairing): 0520 '''void QBluetoothLocalDevice.requestPairing(QBluetoothAddress address, QBluetoothLocalDevice.Pairing pairing)''' 0521 def isValid(self): 0522 '''bool QBluetoothLocalDevice.isValid()''' 0523 return bool() 0524 0525 0526 class QBluetoothServer(QObject): 0527 """""" 0528 # Enum QBluetoothServer.Error 0529 NoError = 0 0530 UnknownError = 0 0531 PoweredOffError = 0 0532 InputOutputError = 0 0533 ServiceAlreadyRegisteredError = 0 0534 UnsupportedProtocolError = 0 0535 0536 def __init__(self, serverType, parent = None): 0537 '''void QBluetoothServer.__init__(QBluetoothServiceInfo.Protocol serverType, QObject parent = None)''' 0538 newConnection = pyqtSignal() # void newConnection() - signal 0539 def error(self): 0540 '''QBluetoothServer.Error QBluetoothServer.error()''' 0541 return QBluetoothServer.Error() 0542 error = pyqtSignal() # void error(QBluetoothServer::Error) - signal 0543 def serverType(self): 0544 '''QBluetoothServiceInfo.Protocol QBluetoothServer.serverType()''' 0545 return QBluetoothServiceInfo.Protocol() 0546 def securityFlags(self): 0547 '''QBluetooth.SecurityFlags QBluetoothServer.securityFlags()''' 0548 return QBluetooth.SecurityFlags() 0549 def setSecurityFlags(self, security): 0550 '''void QBluetoothServer.setSecurityFlags(QBluetooth.SecurityFlags security)''' 0551 def serverPort(self): 0552 '''int QBluetoothServer.serverPort()''' 0553 return int() 0554 def serverAddress(self): 0555 '''QBluetoothAddress QBluetoothServer.serverAddress()''' 0556 return QBluetoothAddress() 0557 def nextPendingConnection(self): 0558 '''QBluetoothSocket QBluetoothServer.nextPendingConnection()''' 0559 return QBluetoothSocket() 0560 def hasPendingConnections(self): 0561 '''bool QBluetoothServer.hasPendingConnections()''' 0562 return bool() 0563 def maxPendingConnections(self): 0564 '''int QBluetoothServer.maxPendingConnections()''' 0565 return int() 0566 def setMaxPendingConnections(self, numConnections): 0567 '''void QBluetoothServer.setMaxPendingConnections(int numConnections)''' 0568 def isListening(self): 0569 '''bool QBluetoothServer.isListening()''' 0570 return bool() 0571 def listen(self, address = QBluetoothAddress(), port = 0): 0572 '''bool QBluetoothServer.listen(QBluetoothAddress address = QBluetoothAddress(), int port = 0)''' 0573 return bool() 0574 def listen(self, uuid, serviceName = None): 0575 '''QBluetoothServiceInfo QBluetoothServer.listen(QBluetoothUuid uuid, str serviceName = '')''' 0576 return QBluetoothServiceInfo() 0577 def close(self): 0578 '''void QBluetoothServer.close()''' 0579 0580 0581 class QBluetoothServiceDiscoveryAgent(QObject): 0582 """""" 0583 # Enum QBluetoothServiceDiscoveryAgent.DiscoveryMode 0584 MinimalDiscovery = 0 0585 FullDiscovery = 0 0586 0587 # Enum QBluetoothServiceDiscoveryAgent.Error 0588 NoError = 0 0589 InputOutputError = 0 0590 PoweredOffError = 0 0591 InvalidBluetoothAdapterError = 0 0592 UnknownError = 0 0593 0594 def __init__(self, parent = None): 0595 '''void QBluetoothServiceDiscoveryAgent.__init__(QObject parent = None)''' 0596 def __init__(self, deviceAdapter, parent = None): 0597 '''void QBluetoothServiceDiscoveryAgent.__init__(QBluetoothAddress deviceAdapter, QObject parent = None)''' 0598 canceled = pyqtSignal() # void canceled() - signal 0599 finished = pyqtSignal() # void finished() - signal 0600 serviceDiscovered = pyqtSignal() # void serviceDiscovered(const QBluetoothServiceInfoamp;) - signal 0601 def clear(self): 0602 '''void QBluetoothServiceDiscoveryAgent.clear()''' 0603 def stop(self): 0604 '''void QBluetoothServiceDiscoveryAgent.stop()''' 0605 def start(self, mode = None): 0606 '''void QBluetoothServiceDiscoveryAgent.start(QBluetoothServiceDiscoveryAgent.DiscoveryMode mode = QBluetoothServiceDiscoveryAgent.MinimalDiscovery)''' 0607 def remoteAddress(self): 0608 '''QBluetoothAddress QBluetoothServiceDiscoveryAgent.remoteAddress()''' 0609 return QBluetoothAddress() 0610 def setRemoteAddress(self, address): 0611 '''bool QBluetoothServiceDiscoveryAgent.setRemoteAddress(QBluetoothAddress address)''' 0612 return bool() 0613 def uuidFilter(self): 0614 '''list-of-QBluetoothUuid QBluetoothServiceDiscoveryAgent.uuidFilter()''' 0615 return [QBluetoothUuid()] 0616 def setUuidFilter(self, uuids): 0617 '''void QBluetoothServiceDiscoveryAgent.setUuidFilter(list-of-QBluetoothUuid uuids)''' 0618 def setUuidFilter(self, uuid): 0619 '''void QBluetoothServiceDiscoveryAgent.setUuidFilter(QBluetoothUuid uuid)''' 0620 def discoveredServices(self): 0621 '''list-of-QBluetoothServiceInfo QBluetoothServiceDiscoveryAgent.discoveredServices()''' 0622 return [QBluetoothServiceInfo()] 0623 def errorString(self): 0624 '''str QBluetoothServiceDiscoveryAgent.errorString()''' 0625 return str() 0626 def error(self): 0627 '''QBluetoothServiceDiscoveryAgent.Error QBluetoothServiceDiscoveryAgent.error()''' 0628 return QBluetoothServiceDiscoveryAgent.Error() 0629 error = pyqtSignal() # void error(QBluetoothServiceDiscoveryAgent::Error) - signal 0630 def isActive(self): 0631 '''bool QBluetoothServiceDiscoveryAgent.isActive()''' 0632 return bool() 0633 0634 0635 class QBluetoothServiceInfo(): 0636 """""" 0637 # Enum QBluetoothServiceInfo.Protocol 0638 UnknownProtocol = 0 0639 L2capProtocol = 0 0640 RfcommProtocol = 0 0641 0642 # Enum QBluetoothServiceInfo.AttributeId 0643 ServiceRecordHandle = 0 0644 ServiceClassIds = 0 0645 ServiceRecordState = 0 0646 ServiceId = 0 0647 ProtocolDescriptorList = 0 0648 BrowseGroupList = 0 0649 LanguageBaseAttributeIdList = 0 0650 ServiceInfoTimeToLive = 0 0651 ServiceAvailability = 0 0652 BluetoothProfileDescriptorList = 0 0653 DocumentationUrl = 0 0654 ClientExecutableUrl = 0 0655 IconUrl = 0 0656 AdditionalProtocolDescriptorList = 0 0657 PrimaryLanguageBase = 0 0658 ServiceName = 0 0659 ServiceDescription = 0 0660 ServiceProvider = 0 0661 0662 def __init__(self): 0663 '''void QBluetoothServiceInfo.__init__()''' 0664 def __init__(self, other): 0665 '''void QBluetoothServiceInfo.__init__(QBluetoothServiceInfo other)''' 0666 def serviceClassUuids(self): 0667 '''list-of-QBluetoothUuid QBluetoothServiceInfo.serviceClassUuids()''' 0668 return [QBluetoothUuid()] 0669 def serviceUuid(self): 0670 '''QBluetoothUuid QBluetoothServiceInfo.serviceUuid()''' 0671 return QBluetoothUuid() 0672 def setServiceUuid(self, uuid): 0673 '''void QBluetoothServiceInfo.setServiceUuid(QBluetoothUuid uuid)''' 0674 def serviceAvailability(self): 0675 '''int QBluetoothServiceInfo.serviceAvailability()''' 0676 return int() 0677 def setServiceAvailability(self, availability): 0678 '''void QBluetoothServiceInfo.setServiceAvailability(int availability)''' 0679 def serviceProvider(self): 0680 '''str QBluetoothServiceInfo.serviceProvider()''' 0681 return str() 0682 def setServiceProvider(self, provider): 0683 '''void QBluetoothServiceInfo.setServiceProvider(str provider)''' 0684 def serviceDescription(self): 0685 '''str QBluetoothServiceInfo.serviceDescription()''' 0686 return str() 0687 def setServiceDescription(self, description): 0688 '''void QBluetoothServiceInfo.setServiceDescription(str description)''' 0689 def serviceName(self): 0690 '''str QBluetoothServiceInfo.serviceName()''' 0691 return str() 0692 def setServiceName(self, name): 0693 '''void QBluetoothServiceInfo.setServiceName(str name)''' 0694 def setAttribute(self, attributeId, value): 0695 '''void QBluetoothServiceInfo.setAttribute(int attributeId, QBluetoothUuid value)''' 0696 def setAttribute(self, attributeId, value): 0697 '''void QBluetoothServiceInfo.setAttribute(int attributeId, list-of-object value)''' 0698 def setAttribute(self, attributeId, value): 0699 '''void QBluetoothServiceInfo.setAttribute(int attributeId, QVariant value)''' 0700 def unregisterService(self): 0701 '''bool QBluetoothServiceInfo.unregisterService()''' 0702 return bool() 0703 def registerService(self, localAdapter = QBluetoothAddress()): 0704 '''bool QBluetoothServiceInfo.registerService(QBluetoothAddress localAdapter = QBluetoothAddress())''' 0705 return bool() 0706 def isRegistered(self): 0707 '''bool QBluetoothServiceInfo.isRegistered()''' 0708 return bool() 0709 def protocolDescriptor(self, protocol): 0710 '''list-of-object QBluetoothServiceInfo.protocolDescriptor(QBluetoothUuid.ProtocolUuid protocol)''' 0711 return [object()] 0712 def serverChannel(self): 0713 '''int QBluetoothServiceInfo.serverChannel()''' 0714 return int() 0715 def protocolServiceMultiplexer(self): 0716 '''int QBluetoothServiceInfo.protocolServiceMultiplexer()''' 0717 return int() 0718 def socketProtocol(self): 0719 '''QBluetoothServiceInfo.Protocol QBluetoothServiceInfo.socketProtocol()''' 0720 return QBluetoothServiceInfo.Protocol() 0721 def removeAttribute(self, attributeId): 0722 '''void QBluetoothServiceInfo.removeAttribute(int attributeId)''' 0723 def contains(self, attributeId): 0724 '''bool QBluetoothServiceInfo.contains(int attributeId)''' 0725 return bool() 0726 def attributes(self): 0727 '''list-of-int QBluetoothServiceInfo.attributes()''' 0728 return [int()] 0729 def attribute(self, attributeId): 0730 '''QVariant QBluetoothServiceInfo.attribute(int attributeId)''' 0731 return QVariant() 0732 def device(self): 0733 '''QBluetoothDeviceInfo QBluetoothServiceInfo.device()''' 0734 return QBluetoothDeviceInfo() 0735 def setDevice(self, info): 0736 '''void QBluetoothServiceInfo.setDevice(QBluetoothDeviceInfo info)''' 0737 def isComplete(self): 0738 '''bool QBluetoothServiceInfo.isComplete()''' 0739 return bool() 0740 def isValid(self): 0741 '''bool QBluetoothServiceInfo.isValid()''' 0742 return bool() 0743 0744 0745 class QBluetoothSocket(QIODevice): 0746 """""" 0747 # Enum QBluetoothSocket.SocketError 0748 NoSocketError = 0 0749 UnknownSocketError = 0 0750 HostNotFoundError = 0 0751 ServiceNotFoundError = 0 0752 NetworkError = 0 0753 UnsupportedProtocolError = 0 0754 OperationError = 0 0755 0756 # Enum QBluetoothSocket.SocketState 0757 UnconnectedState = 0 0758 ServiceLookupState = 0 0759 ConnectingState = 0 0760 ConnectedState = 0 0761 BoundState = 0 0762 ClosingState = 0 0763 ListeningState = 0 0764 0765 def __init__(self, socketType, parent = None): 0766 '''void QBluetoothSocket.__init__(QBluetoothServiceInfo.Protocol socketType, QObject parent = None)''' 0767 def __init__(self, parent = None): 0768 '''void QBluetoothSocket.__init__(QObject parent = None)''' 0769 def doDeviceDiscovery(self, service, openMode): 0770 '''void QBluetoothSocket.doDeviceDiscovery(QBluetoothServiceInfo service, QIODevice.OpenMode openMode)''' 0771 def setSocketError(self, error): 0772 '''void QBluetoothSocket.setSocketError(QBluetoothSocket.SocketError error)''' 0773 def setSocketState(self, state): 0774 '''void QBluetoothSocket.setSocketState(QBluetoothSocket.SocketState state)''' 0775 def writeData(self, data): 0776 '''int QBluetoothSocket.writeData(str data)''' 0777 return int() 0778 def readData(self, maxlen): 0779 '''str QBluetoothSocket.readData(int maxlen)''' 0780 return str() 0781 stateChanged = pyqtSignal() # void stateChanged(QBluetoothSocket::SocketState) - signal 0782 disconnected = pyqtSignal() # void disconnected() - signal 0783 connected = pyqtSignal() # void connected() - signal 0784 def errorString(self): 0785 '''str QBluetoothSocket.errorString()''' 0786 return str() 0787 def error(self): 0788 '''QBluetoothSocket.SocketError QBluetoothSocket.error()''' 0789 return QBluetoothSocket.SocketError() 0790 error = pyqtSignal() # void error(QBluetoothSocket::SocketError) - signal 0791 def state(self): 0792 '''QBluetoothSocket.SocketState QBluetoothSocket.state()''' 0793 return QBluetoothSocket.SocketState() 0794 def socketType(self): 0795 '''QBluetoothServiceInfo.Protocol QBluetoothSocket.socketType()''' 0796 return QBluetoothServiceInfo.Protocol() 0797 def socketDescriptor(self): 0798 '''int QBluetoothSocket.socketDescriptor()''' 0799 return int() 0800 def setSocketDescriptor(self, socketDescriptor, socketType, state = None, mode = None): 0801 '''bool QBluetoothSocket.setSocketDescriptor(int socketDescriptor, QBluetoothServiceInfo.Protocol socketType, QBluetoothSocket.SocketState state = QBluetoothSocket.ConnectedState, QIODevice.OpenMode mode = QIODevice.ReadWrite)''' 0802 return bool() 0803 def peerPort(self): 0804 '''int QBluetoothSocket.peerPort()''' 0805 return int() 0806 def peerAddress(self): 0807 '''QBluetoothAddress QBluetoothSocket.peerAddress()''' 0808 return QBluetoothAddress() 0809 def peerName(self): 0810 '''str QBluetoothSocket.peerName()''' 0811 return str() 0812 def localPort(self): 0813 '''int QBluetoothSocket.localPort()''' 0814 return int() 0815 def localAddress(self): 0816 '''QBluetoothAddress QBluetoothSocket.localAddress()''' 0817 return QBluetoothAddress() 0818 def localName(self): 0819 '''str QBluetoothSocket.localName()''' 0820 return str() 0821 def disconnectFromService(self): 0822 '''void QBluetoothSocket.disconnectFromService()''' 0823 def connectToService(self, service, mode = None): 0824 '''void QBluetoothSocket.connectToService(QBluetoothServiceInfo service, QIODevice.OpenMode mode = QIODevice.ReadWrite)''' 0825 def connectToService(self, address, uuid, mode = None): 0826 '''void QBluetoothSocket.connectToService(QBluetoothAddress address, QBluetoothUuid uuid, QIODevice.OpenMode mode = QIODevice.ReadWrite)''' 0827 def connectToService(self, address, port, mode = None): 0828 '''void QBluetoothSocket.connectToService(QBluetoothAddress address, int port, QIODevice.OpenMode mode = QIODevice.ReadWrite)''' 0829 def canReadLine(self): 0830 '''bool QBluetoothSocket.canReadLine()''' 0831 return bool() 0832 def bytesToWrite(self): 0833 '''int QBluetoothSocket.bytesToWrite()''' 0834 return int() 0835 def bytesAvailable(self): 0836 '''int QBluetoothSocket.bytesAvailable()''' 0837 return int() 0838 def isSequential(self): 0839 '''bool QBluetoothSocket.isSequential()''' 0840 return bool() 0841 def close(self): 0842 '''void QBluetoothSocket.close()''' 0843 def abort(self): 0844 '''void QBluetoothSocket.abort()''' 0845 0846 0847 class QBluetoothTransferManager(QObject): 0848 """""" 0849 def __init__(self, parent = None): 0850 '''void QBluetoothTransferManager.__init__(QObject parent = None)''' 0851 finished = pyqtSignal() # void finished(QBluetoothTransferReply*) - signal 0852 def put(self, request, data): 0853 '''QBluetoothTransferReply QBluetoothTransferManager.put(QBluetoothTransferRequest request, QIODevice data)''' 0854 return QBluetoothTransferReply() 0855 0856 0857 class QBluetoothTransferReply(QObject): 0858 """""" 0859 # Enum QBluetoothTransferReply.TransferError 0860 NoError = 0 0861 UnknownError = 0 0862 FileNotFoundError = 0 0863 HostNotFoundError = 0 0864 UserCanceledTransferError = 0 0865 IODeviceNotReadableError = 0 0866 ResourceBusyError = 0 0867 SessionError = 0 0868 0869 def __init__(self, parent = None): 0870 '''void QBluetoothTransferReply.__init__(QObject parent = None)''' 0871 def setRequest(self, request): 0872 '''void QBluetoothTransferReply.setRequest(QBluetoothTransferRequest request)''' 0873 def setManager(self, manager): 0874 '''void QBluetoothTransferReply.setManager(QBluetoothTransferManager manager)''' 0875 transferProgress = pyqtSignal() # void transferProgress(qint64,qint64) - signal 0876 finished = pyqtSignal() # void finished(QBluetoothTransferReply*) - signal 0877 def abort(self): 0878 '''void QBluetoothTransferReply.abort()''' 0879 def request(self): 0880 '''QBluetoothTransferRequest QBluetoothTransferReply.request()''' 0881 return QBluetoothTransferRequest() 0882 def errorString(self): 0883 '''abstract str QBluetoothTransferReply.errorString()''' 0884 return str() 0885 def error(self): 0886 '''abstract QBluetoothTransferReply.TransferError QBluetoothTransferReply.error()''' 0887 return QBluetoothTransferReply.TransferError() 0888 error = pyqtSignal() # void error(QBluetoothTransferReply::TransferError) - signal 0889 def manager(self): 0890 '''QBluetoothTransferManager QBluetoothTransferReply.manager()''' 0891 return QBluetoothTransferManager() 0892 def isRunning(self): 0893 '''abstract bool QBluetoothTransferReply.isRunning()''' 0894 return bool() 0895 def isFinished(self): 0896 '''abstract bool QBluetoothTransferReply.isFinished()''' 0897 return bool() 0898 0899 0900 class QBluetoothTransferRequest(): 0901 """""" 0902 # Enum QBluetoothTransferRequest.Attribute 0903 DescriptionAttribute = 0 0904 TimeAttribute = 0 0905 TypeAttribute = 0 0906 LengthAttribute = 0 0907 NameAttribute = 0 0908 0909 def __init__(self, address = QBluetoothAddress()): 0910 '''void QBluetoothTransferRequest.__init__(QBluetoothAddress address = QBluetoothAddress())''' 0911 def __init__(self, other): 0912 '''void QBluetoothTransferRequest.__init__(QBluetoothTransferRequest other)''' 0913 def __eq__(self, other): 0914 '''bool QBluetoothTransferRequest.__eq__(QBluetoothTransferRequest other)''' 0915 return bool() 0916 def __ne__(self, other): 0917 '''bool QBluetoothTransferRequest.__ne__(QBluetoothTransferRequest other)''' 0918 return bool() 0919 def address(self): 0920 '''QBluetoothAddress QBluetoothTransferRequest.address()''' 0921 return QBluetoothAddress() 0922 def setAttribute(self, code, value): 0923 '''void QBluetoothTransferRequest.setAttribute(QBluetoothTransferRequest.Attribute code, QVariant value)''' 0924 def attribute(self, code, defaultValue = QVariant()): 0925 '''QVariant QBluetoothTransferRequest.attribute(QBluetoothTransferRequest.Attribute code, QVariant defaultValue = QVariant())''' 0926 return QVariant() 0927 0928 0929 class QBluetoothUuid(QUuid): 0930 """""" 0931 # Enum QBluetoothUuid.DescriptorType 0932 UnknownDescriptorType = 0 0933 CharacteristicExtendedProperties = 0 0934 CharacteristicUserDescription = 0 0935 ClientCharacteristicConfiguration = 0 0936 ServerCharacteristicConfiguration = 0 0937 CharacteristicPresentationFormat = 0 0938 CharacteristicAggregateFormat = 0 0939 ValidRange = 0 0940 ExternalReportReference = 0 0941 ReportReference = 0 0942 EnvironmentalSensingConfiguration = 0 0943 EnvironmentalSensingMeasurement = 0 0944 EnvironmentalSensingTriggerSetting = 0 0945 0946 # Enum QBluetoothUuid.CharacteristicType 0947 DeviceName = 0 0948 Appearance = 0 0949 PeripheralPrivacyFlag = 0 0950 ReconnectionAddress = 0 0951 PeripheralPreferredConnectionParameters = 0 0952 ServiceChanged = 0 0953 AlertLevel = 0 0954 TxPowerLevel = 0 0955 DateTime = 0 0956 DayOfWeek = 0 0957 DayDateTime = 0 0958 ExactTime256 = 0 0959 DSTOffset = 0 0960 TimeZone = 0 0961 LocalTimeInformation = 0 0962 TimeWithDST = 0 0963 TimeAccuracy = 0 0964 TimeSource = 0 0965 ReferenceTimeInformation = 0 0966 TimeUpdateControlPoint = 0 0967 TimeUpdateState = 0 0968 GlucoseMeasurement = 0 0969 BatteryLevel = 0 0970 TemperatureMeasurement = 0 0971 TemperatureType = 0 0972 IntermediateTemperature = 0 0973 MeasurementInterval = 0 0974 BootKeyboardInputReport = 0 0975 SystemID = 0 0976 ModelNumberString = 0 0977 SerialNumberString = 0 0978 FirmwareRevisionString = 0 0979 HardwareRevisionString = 0 0980 SoftwareRevisionString = 0 0981 ManufacturerNameString = 0 0982 IEEE1107320601RegulatoryCertificationDataList = 0 0983 CurrentTime = 0 0984 ScanRefresh = 0 0985 BootKeyboardOutputReport = 0 0986 BootMouseInputReport = 0 0987 GlucoseMeasurementContext = 0 0988 BloodPressureMeasurement = 0 0989 IntermediateCuffPressure = 0 0990 HeartRateMeasurement = 0 0991 BodySensorLocation = 0 0992 HeartRateControlPoint = 0 0993 AlertStatus = 0 0994 RingerControlPoint = 0 0995 RingerSetting = 0 0996 AlertCategoryIDBitMask = 0 0997 AlertCategoryID = 0 0998 AlertNotificationControlPoint = 0 0999 UnreadAlertStatus = 0 1000 NewAlert = 0 1001 SupportedNewAlertCategory = 0 1002 SupportedUnreadAlertCategory = 0 1003 BloodPressureFeature = 0 1004 HIDInformation = 0 1005 ReportMap = 0 1006 HIDControlPoint = 0 1007 Report = 0 1008 ProtocolMode = 0 1009 ScanIntervalWindow = 0 1010 PnPID = 0 1011 GlucoseFeature = 0 1012 RecordAccessControlPoint = 0 1013 RSCMeasurement = 0 1014 RSCFeature = 0 1015 SCControlPoint = 0 1016 CSCMeasurement = 0 1017 CSCFeature = 0 1018 SensorLocation = 0 1019 CyclingPowerMeasurement = 0 1020 CyclingPowerVector = 0 1021 CyclingPowerFeature = 0 1022 CyclingPowerControlPoint = 0 1023 LocationAndSpeed = 0 1024 Navigation = 0 1025 PositionQuality = 0 1026 LNFeature = 0 1027 LNControlPoint = 0 1028 MagneticDeclination = 0 1029 Elevation = 0 1030 Pressure = 0 1031 Temperature = 0 1032 Humidity = 0 1033 TrueWindSpeed = 0 1034 TrueWindDirection = 0 1035 ApparentWindSpeed = 0 1036 ApparentWindDirection = 0 1037 GustFactor = 0 1038 PollenConcentration = 0 1039 UVIndex = 0 1040 Irradiance = 0 1041 Rainfall = 0 1042 WindChill = 0 1043 HeatIndex = 0 1044 DewPoint = 0 1045 DescriptorValueChanged = 0 1046 AerobicHeartRateLowerLimit = 0 1047 AerobicThreshold = 0 1048 Age = 0 1049 AnaerobicHeartRateLowerLimit = 0 1050 AnaerobicHeartRateUpperLimit = 0 1051 AnaerobicThreshold = 0 1052 AerobicHeartRateUpperLimit = 0 1053 DateOfBirth = 0 1054 DateOfThresholdAssessment = 0 1055 EmailAddress = 0 1056 FatBurnHeartRateLowerLimit = 0 1057 FatBurnHeartRateUpperLimit = 0 1058 FirstName = 0 1059 FiveZoneHeartRateLimits = 0 1060 Gender = 0 1061 HeartRateMax = 0 1062 Height = 0 1063 HipCircumference = 0 1064 LastName = 0 1065 MaximumRecommendedHeartRate = 0 1066 RestingHeartRate = 0 1067 SportTypeForAerobicAnaerobicThresholds = 0 1068 ThreeZoneHeartRateLimits = 0 1069 TwoZoneHeartRateLimits = 0 1070 VO2Max = 0 1071 WaistCircumference = 0 1072 Weight = 0 1073 DatabaseChangeIncrement = 0 1074 UserIndex = 0 1075 BodyCompositionFeature = 0 1076 BodyCompositionMeasurement = 0 1077 WeightMeasurement = 0 1078 WeightScaleFeature = 0 1079 UserControlPoint = 0 1080 MagneticFluxDensity2D = 0 1081 MagneticFluxDensity3D = 0 1082 Language = 0 1083 BarometricPressureTrend = 0 1084 1085 # Enum QBluetoothUuid.ServiceClassUuid 1086 ServiceDiscoveryServer = 0 1087 BrowseGroupDescriptor = 0 1088 PublicBrowseGroup = 0 1089 SerialPort = 0 1090 LANAccessUsingPPP = 0 1091 DialupNetworking = 0 1092 IrMCSync = 0 1093 ObexObjectPush = 0 1094 OBEXFileTransfer = 0 1095 IrMCSyncCommand = 0 1096 Headset = 0 1097 AudioSource = 0 1098 AudioSink = 0 1099 AV_RemoteControlTarget = 0 1100 AdvancedAudioDistribution = 0 1101 AV_RemoteControl = 0 1102 AV_RemoteControlController = 0 1103 HeadsetAG = 0 1104 PANU = 0 1105 NAP = 0 1106 GN = 0 1107 DirectPrinting = 0 1108 ReferencePrinting = 0 1109 ImagingResponder = 0 1110 ImagingAutomaticArchive = 0 1111 ImagingReferenceObjects = 0 1112 Handsfree = 0 1113 HandsfreeAudioGateway = 0 1114 DirectPrintingReferenceObjectsService = 0 1115 ReflectedUI = 0 1116 BasicPrinting = 0 1117 PrintingStatus = 0 1118 HumanInterfaceDeviceService = 0 1119 HardcopyCableReplacement = 0 1120 HCRPrint = 0 1121 HCRScan = 0 1122 SIMAccess = 0 1123 PhonebookAccessPCE = 0 1124 PhonebookAccessPSE = 0 1125 PhonebookAccess = 0 1126 HeadsetHS = 0 1127 MessageAccessServer = 0 1128 MessageNotificationServer = 0 1129 MessageAccessProfile = 0 1130 PnPInformation = 0 1131 GenericNetworking = 0 1132 GenericFileTransfer = 0 1133 GenericAudio = 0 1134 GenericTelephony = 0 1135 VideoSource = 0 1136 VideoSink = 0 1137 VideoDistribution = 0 1138 HDP = 0 1139 HDPSource = 0 1140 HDPSink = 0 1141 BasicImage = 0 1142 GNSS = 0 1143 GNSSServer = 0 1144 Display3D = 0 1145 Glasses3D = 0 1146 Synchronization3D = 0 1147 MPSProfile = 0 1148 MPSService = 0 1149 GenericAccess = 0 1150 GenericAttribute = 0 1151 ImmediateAlert = 0 1152 LinkLoss = 0 1153 TxPower = 0 1154 CurrentTimeService = 0 1155 ReferenceTimeUpdateService = 0 1156 NextDSTChangeService = 0 1157 Glucose = 0 1158 HealthThermometer = 0 1159 DeviceInformation = 0 1160 HeartRate = 0 1161 PhoneAlertStatusService = 0 1162 BatteryService = 0 1163 BloodPressure = 0 1164 AlertNotificationService = 0 1165 HumanInterfaceDevice = 0 1166 ScanParameters = 0 1167 RunningSpeedAndCadence = 0 1168 CyclingSpeedAndCadence = 0 1169 CyclingPower = 0 1170 LocationAndNavigation = 0 1171 EnvironmentalSensing = 0 1172 BodyComposition = 0 1173 UserData = 0 1174 WeightScale = 0 1175 BondManagement = 0 1176 ContinuousGlucoseMonitoring = 0 1177 1178 # Enum QBluetoothUuid.ProtocolUuid 1179 Sdp = 0 1180 Udp = 0 1181 Rfcomm = 0 1182 Tcp = 0 1183 TcsBin = 0 1184 TcsAt = 0 1185 Att = 0 1186 Obex = 0 1187 Ip = 0 1188 Ftp = 0 1189 Http = 0 1190 Wsp = 0 1191 Bnep = 0 1192 Upnp = 0 1193 Hidp = 0 1194 HardcopyControlChannel = 0 1195 HardcopyDataChannel = 0 1196 HardcopyNotification = 0 1197 Avctp = 0 1198 Avdtp = 0 1199 Cmtp = 0 1200 UdiCPlain = 0 1201 McapControlChannel = 0 1202 McapDataChannel = 0 1203 L2cap = 0 1204 1205 def __init__(self): 1206 '''void QBluetoothUuid.__init__()''' 1207 def __init__(self, uuid): 1208 '''void QBluetoothUuid.__init__(int uuid)''' 1209 def __init__(self, uuid): 1210 '''void QBluetoothUuid.__init__(16-tuple-of-int uuid)''' 1211 def __init__(self, uuid): 1212 '''void QBluetoothUuid.__init__(str uuid)''' 1213 def __init__(self, uuid): 1214 '''void QBluetoothUuid.__init__(QBluetoothUuid uuid)''' 1215 def __init__(self, uuid): 1216 '''void QBluetoothUuid.__init__(QUuid uuid)''' 1217 def __ne__(self, other): 1218 '''bool QBluetoothUuid.__ne__(QBluetoothUuid other)''' 1219 return bool() 1220 def descriptorToString(self, uuid): 1221 '''static str QBluetoothUuid.descriptorToString(QBluetoothUuid.DescriptorType uuid)''' 1222 return str() 1223 def characteristicToString(self, uuid): 1224 '''static str QBluetoothUuid.characteristicToString(QBluetoothUuid.CharacteristicType uuid)''' 1225 return str() 1226 def protocolToString(self, uuid): 1227 '''static str QBluetoothUuid.protocolToString(QBluetoothUuid.ProtocolUuid uuid)''' 1228 return str() 1229 def serviceClassToString(self, uuid): 1230 '''static str QBluetoothUuid.serviceClassToString(QBluetoothUuid.ServiceClassUuid uuid)''' 1231 return str() 1232 def toUInt128(self): 1233 '''16-tuple-of-int QBluetoothUuid.toUInt128()''' 1234 return 16-tuple-of-int() 1235 def toUInt32(self, ok): 1236 '''int QBluetoothUuid.toUInt32(bool ok)''' 1237 return int() 1238 def toUInt16(self, ok): 1239 '''int QBluetoothUuid.toUInt16(bool ok)''' 1240 return int() 1241 def minimumSize(self): 1242 '''int QBluetoothUuid.minimumSize()''' 1243 return int() 1244 def __eq__(self, other): 1245 '''bool QBluetoothUuid.__eq__(QBluetoothUuid other)''' 1246 return bool() 1247 1248 1249 class QLowEnergyCharacteristic(): 1250 """""" 1251 # Enum QLowEnergyCharacteristic.PropertyType 1252 Unknown = 0 1253 Broadcasting = 0 1254 Read = 0 1255 WriteNoResponse = 0 1256 Write = 0 1257 Notify = 0 1258 Indicate = 0 1259 WriteSigned = 0 1260 ExtendedProperty = 0 1261 1262 def __init__(self): 1263 '''void QLowEnergyCharacteristic.__init__()''' 1264 def __init__(self, other): 1265 '''void QLowEnergyCharacteristic.__init__(QLowEnergyCharacteristic other)''' 1266 def isValid(self): 1267 '''bool QLowEnergyCharacteristic.isValid()''' 1268 return bool() 1269 def descriptors(self): 1270 '''list-of-QLowEnergyDescriptor QLowEnergyCharacteristic.descriptors()''' 1271 return [QLowEnergyDescriptor()] 1272 def descriptor(self, uuid): 1273 '''QLowEnergyDescriptor QLowEnergyCharacteristic.descriptor(QBluetoothUuid uuid)''' 1274 return QLowEnergyDescriptor() 1275 def handle(self): 1276 '''int QLowEnergyCharacteristic.handle()''' 1277 return int() 1278 def properties(self): 1279 '''QLowEnergyCharacteristic.PropertyTypes QLowEnergyCharacteristic.properties()''' 1280 return QLowEnergyCharacteristic.PropertyTypes() 1281 def value(self): 1282 '''QByteArray QLowEnergyCharacteristic.value()''' 1283 return QByteArray() 1284 def uuid(self): 1285 '''QBluetoothUuid QLowEnergyCharacteristic.uuid()''' 1286 return QBluetoothUuid() 1287 def name(self): 1288 '''str QLowEnergyCharacteristic.name()''' 1289 return str() 1290 def __ne__(self, other): 1291 '''bool QLowEnergyCharacteristic.__ne__(QLowEnergyCharacteristic other)''' 1292 return bool() 1293 def __eq__(self, other): 1294 '''bool QLowEnergyCharacteristic.__eq__(QLowEnergyCharacteristic other)''' 1295 return bool() 1296 class PropertyTypes(): 1297 """""" 1298 def __init__(self): 1299 '''QLowEnergyCharacteristic.PropertyTypes QLowEnergyCharacteristic.PropertyTypes.__init__()''' 1300 return QLowEnergyCharacteristic.PropertyTypes() 1301 def __init__(self): 1302 '''int QLowEnergyCharacteristic.PropertyTypes.__init__()''' 1303 return int() 1304 def __init__(self): 1305 '''void QLowEnergyCharacteristic.PropertyTypes.__init__()''' 1306 def __bool__(self): 1307 '''int QLowEnergyCharacteristic.PropertyTypes.__bool__()''' 1308 return int() 1309 def __ne__(self, f): 1310 '''bool QLowEnergyCharacteristic.PropertyTypes.__ne__(QLowEnergyCharacteristic.PropertyTypes f)''' 1311 return bool() 1312 def __eq__(self, f): 1313 '''bool QLowEnergyCharacteristic.PropertyTypes.__eq__(QLowEnergyCharacteristic.PropertyTypes f)''' 1314 return bool() 1315 def __invert__(self): 1316 '''QLowEnergyCharacteristic.PropertyTypes QLowEnergyCharacteristic.PropertyTypes.__invert__()''' 1317 return QLowEnergyCharacteristic.PropertyTypes() 1318 def __and__(self, mask): 1319 '''QLowEnergyCharacteristic.PropertyTypes QLowEnergyCharacteristic.PropertyTypes.__and__(int mask)''' 1320 return QLowEnergyCharacteristic.PropertyTypes() 1321 def __xor__(self, f): 1322 '''QLowEnergyCharacteristic.PropertyTypes QLowEnergyCharacteristic.PropertyTypes.__xor__(QLowEnergyCharacteristic.PropertyTypes f)''' 1323 return QLowEnergyCharacteristic.PropertyTypes() 1324 def __xor__(self, f): 1325 '''QLowEnergyCharacteristic.PropertyTypes QLowEnergyCharacteristic.PropertyTypes.__xor__(int f)''' 1326 return QLowEnergyCharacteristic.PropertyTypes() 1327 def __or__(self, f): 1328 '''QLowEnergyCharacteristic.PropertyTypes QLowEnergyCharacteristic.PropertyTypes.__or__(QLowEnergyCharacteristic.PropertyTypes f)''' 1329 return QLowEnergyCharacteristic.PropertyTypes() 1330 def __or__(self, f): 1331 '''QLowEnergyCharacteristic.PropertyTypes QLowEnergyCharacteristic.PropertyTypes.__or__(int f)''' 1332 return QLowEnergyCharacteristic.PropertyTypes() 1333 def __int__(self): 1334 '''int QLowEnergyCharacteristic.PropertyTypes.__int__()''' 1335 return int() 1336 def __ixor__(self, f): 1337 '''QLowEnergyCharacteristic.PropertyTypes QLowEnergyCharacteristic.PropertyTypes.__ixor__(QLowEnergyCharacteristic.PropertyTypes f)''' 1338 return QLowEnergyCharacteristic.PropertyTypes() 1339 def __ior__(self, f): 1340 '''QLowEnergyCharacteristic.PropertyTypes QLowEnergyCharacteristic.PropertyTypes.__ior__(QLowEnergyCharacteristic.PropertyTypes f)''' 1341 return QLowEnergyCharacteristic.PropertyTypes() 1342 def __iand__(self, mask): 1343 '''QLowEnergyCharacteristic.PropertyTypes QLowEnergyCharacteristic.PropertyTypes.__iand__(int mask)''' 1344 return QLowEnergyCharacteristic.PropertyTypes() 1345 1346 1347 class QLowEnergyController(QObject): 1348 """""" 1349 # Enum QLowEnergyController.RemoteAddressType 1350 PublicAddress = 0 1351 RandomAddress = 0 1352 1353 # Enum QLowEnergyController.ControllerState 1354 UnconnectedState = 0 1355 ConnectingState = 0 1356 ConnectedState = 0 1357 DiscoveringState = 0 1358 DiscoveredState = 0 1359 ClosingState = 0 1360 1361 # Enum QLowEnergyController.Error 1362 NoError = 0 1363 UnknownError = 0 1364 UnknownRemoteDeviceError = 0 1365 NetworkError = 0 1366 InvalidBluetoothAdapterError = 0 1367 ConnectionError = 0 1368 1369 def __init__(self, remoteDevice, parent = None): 1370 '''void QLowEnergyController.__init__(QBluetoothDeviceInfo remoteDevice, QObject parent = None)''' 1371 def __init__(self, remoteDevice, parent = None): 1372 '''void QLowEnergyController.__init__(QBluetoothAddress remoteDevice, QObject parent = None)''' 1373 def __init__(self, remoteDevice, localDevice, parent = None): 1374 '''void QLowEnergyController.__init__(QBluetoothAddress remoteDevice, QBluetoothAddress localDevice, QObject parent = None)''' 1375 discoveryFinished = pyqtSignal() # void discoveryFinished() - signal 1376 serviceDiscovered = pyqtSignal() # void serviceDiscovered(const QBluetoothUuidamp;) - signal 1377 stateChanged = pyqtSignal() # void stateChanged(QLowEnergyController::ControllerState) - signal 1378 disconnected = pyqtSignal() # void disconnected() - signal 1379 connected = pyqtSignal() # void connected() - signal 1380 def remoteName(self): 1381 '''str QLowEnergyController.remoteName()''' 1382 return str() 1383 def errorString(self): 1384 '''str QLowEnergyController.errorString()''' 1385 return str() 1386 def error(self): 1387 '''QLowEnergyController.Error QLowEnergyController.error()''' 1388 return QLowEnergyController.Error() 1389 error = pyqtSignal() # void error(QLowEnergyController::Error) - signal 1390 def createServiceObject(self, service, parent = None): 1391 '''QLowEnergyService QLowEnergyController.createServiceObject(QBluetoothUuid service, QObject parent = None)''' 1392 return QLowEnergyService() 1393 def services(self): 1394 '''list-of-QBluetoothUuid QLowEnergyController.services()''' 1395 return [QBluetoothUuid()] 1396 def discoverServices(self): 1397 '''void QLowEnergyController.discoverServices()''' 1398 def disconnectFromDevice(self): 1399 '''void QLowEnergyController.disconnectFromDevice()''' 1400 def connectToDevice(self): 1401 '''void QLowEnergyController.connectToDevice()''' 1402 def setRemoteAddressType(self, type): 1403 '''void QLowEnergyController.setRemoteAddressType(QLowEnergyController.RemoteAddressType type)''' 1404 def remoteAddressType(self): 1405 '''QLowEnergyController.RemoteAddressType QLowEnergyController.remoteAddressType()''' 1406 return QLowEnergyController.RemoteAddressType() 1407 def state(self): 1408 '''QLowEnergyController.ControllerState QLowEnergyController.state()''' 1409 return QLowEnergyController.ControllerState() 1410 def remoteAddress(self): 1411 '''QBluetoothAddress QLowEnergyController.remoteAddress()''' 1412 return QBluetoothAddress() 1413 def localAddress(self): 1414 '''QBluetoothAddress QLowEnergyController.localAddress()''' 1415 return QBluetoothAddress() 1416 1417 1418 class QLowEnergyDescriptor(): 1419 """""" 1420 def __init__(self): 1421 '''void QLowEnergyDescriptor.__init__()''' 1422 def __init__(self, other): 1423 '''void QLowEnergyDescriptor.__init__(QLowEnergyDescriptor other)''' 1424 def type(self): 1425 '''QBluetoothUuid.DescriptorType QLowEnergyDescriptor.type()''' 1426 return QBluetoothUuid.DescriptorType() 1427 def name(self): 1428 '''str QLowEnergyDescriptor.name()''' 1429 return str() 1430 def handle(self): 1431 '''int QLowEnergyDescriptor.handle()''' 1432 return int() 1433 def uuid(self): 1434 '''QBluetoothUuid QLowEnergyDescriptor.uuid()''' 1435 return QBluetoothUuid() 1436 def value(self): 1437 '''QByteArray QLowEnergyDescriptor.value()''' 1438 return QByteArray() 1439 def isValid(self): 1440 '''bool QLowEnergyDescriptor.isValid()''' 1441 return bool() 1442 def __ne__(self, other): 1443 '''bool QLowEnergyDescriptor.__ne__(QLowEnergyDescriptor other)''' 1444 return bool() 1445 def __eq__(self, other): 1446 '''bool QLowEnergyDescriptor.__eq__(QLowEnergyDescriptor other)''' 1447 return bool() 1448 1449 1450 class QLowEnergyService(QObject): 1451 """""" 1452 # Enum QLowEnergyService.WriteMode 1453 WriteWithResponse = 0 1454 WriteWithoutResponse = 0 1455 1456 # Enum QLowEnergyService.ServiceState 1457 InvalidService = 0 1458 DiscoveryRequired = 0 1459 DiscoveringServices = 0 1460 ServiceDiscovered = 0 1461 1462 # Enum QLowEnergyService.ServiceError 1463 NoError = 0 1464 OperationError = 0 1465 CharacteristicWriteError = 0 1466 DescriptorWriteError = 0 1467 CharacteristicReadError = 0 1468 DescriptorReadError = 0 1469 UnknownError = 0 1470 1471 # Enum QLowEnergyService.ServiceType 1472 PrimaryService = 0 1473 IncludedService = 0 1474 1475 descriptorRead = pyqtSignal() # void descriptorRead(const QLowEnergyDescriptoramp;,const QByteArrayamp;) - signal 1476 characteristicRead = pyqtSignal() # void characteristicRead(const QLowEnergyCharacteristicamp;,const QByteArrayamp;) - signal 1477 def readDescriptor(self, descriptor): 1478 '''void QLowEnergyService.readDescriptor(QLowEnergyDescriptor descriptor)''' 1479 def readCharacteristic(self, characteristic): 1480 '''void QLowEnergyService.readCharacteristic(QLowEnergyCharacteristic characteristic)''' 1481 descriptorWritten = pyqtSignal() # void descriptorWritten(const QLowEnergyDescriptoramp;,const QByteArrayamp;) - signal 1482 characteristicWritten = pyqtSignal() # void characteristicWritten(const QLowEnergyCharacteristicamp;,const QByteArrayamp;) - signal 1483 characteristicChanged = pyqtSignal() # void characteristicChanged(const QLowEnergyCharacteristicamp;,const QByteArrayamp;) - signal 1484 stateChanged = pyqtSignal() # void stateChanged(QLowEnergyService::ServiceState) - signal 1485 def writeDescriptor(self, descriptor, newValue): 1486 '''void QLowEnergyService.writeDescriptor(QLowEnergyDescriptor descriptor, QByteArray newValue)''' 1487 def writeCharacteristic(self, characteristic, newValue, mode = None): 1488 '''void QLowEnergyService.writeCharacteristic(QLowEnergyCharacteristic characteristic, QByteArray newValue, QLowEnergyService.WriteMode mode = QLowEnergyService.WriteWithResponse)''' 1489 def contains(self, characteristic): 1490 '''bool QLowEnergyService.contains(QLowEnergyCharacteristic characteristic)''' 1491 return bool() 1492 def contains(self, descriptor): 1493 '''bool QLowEnergyService.contains(QLowEnergyDescriptor descriptor)''' 1494 return bool() 1495 def error(self): 1496 '''QLowEnergyService.ServiceError QLowEnergyService.error()''' 1497 return QLowEnergyService.ServiceError() 1498 error = pyqtSignal() # void error(QLowEnergyService::ServiceError) - signal 1499 def discoverDetails(self): 1500 '''void QLowEnergyService.discoverDetails()''' 1501 def serviceName(self): 1502 '''str QLowEnergyService.serviceName()''' 1503 return str() 1504 def serviceUuid(self): 1505 '''QBluetoothUuid QLowEnergyService.serviceUuid()''' 1506 return QBluetoothUuid() 1507 def characteristics(self): 1508 '''list-of-QLowEnergyCharacteristic QLowEnergyService.characteristics()''' 1509 return [QLowEnergyCharacteristic()] 1510 def characteristic(self, uuid): 1511 '''QLowEnergyCharacteristic QLowEnergyService.characteristic(QBluetoothUuid uuid)''' 1512 return QLowEnergyCharacteristic() 1513 def state(self): 1514 '''QLowEnergyService.ServiceState QLowEnergyService.state()''' 1515 return QLowEnergyService.ServiceState() 1516 def type(self): 1517 '''QLowEnergyService.ServiceTypes QLowEnergyService.type()''' 1518 return QLowEnergyService.ServiceTypes() 1519 def includedServices(self): 1520 '''list-of-QBluetoothUuid QLowEnergyService.includedServices()''' 1521 return [QBluetoothUuid()] 1522 class ServiceTypes(): 1523 """""" 1524 def __init__(self): 1525 '''QLowEnergyService.ServiceTypes QLowEnergyService.ServiceTypes.__init__()''' 1526 return QLowEnergyService.ServiceTypes() 1527 def __init__(self): 1528 '''int QLowEnergyService.ServiceTypes.__init__()''' 1529 return int() 1530 def __init__(self): 1531 '''void QLowEnergyService.ServiceTypes.__init__()''' 1532 def __bool__(self): 1533 '''int QLowEnergyService.ServiceTypes.__bool__()''' 1534 return int() 1535 def __ne__(self, f): 1536 '''bool QLowEnergyService.ServiceTypes.__ne__(QLowEnergyService.ServiceTypes f)''' 1537 return bool() 1538 def __eq__(self, f): 1539 '''bool QLowEnergyService.ServiceTypes.__eq__(QLowEnergyService.ServiceTypes f)''' 1540 return bool() 1541 def __invert__(self): 1542 '''QLowEnergyService.ServiceTypes QLowEnergyService.ServiceTypes.__invert__()''' 1543 return QLowEnergyService.ServiceTypes() 1544 def __and__(self, mask): 1545 '''QLowEnergyService.ServiceTypes QLowEnergyService.ServiceTypes.__and__(int mask)''' 1546 return QLowEnergyService.ServiceTypes() 1547 def __xor__(self, f): 1548 '''QLowEnergyService.ServiceTypes QLowEnergyService.ServiceTypes.__xor__(QLowEnergyService.ServiceTypes f)''' 1549 return QLowEnergyService.ServiceTypes() 1550 def __xor__(self, f): 1551 '''QLowEnergyService.ServiceTypes QLowEnergyService.ServiceTypes.__xor__(int f)''' 1552 return QLowEnergyService.ServiceTypes() 1553 def __or__(self, f): 1554 '''QLowEnergyService.ServiceTypes QLowEnergyService.ServiceTypes.__or__(QLowEnergyService.ServiceTypes f)''' 1555 return QLowEnergyService.ServiceTypes() 1556 def __or__(self, f): 1557 '''QLowEnergyService.ServiceTypes QLowEnergyService.ServiceTypes.__or__(int f)''' 1558 return QLowEnergyService.ServiceTypes() 1559 def __int__(self): 1560 '''int QLowEnergyService.ServiceTypes.__int__()''' 1561 return int() 1562 def __ixor__(self, f): 1563 '''QLowEnergyService.ServiceTypes QLowEnergyService.ServiceTypes.__ixor__(QLowEnergyService.ServiceTypes f)''' 1564 return QLowEnergyService.ServiceTypes() 1565 def __ior__(self, f): 1566 '''QLowEnergyService.ServiceTypes QLowEnergyService.ServiceTypes.__ior__(QLowEnergyService.ServiceTypes f)''' 1567 return QLowEnergyService.ServiceTypes() 1568 def __iand__(self, mask): 1569 '''QLowEnergyService.ServiceTypes QLowEnergyService.ServiceTypes.__iand__(int mask)''' 1570 return QLowEnergyService.ServiceTypes() 1571 1572