Module homey.ble_descriptor
Classes
class BleDescriptor-
A BLE descriptor of a characteristic.
This class must not be initialized by the developer, but retrieved through
BleCharacteristic.descriptorsor by callingBleCharacteristic.discover_descriptors().Ancestors
- SimpleClass
- EventEmitter
- typing.Generic
Instance variables
var id : Final[str]-
The ID of the descriptor assigned by Homey.
var uuid : Final[str]var value : bytes | None
Methods
async def read(self) ‑> bytes-
Read the current value of this descriptor.
Raises
NotConnected:
async def write(self, data: bytes) ‑> None-
Write the data to this descriptor.
Raises
NotConnected:
Inherited members