src.bluetooth_sig.gatt.characteristics.blood_pressure_feature

Blood Pressure Feature characteristic implementation.

Classes

Name

Description

BloodPressureFeatureCharacteristic

Blood Pressure Feature characteristic (0x2A49).

BloodPressureFeatureData

Parsed data from Blood Pressure Feature characteristic.

BloodPressureFeatures

Blood Pressure Feature flags as per Bluetooth SIG specification.

Module Contents

class src.bluetooth_sig.gatt.characteristics.blood_pressure_feature.BloodPressureFeatureCharacteristic

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

Blood Pressure Feature characteristic (0x2A49).

Used to expose the supported features of a blood pressure monitoring device. Indicates which optional measurements and capabilities are available.

max_value: int = 65535
min_value: int = 0
class src.bluetooth_sig.gatt.characteristics.blood_pressure_feature.BloodPressureFeatureData

Bases: msgspec.Struct

Parsed data from Blood Pressure Feature characteristic.

body_movement_detection_support: bool
cuff_fit_detection_support: bool
features_bitmap: int
irregular_pulse_detection_support: bool
measurement_position_detection_support: bool
multiple_bond_support: bool
pulse_rate_range_detection_support: bool
class src.bluetooth_sig.gatt.characteristics.blood_pressure_feature.BloodPressureFeatures

Bases: enum.IntFlag

Blood Pressure Feature flags as per Bluetooth SIG specification.

BODY_MOVEMENT_DETECTION = 1
CUFF_FIT_DETECTION = 2
IRREGULAR_PULSE_DETECTION = 4
MEASUREMENT_POSITION_DETECTION = 16
MULTIPLE_BOND_SUPPORT = 32
PULSE_RATE_RANGE_DETECTION = 8