QLowEnergyService¶
- PyQt5.QtBluetooth.QLowEnergyService
Inherits from QObject.
Description¶
TODO
Classes¶
Enums¶
- ServiceError
TODO
Member
Value
Description
CharacteristicReadError TODO
TODO
CharacteristicWriteError TODO
TODO
DescriptorReadError TODO
TODO
DescriptorWriteError TODO
TODO
NoError TODO
TODO
OperationError TODO
TODO
UnknownError TODO
TODO
- ServiceState
TODO
Member
Value
Description
DiscoveringServices TODO
TODO
DiscoveryRequired TODO
TODO
InvalidService TODO
TODO
LocalService TODO
TODO
ServiceDiscovered TODO
TODO
- ServiceType
TODO
Member
Value
Description
IncludedService TODO
TODO
PrimaryService TODO
TODO
- WriteMode
TODO
Member
Value
Description
WriteSigned TODO
TODO
WriteWithoutResponse TODO
TODO
WriteWithResponse TODO
TODO
Methods¶
- characteristic(QBluetoothUuid) → QLowEnergyCharacteristic
TODO
- characteristics() → List[QLowEnergyCharacteristic]
TODO
- contains(QLowEnergyCharacteristic) → bool
TODO
- contains(QLowEnergyDescriptor) → bool
TODO
- discoverDetails()
TODO
- error() → ServiceError
TODO
- includedServices() → List[QBluetoothUuid]
TODO
- readCharacteristic(QLowEnergyCharacteristic)
TODO
- readDescriptor(QLowEnergyDescriptor)
TODO
- serviceName() → str
TODO
- serviceUuid() → QBluetoothUuid
TODO
- state() → ServiceState
TODO
- type() → ServiceTypes
TODO
- writeCharacteristic(QLowEnergyCharacteristic, Union[QByteArray, bytes, bytearray], mode: WriteMode = WriteWithResponse)
TODO
- writeDescriptor(QLowEnergyDescriptor, Union[QByteArray, bytes, bytearray])
TODO
Signals¶
- characteristicChanged(QLowEnergyCharacteristic, Union[QByteArray, bytes, bytearray])
TODO
- characteristicRead(QLowEnergyCharacteristic, Union[QByteArray, bytes, bytearray])
TODO
- characteristicWritten(QLowEnergyCharacteristic, Union[QByteArray, bytes, bytearray])
TODO
- descriptorRead(QLowEnergyDescriptor, Union[QByteArray, bytes, bytearray])
TODO
- descriptorWritten(QLowEnergyDescriptor, Union[QByteArray, bytes, bytearray])
TODO
- error()
TODO
- error(ServiceError)
TODO
- stateChanged(ServiceState)
TODO