src.bluetooth_sig.gatt.characteristics.ghs_control_point¶
GHS Control Point characteristic (0x2BF4).
Control point for the Generic Health Sensor service.
References
Bluetooth SIG Generic Health Sensor Service specification
Classes¶
Name | Description |
|---|---|
GHS Control Point characteristic (0x2BF4). |
|
Parsed data from GHS Control Point. |
|
GHS Control Point Op Codes. |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.ghs_control_point.GHSControlPointCharacteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[GHSControlPointData]GHS Control Point characteristic (0x2BF4).
org.bluetooth.characteristic.ghs_control_point
Control point for managing observations in the Generic Health Sensor service.
- allow_variable_length = True¶
- min_length = 1¶
- class src.bluetooth_sig.gatt.characteristics.ghs_control_point.GHSControlPointData¶
Bases:
msgspec.StructParsed data from GHS Control Point.
- opcode¶
The operation code.
- parameter¶
Raw parameter bytes (variable per opcode). Empty if none.
- opcode: GHSControlPointOpCode¶
- class src.bluetooth_sig.gatt.characteristics.ghs_control_point.GHSControlPointOpCode¶
Bases:
enum.IntEnumGHS Control Point Op Codes.
- RESPONSE_CODE = 128¶
- START_SEND_LIVE_OBSERVATIONS = 1¶
- STOP_SEND_LIVE_OBSERVATIONS = 2¶