src.bluetooth_sig.gatt.descriptors.cooking_sensor_info

Cooking Sensor Info Descriptor implementation.

Classes

Name

Description

CookingSensorInfoData

Cooking Sensor Info descriptor data.

CookingSensorInfoDescriptor

Cooking Sensor Info Descriptor (0x2916).

CookingSensorLocation

Typed Sensor Location field from the Cooking Sensor Info descriptor.

CookingSensorLocationType

Permitted Cooking Sensor Info location types from CWS Table 3.20.

Module Contents

class src.bluetooth_sig.gatt.descriptors.cooking_sensor_info.CookingSensorInfoData

Bases: msgspec.Struct

Cooking Sensor Info descriptor data.

aggregate_offset: int | None = None
location: CookingSensorLocation
measurement_uncertainty: int
sensor_uuid: bluetooth_sig.types.uuid.BluetoothUUID
class src.bluetooth_sig.gatt.descriptors.cooking_sensor_info.CookingSensorInfoDescriptor

Bases: src.bluetooth_sig.gatt.descriptors.base.BaseDescriptor

Cooking Sensor Info Descriptor (0x2916).

class src.bluetooth_sig.gatt.descriptors.cooking_sensor_info.CookingSensorLocation

Bases: msgspec.Struct

Typed Sensor Location field from the Cooking Sensor Info descriptor.

distance_mm: int | None = None
location_type: CookingSensorLocationType
class src.bluetooth_sig.gatt.descriptors.cooking_sensor_info.CookingSensorLocationType

Bases: enum.IntEnum

Permitted Cooking Sensor Info location types from CWS Table 3.20.

ELECTRONICS_BATTERY = 8
GRILL_PLATE = 3
HANDLE = 7
LID = 4
OTHER_UNKNOWN = 255
PROBE_AMBIENT = 6
PROBE_FOOD_CORE = 5
VESSEL_BOTTOM = 2
VESSEL_SIDE = 1