src.bluetooth_sig.gatt.constants¶
Shared constants for GATT characteristics and services.
This module provides commonly used constants throughout the Bluetooth SIG implementation to avoid duplication and ensure consistency.
Attributes¶
Name | Description |
|---|---|
Module Contents¶
- src.bluetooth_sig.gatt.constants.ABSOLUTE_ZERO_CELSIUS = -273.15¶
- src.bluetooth_sig.gatt.constants.EXTENDED_PERCENTAGE_MAX = 200¶
- src.bluetooth_sig.gatt.constants.HUMIDITY_RESOLUTION = 0.01¶
- src.bluetooth_sig.gatt.constants.MAX_CONCENTRATION_PPM = 65535.0¶
- src.bluetooth_sig.gatt.constants.MAX_POWER_WATTS = 65535.0¶
- src.bluetooth_sig.gatt.constants.MAX_PRESSURE_PA = 200000.0¶
- src.bluetooth_sig.gatt.constants.MAX_TEMPERATURE_CELSIUS = 1000.0¶
- src.bluetooth_sig.gatt.constants.PERCENTAGE_MAX = 100¶
- src.bluetooth_sig.gatt.constants.PERCENTAGE_MIN = 0¶
- src.bluetooth_sig.gatt.constants.PRESSURE_RESOLUTION = 0.1¶
- src.bluetooth_sig.gatt.constants.SINT16_MAX = 32767¶
- src.bluetooth_sig.gatt.constants.SINT16_MIN = -32768¶
- src.bluetooth_sig.gatt.constants.SINT24_MAX = 8388607¶
- src.bluetooth_sig.gatt.constants.SINT24_MIN = -8388608¶
- src.bluetooth_sig.gatt.constants.SINT32_MAX = 2147483647¶
- src.bluetooth_sig.gatt.constants.SINT32_MIN = -2147483648¶
- src.bluetooth_sig.gatt.constants.SINT8_MAX = 127¶
- src.bluetooth_sig.gatt.constants.SINT8_MIN = -128¶
- src.bluetooth_sig.gatt.constants.SOUND_PRESSURE_RESOLUTION = 0.1¶
- src.bluetooth_sig.gatt.constants.TEMPERATURE_RESOLUTION = 0.01¶
- src.bluetooth_sig.gatt.constants.UINT16_MAX = 65535¶
- src.bluetooth_sig.gatt.constants.UINT24_MAX = 16777215¶
- src.bluetooth_sig.gatt.constants.UINT32_MAX = 4294967295¶
- src.bluetooth_sig.gatt.constants.UINT8_MAX = 255¶
- src.bluetooth_sig.gatt.constants.UNIT_AMPERE = 'A'¶
- src.bluetooth_sig.gatt.constants.UNIT_BEATS_PER_MINUTE = 'bpm'¶
- src.bluetooth_sig.gatt.constants.UNIT_CELSIUS = '°C'¶
- src.bluetooth_sig.gatt.constants.UNIT_DBM = 'dBm'¶
- src.bluetooth_sig.gatt.constants.UNIT_DECIBEL = 'dB'¶
- src.bluetooth_sig.gatt.constants.UNIT_DEGREE = '°'¶
- src.bluetooth_sig.gatt.constants.UNIT_FAHRENHEIT = '°F'¶
- src.bluetooth_sig.gatt.constants.UNIT_HECTOPASCAL = 'hPa'¶
- src.bluetooth_sig.gatt.constants.UNIT_JOULE = 'J'¶
- src.bluetooth_sig.gatt.constants.UNIT_KELVIN = 'K'¶
- src.bluetooth_sig.gatt.constants.UNIT_KILOJOULE = 'kJ'¶
- src.bluetooth_sig.gatt.constants.UNIT_LUX = 'lx'¶
- src.bluetooth_sig.gatt.constants.UNIT_METER = 'm'¶
- src.bluetooth_sig.gatt.constants.UNIT_METER_PER_SECOND = 'm/s'¶
- src.bluetooth_sig.gatt.constants.UNIT_MICROTESLA = 'µT'¶
- src.bluetooth_sig.gatt.constants.UNIT_PASCAL = 'Pa'¶
- src.bluetooth_sig.gatt.constants.UNIT_PERCENT = '%'¶
- src.bluetooth_sig.gatt.constants.UNIT_PPM = 'ppm'¶
- src.bluetooth_sig.gatt.constants.UNIT_TESLA = 'T'¶
- src.bluetooth_sig.gatt.constants.UNIT_VOLT = 'V'¶
- src.bluetooth_sig.gatt.constants.UNIT_WATT = 'W'¶
- src.bluetooth_sig.gatt.constants.WIND_DIRECTION_RESOLUTION = 0.01¶
- src.bluetooth_sig.gatt.constants.WIND_SPEED_RESOLUTION = 0.01¶