src.bluetooth_sig.gatt.characteristics.idd_command_data

IDD Command Data characteristic (0x2B26).

Contains command data associated with IDD Command Control Point responses.

References

Bluetooth SIG Insulin Delivery Service 1.0

Classes

Name

Description

IDDCommandDataCharacteristic

IDD Command Data characteristic (0x2B26).

IDDCommandDataPayload

Parsed data from IDD Command Data characteristic.

Module Contents

class src.bluetooth_sig.gatt.characteristics.idd_command_data.IDDCommandDataCharacteristic(info: src.bluetooth_sig.types.CharacteristicInfo | None = None, validation: src.bluetooth_sig.gatt.characteristics.characteristic_meta.ValidationConfig | None = None)

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

IDD Command Data characteristic (0x2B26).

org.bluetooth.characteristic.idd_command_data

Contains command data associated with IDD Command Control Point operations.

allow_variable_length = True
min_length = 2
class src.bluetooth_sig.gatt.characteristics.idd_command_data.IDDCommandDataPayload

Bases: msgspec.Struct

Parsed data from IDD Command Data characteristic.

opcode

The echoed operation code (uint16 LE).

command_data

Raw command-specific data bytes.

command_data: bytes = b''
opcode: src.bluetooth_sig.gatt.characteristics.idd_command_control_point.IDDCommandOpCode