src.bluetooth_sig.gatt.services.binary_sensor¶
BinarySensor Service implementation.
Classes¶
Name | Description |
|---|---|
Binary Sensor Service implementation (0x183B). |
Module Contents¶
- class src.bluetooth_sig.gatt.services.binary_sensor.BinarySensorService(info: src.bluetooth_sig.types.ServiceInfo | None = None, validation: ServiceValidationConfig | None = None)¶
Bases:
src.bluetooth_sig.gatt.services.base.BaseGattServiceBinary Sensor Service implementation (0x183B).
Enables devices with one or more binary (open/closed, on/off) sensors to report sensor state to a client device. Commands are received on the BSS Control Point and responses/events are indicated on the BSS Response characteristic.