src.bluetooth_sig.gatt.characteristics.imd_control

IMD Control characteristic (0x2C12).

Control point for Industrial Monitoring Device operations.

References

Bluetooth SIG Industrial Monitoring Device Service

Classes

Name

Description

IMDControlCharacteristic

IMD Control characteristic (0x2C12).

IMDControlData

Parsed data from IMD Control characteristic.

IMDControlOpCode

IMD Control operation codes.

Module Contents

class src.bluetooth_sig.gatt.characteristics.imd_control.IMDControlCharacteristic

Bases: src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[IMDControlData]

IMD Control characteristic (0x2C12).

org.bluetooth.characteristic.imd_control

Control point for Industrial Monitoring Device operations.

allow_variable_length = True
min_length = 1
class src.bluetooth_sig.gatt.characteristics.imd_control.IMDControlData

Bases: msgspec.Struct

Parsed data from IMD Control characteristic.

opcode

IMD Control operation code.

parameters

Raw parameter bytes.

opcode: IMDControlOpCode
parameters: bytes = b''
class src.bluetooth_sig.gatt.characteristics.imd_control.IMDControlOpCode

Bases: enum.IntEnum

IMD Control operation codes.

CLEAR_STATUS = 4
RESET_DEVICE = 1
RESPONSE = 255
SET_CONFIGURATION = 5
START_MEASUREMENT = 2
STOP_MEASUREMENT = 3