Select one of the symbols to view example projects that use it.
 
Outline
#define _DEVICE_PROPERTY_H_
#include "mesh/types.h"
#define BLE_MESH_INVALID_DEVICE_PROPERTY_ID
#define BLE_MESH_AVERAGE_AMBIENT_TEMPERATURE_IN_A_PERIOD_OF_DAY
#define BLE_MESH_AVERAGE_INPUT_CURRENT
#define BLE_MESH_AVERAGE_INPUT_VOLTAGE
#define BLE_MESH_AVERAGE_OUTPUT_CURRENT
#define BLE_MESH_AVERAGE_OUTPUT_VOLTAGE
#define BLE_MESH_CENTER_BEAM_INTENSITY_AT_FULL_POWER
#define BLE_MESH_CHROMATICITY_TOLERANCE
#define BLE_MESH_COLOR_RENDERING_INDEX_R9
#define BLE_MESH_COLOR_RENDERING_INDEX_RA
#define BLE_MESH_DEVICE_APPEARANCE
#define BLE_MESH_DEVICE_COUNTRY_OF_ORIGIN
#define BLE_MESH_DEVICE_DATE_OF_MANUFACTURE
#define BLE_MESH_DEVICE_ENERGY_USE_SINCE_TURN_ON
#define BLE_MESH_DEVICE_FIRMWARE_REVISION
#define BLE_MESH_DEVICE_GLOBAL_TRADE_ITEM_NUMBER
#define BLE_MESH_DEVICE_HARDWARE_REVISION
#define BLE_MESH_DEVICE_MANUFACTURER_NAME
#define BLE_MESH_DEVICE_MODEL_NUMBER
#define BLE_MESH_DEVICE_OPERATING_TEMPERATURE_RANGE_SPECIFICATION
#define BLE_MESH_DEVICE_OPERATING_TEMPERATURE_STATISTICAL_VALUES
#define BLE_MESH_DEVICE_OVER_TEMPERATURE_EVENT_STATISTICS
#define BLE_MESH_DEVICE_POWER_RANGE_SPECIFICATION
#define BLE_MESH_DEVICE_RUNTIME_SINCE_TURN_ON
#define BLE_MESH_DEVICE_RUNTIME_WARRANTY
#define BLE_MESH_DEVICE_SERIAL_NUMBER
#define BLE_MESH_DEVICE_SOFTWARE_REVISION
#define BLE_MESH_DEVICE_UNDER_TEMPERATURE_EVENT_STATISTICS
#define BLE_MESH_INDOOR_AMBIENT_TEMPERATURE_STATISTICAL_VALUES
#define BLE_MESH_INITIAL_CIE_1931_CHROMATICITY_COORDINATES
#define BLE_MESH_INITIAL_CORRELATED_COLOR_TEMPERATURE
#define BLE_MESH_INITIAL_LUMINOUS_FLUX
#define BLE_MESH_INITIAL_PLANCKIAN_DISTANCE
#define BLE_MESH_INPUT_CURRENT_RANGE_SPECIFICATION
#define BLE_MESH_INPUT_CURRENT_STATISTICS
#define BLE_MESH_INPUT_OVER_CURRENT_EVENT_STATISTICS
#define BLE_MESH_INPUT_OVER_RIPPLE_VOLTAGE_EVENT_STATISTICS
#define BLE_MESH_INPUT_OVER_VOLTAGE_EVENT_STATISTICS
#define BLE_MESH_INPUT_UNDER_CURRENT_EVENT_STATISTICS
#define BLE_MESH_INPUT_UNDER_VOLTAGE_EVENT_STATISTICS
#define BLE_MESH_INPUT_VOLTAGE_RANGE_SPECIFICATION
#define BLE_MESH_INPUT_VOLTAGE_RIPPLE_SPECIFICATION
#define BLE_MESH_INPUT_VOLTAGE_STATISTICS
#define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_ON
#define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_PROLONG
#define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_STANDBY
#define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_ON
#define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_PROLONG
#define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_STANDBY
#define BLE_MESH_LIGHT_CONTROL_REGULATOR_ACCURACY
#define BLE_MESH_LIGHT_CONTROL_REGULATOR_KID
#define BLE_MESH_LIGHT_CONTROL_REGULATOR_KIU
#define BLE_MESH_LIGHT_CONTROL_REGULATOR_KPD
#define BLE_MESH_LIGHT_CONTROL_REGULATOR_KPU
#define BLE_MESH_LIGHT_CONTROL_TIME_FADE
#define BLE_MESH_LIGHT_CONTROL_TIME_FADE_ON
#define BLE_MESH_LIGHT_CONTROL_TIME_FADE_STANDBY_AUTO
#define BLE_MESH_LIGHT_CONTROL_TIME_FADE_STANDBY_MANUAL
#define BLE_MESH_LIGHT_CONTROL_TIME_OCCUPANCY_DELAY
#define BLE_MESH_LIGHT_CONTROL_TIME_PROLONG
#define BLE_MESH_LIGHT_CONTROL_TIME_RUN_ON
#define BLE_MESH_LUMEN_MAINTENANCE_FACTOR
#define BLE_MESH_LUMINOUS_EFFICACY
#define BLE_MESH_LUMINOUS_ENERGY_SINCE_TURN_ON
#define BLE_MESH_LUMINOUS_EXPOSURE
#define BLE_MESH_LUMINOUS_FLUX_RANGE
#define BLE_MESH_MOTION_SENSED
#define BLE_MESH_MOTION_THRESHOLD
#define BLE_MESH_OPEN_CIRCUIT_EVENT_STATISTICS
#define BLE_MESH_OUTDOOR_STATISTICAL_VALUES
#define BLE_MESH_OUTPUT_CURRENT_RANGE
#define BLE_MESH_OUTPUT_CURRENT_STATISTICS
#define BLE_MESH_OUTPUT_RIPPLE_VOLTAGE_SPECIFICATION
#define BLE_MESH_OUTPUT_VOLTAGE_RANGE
#define BLE_MESH_OUTPUT_VOLTAGE_STATISTICS
#define BLE_MESH_OVER_OUTPUT_RIPPLE_VOLTAGE_EVENT_STATISTICS
#define BLE_MESH_PEOPLE_COUNT
#define BLE_MESH_PRESENCE_DETECTED
#define BLE_MESH_PRESENT_AMBIENT_LIGHT_LEVEL
#define BLE_MESH_PRESENT_AMBIENT_TEMPERATURE
#define BLE_MESH_PRESENT_CIE_1931_CHROMATICITY
#define BLE_MESH_PRESENT_CORRELATED_COLOR_TEMPERATURE
#define BLE_MESH_PRESENT_DEVICE_INPUT_POWER
#define BLE_MESH_PRESENT_DEVICE_OPERATING_EFFICIENCY
#define BLE_MESH_PRESENT_DEVICE_OPERATING_TEMPERATURE
#define BLE_MESH_PRESENT_ILLUMINANCE
#define BLE_MESH_PRESENT_INDOOR_AMBIENT_TEMPERATURE
#define BLE_MESH_PRESENT_INPUT_CURRENT
#define BLE_MESH_PRESENT_INPUT_RIPPLE_VOLTAGE
#define BLE_MESH_PRESENT_INPUT_VOLTAGE
#define BLE_MESH_PRESENT_LUMINOUS_FLUX
#define BLE_MESH_PRESENT_OUTDOOR_AMBIENT_TEMPERATURE
#define BLE_MESH_PRESENT_OUTPUT_CURRENT
#define BLE_MESH_PRESENT_OUTPUT_VOLTAGE
#define BLE_MESH_PRESENT_PLANCKIAN_DISTANCE
#define BLE_MESH_PRESENT_RELATIVE_OUTPUT_RIPPLE_VOLTAGE
#define BLE_MESH_RELATIVE_DEVICE_ENERGY_USE_IN_A_PERIOD_OF_DAY
#define BLE_MESH_RELATIVE_DEVICE_RUNTIME_IN_A_GENERIC_LEVEL_RANGE
#define BLE_MESH_RELATIVE_EXPOSURE_TIME_IN_AN_ILLUMINANCE_RANGE
#define BLE_MESH_RELATIVE_RUNTIME_IN_A_CORRELATED_COLOR_TEMPERATURE_RANGE
#define BLE_MESH_RELATIVE_RUNTIME_IN_A_DEVICE_OPERATING_TEMPERATURE_RANGE
#define BLE_MESH_RELATIVE_RUNTIME_IN_AN_INPUT_CURRENT_RANGE
#define BLE_MESH_RELATIVE_RUNTIME_IN_AN_INPUT_VOLTAGE_RANGE
#define BLE_MESH_SHORT_CIRCUIT_EVENT_STATISTICS
#define BLE_MESH_TIME_SINCE_MOTION_SENSED
#define BLE_MESH_TIME_SINCE_PRESENCE_DETECTED
#define BLE_MESH_TOTAL_DEVICE_ENERGY_USE
#define BLE_MESH_TOTAL_DEVICE_OFF_ON_CYCLES
#define BLE_MESH_TOTAL_DEVICE_POWER_ON_CYCLES
#define BLE_MESH_TOTAL_DEVICE_POWER_ON_TIME
#define BLE_MESH_TOTAL_DEVICE_RUNTIME
#define BLE_MESH_TOTAL_LIGHT_EXPOSURE_TIME
#define BLE_MESH_TOTAL_LUMINOUS_ENERGY
#define BLE_MESH_DESIRED_AMBIENT_TEMPERATURE
#define BLE_MESH_PRECISE_TOTAL_DEVICE_ENERGY_USE
#define BLE_MESH_POWER_FACTOR
#define BLE_MESH_SENSOR_GAIN
#define BLE_MESH_PRECISE_PRESENT_AMBIENT_TEMPERATURE
#define BLE_MESH_PRESENT_AMBIENT_RELATIVE_HUMIDITY
#define BLE_MESH_PRESENT_AMBIENT_CARBON_DIOXIDE_CONCENTRATION
#define BLE_MESH_PRESENT_AMBIENT_VOLATILE_ORGANIC_COMPOUNDS_CONCENTRATION
#define BLE_MESH_PRESENT_AMBIENT_NOISE
#define BLE_MESH_ACTIVE_ENERGY_LOADSIDE
#define BLE_MESH_ACTIVE_POWER_LOADSIDE
#define BLE_MESH_AIR_PRESSURE
#define BLE_MESH_APPARENT_ENERGY
#define BLE_MESH_APPARENT_POWER
#define BLE_MESH_APPARENT_WIND_DIRECTION
#define BLE_MESH_APPARENT_WIND_SPEED
#define BLE_MESH_DEW_POINT
#define BLE_MESH_EXTERNAL_SUPPLY_VOLTAGE
#define BLE_MESH_EXTERNAL_SUPPLY_VOLTAGE_FREQUENCY
#define BLE_MESH_GUST_FACTOR
#define BLE_MESH_HEAT_INDEX
#define BLE_MESH_LIGHT_DISTRIBUTION
#define BLE_MESH_LIGHT_SOURCE_CURRENT
#define BLE_MESH_LIGHT_SOURCE_ON_TIME_NOT_RESETTABLE
#define BLE_MESH_LIGHT_SOURCE_ON_TIME_RESETTABLE
#define BLE_MESH_LIGHT_SOURCE_OPEN_CIRCUIT_STATISTICS
#define BLE_MESH_LIGHT_SOURCE_OVERALL_FAILURES_STATISTICS
#define BLE_MESH_LIGHT_SOURCE_SHORT_CIRCUIT_STATISTICS
#define BLE_MESH_LIGHT_SOURCE_START_COUNTER_RESETTABLE
#define BLE_MESH_LIGHT_SOURCE_TEMPERATURE
#define BLE_MESH_LIGHT_SOURCE_THERMAL_DERATING_STATISTICS
#define BLE_MESH_LIGHT_SOURCE_THERMAL_SHUTDOWN_STATISTICS
#define BLE_MESH_LIGHT_SOURCE_TOTAL_POWER_ON_CYCLES
#define BLE_MESH_LIGHT_SOURCE_VOLTAGE
#define BLE_MESH_LUMINAIRE_COLOR
#define BLE_MESH_LUMINAIRE_IDENTIFICATION_NUMBER
#define BLE_MESH_LUMINAIRE_MANUFACTURER_GTIN
#define BLE_MESH_LUMINAIRE_NOMINAL_INPUT_POWER
#define BLE_MESH_LUMINAIRE_NOMINAL_MAXIMUM_AC_MAINS_VOLTAGE
#define BLE_MESH_LUMINAIRE_NOMINAL_MINIMUM_AC_MAINS_VOLTAGE
#define BLE_MESH_LUMINAIRE_POWER_AT_MINIMUM_DIM_LEVEL
#define BLE_MESH_LUMINAIRE_TIME_OF_MANUFACTURE
#define BLE_MESH_MAGNETIC_DECLINATION
#define BLE_MESH_MAGNETIC_FLUX_DENSITY_2D
#define BLE_MESH_MAGNETIC_FLUX_DENSITY_3D
#define BLE_MESH_NOMINAL_LIGHT_OUTPUT
#define BLE_MESH_OVERALL_FAILURE_CONDITION
#define BLE_MESH_POLLEN_CONCENTRATION
#define BLE_MESH_PRESENT_INDOOR_RELATIVE_HUMIDITY
#define BLE_MESH_PRESENT_OUTDOOR_RELATIVE_HUMIDITY
#define BLE_MESH_PRESSURE
#define BLE_MESH_RAINFALL
#define BLE_MESH_RATED_MEDIAN_USEFUL_LIFE_OF_LUMINAIRE
#define BLE_MESH_RATED_MEDIAN_USEFUL_LIGHT_SOURCE_STARTS
#define BLE_MESH_REFERENCE_TEMPERATURE
#define BLE_MESH_TOTAL_DEVICE_STARTS
#define BLE_MESH_TRUE_WIND_DIRECTION
#define BLE_MESH_TRUE_WIND_SPEED
#define BLE_MESH_UV_INDEX
#define BLE_MESH_WIND_CHILL
#define BLE_MESH_LIGHT_SOURCE_TYPE
#define BLE_MESH_LUMINAIRE_IDENTIFICATION_STRING
#define BLE_MESH_OUTPUT_POWER_LIMITATION
#define BLE_MESH_THERMAL_DERATING
#define BLE_MESH_OUTPUT_CURRENT_PERCENT
#define BLE_MESH_AVERAGE_AMBIENT_TEMPERATURE_IN_A_PERIOD_OF_DAY_LEN
#define BLE_MESH_AVERAGE_INPUT_CURRENT_LEN
#define BLE_MESH_AVERAGE_INPUT_VOLTAGE_LEN
#define BLE_MESH_AVERAGE_OUTPUT_CURRENT_LEN
#define BLE_MESH_AVERAGE_OUTPUT_VOLTAGE_LEN
#define BLE_MESH_CENTER_BEAM_INTENSITY_AT_FULL_POWER_LEN
#define BLE_MESH_CHROMATICITY_TOLERANCE_LEN
#define BLE_MESH_COLOR_RENDERING_INDEX_R9_LEN
#define BLE_MESH_COLOR_RENDERING_INDEX_RA_LEN
#define BLE_MESH_DEVICE_APPEARANCE_LEN
#define BLE_MESH_DEVICE_COUNTRY_OF_ORIGIN_LEN
#define BLE_MESH_DEVICE_DATE_OF_MANUFACTURE_LEN
#define BLE_MESH_DEVICE_ENERGY_USE_SINCE_TURN_ON_LEN
#define BLE_MESH_DEVICE_FIRMWARE_REVISION_LEN
#define BLE_MESH_DEVICE_GLOBAL_TRADE_ITEM_NUMBER_LEN
#define BLE_MESH_DEVICE_HARDWARE_REVISION_LEN
#define BLE_MESH_DEVICE_MANUFACTURER_NAME_LEN
#define BLE_MESH_DEVICE_MODEL_NUMBER_LEN
#define BLE_MESH_DEVICE_OPERATING_TEMPERATURE_RANGE_SPECIFICATION_LEN
#define BLE_MESH_DEVICE_OPERATING_TEMPERATURE_STATISTICAL_VALUES_LEN
#define BLE_MESH_DEVICE_OVER_TEMPERATURE_EVENT_STATISTICS_LEN
#define BLE_MESH_DEVICE_POWER_RANGE_SPECIFICATION_LEN
#define BLE_MESH_DEVICE_RUNTIME_SINCE_TURN_ON_LEN
#define BLE_MESH_DEVICE_RUNTIME_WARRANTY_LEN
#define BLE_MESH_DEVICE_SERIAL_NUMBER_LEN
#define BLE_MESH_DEVICE_SOFTWARE_REVISION_LEN
#define BLE_MESH_DEVICE_UNDER_TEMPERATURE_EVENT_STATISTICS_LEN
#define BLE_MESH_INDOOR_AMBIENT_TEMPERATURE_STATISTICAL_VALUES_LEN
#define BLE_MESH_INITIAL_CIE_1931_CHROMATICITY_COORDINATES_LEN
#define BLE_MESH_INITIAL_CORRELATED_COLOR_TEMPERATURE_LEN
#define BLE_MESH_INITIAL_LUMINOUS_FLUX_LEN
#define BLE_MESH_INITIAL_PLANCKIAN_DISTANCE_LEN
#define BLE_MESH_INPUT_CURRENT_RANGE_SPECIFICATION_LEN
#define BLE_MESH_INPUT_CURRENT_STATISTICS_LEN
#define BLE_MESH_INPUT_OVER_CURRENT_EVENT_STATISTICS_LEN
#define BLE_MESH_INPUT_OVER_RIPPLE_VOLTAGE_EVENT_STATISTICS_LEN
#define BLE_MESH_INPUT_OVER_VOLTAGE_EVENT_STATISTICS_LEN
#define BLE_MESH_INPUT_UNDER_CURRENT_EVENT_STATISTICS_LEN
#define BLE_MESH_INPUT_UNDER_VOLTAGE_EVENT_STATISTICS_LEN
#define BLE_MESH_INPUT_VOLTAGE_RANGE_SPECIFICATION_LEN
#define BLE_MESH_INPUT_VOLTAGE_RIPPLE_SPECIFICATION_LEN
#define BLE_MESH_INPUT_VOLTAGE_STATISTICS_LEN
#define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_ON_LEN
#define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_PROLONG_LEN
#define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_STANDBY_LEN
#define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_ON_LEN
#define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_PROLONG_LEN
#define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_STANDBY_LEN
#define BLE_MESH_LIGHT_CONTROL_REGULATOR_ACCURACY_LEN
#define BLE_MESH_LIGHT_CONTROL_REGULATOR_KID_LEN
#define BLE_MESH_LIGHT_CONTROL_REGULATOR_KIU_LEN
#define BLE_MESH_LIGHT_CONTROL_REGULATOR_KPD_LEN
#define BLE_MESH_LIGHT_CONTROL_REGULATOR_KPU_LEN
#define BLE_MESH_LIGHT_CONTROL_TIME_FADE_LEN
#define BLE_MESH_LIGHT_CONTROL_TIME_FADE_ON_LEN
#define BLE_MESH_LIGHT_CONTROL_TIME_FADE_STANDBY_AUTO_LEN
#define BLE_MESH_LIGHT_CONTROL_TIME_FADE_STANDBY_MANUAL_LEN
#define BLE_MESH_LIGHT_CONTROL_TIME_OCCUPANCY_DELAY_LEN
#define BLE_MESH_LIGHT_CONTROL_TIME_PROLONG_LEN
#define BLE_MESH_LIGHT_CONTROL_TIME_RUN_ON_LEN
#define BLE_MESH_LUMEN_MAINTENANCE_FACTOR_LEN
#define BLE_MESH_LUMINOUS_EFFICACY_LEN
#define BLE_MESH_LUMINOUS_ENERGY_SINCE_TURN_ON_LEN
#define BLE_MESH_LUMINOUS_EXPOSURE_LEN
#define BLE_MESH_LUMINOUS_FLUX_RANGE_LEN
#define BLE_MESH_MOTION_SENSED_LEN
#define BLE_MESH_MOTION_THRESHOLD_LEN
#define BLE_MESH_OPEN_CIRCUIT_EVENT_STATISTICS_LEN
#define BLE_MESH_OUTDOOR_STATISTICAL_VALUES_LEN
#define BLE_MESH_OUTPUT_CURRENT_RANGE_LEN
#define BLE_MESH_OUTPUT_CURRENT_STATISTICS_LEN
#define BLE_MESH_OUTPUT_RIPPLE_VOLTAGE_SPECIFICATION_LEN
#define BLE_MESH_OUTPUT_VOLTAGE_RANGE_LEN
#define BLE_MESH_OUTPUT_VOLTAGE_STATISTICS_LEN
#define BLE_MESH_OVER_OUTPUT_RIPPLE_VOLTAGE_EVENT_STATISTICS_LEN
#define BLE_MESH_PEOPLE_COUNT_LEN
#define BLE_MESH_PRESENCE_DETECTED_LEN
#define BLE_MESH_PRESENT_AMBIENT_LIGHT_LEVEL_LEN
#define BLE_MESH_PRESENT_AMBIENT_TEMPERATURE_LEN
#define BLE_MESH_PRESENT_CIE_1931_CHROMATICITY_LEN
#define BLE_MESH_PRESENT_CORRELATED_COLOR_TEMPERATURE_LEN
#define BLE_MESH_PRESENT_DEVICE_INPUT_POWER_LEN
#define BLE_MESH_PRESENT_DEVICE_OPERATING_EFFICIENCY_LEN
#define BLE_MESH_PRESENT_DEVICE_OPERATING_TEMPERATURE_LEN
#define BLE_MESH_PRESENT_ILLUMINANCE_LEN
#define BLE_MESH_PRESENT_INDOOR_AMBIENT_TEMPERATURE_LEN
#define BLE_MESH_PRESENT_INPUT_CURRENT_LEN
#define BLE_MESH_PRESENT_INPUT_RIPPLE_VOLTAGE_LEN
#define BLE_MESH_PRESENT_INPUT_VOLTAGE_LEN
#define BLE_MESH_PRESENT_LUMINOUS_FLUX_LEN
#define BLE_MESH_PRESENT_OUTDOOR_AMBIENT_TEMPERATURE_LEN
#define BLE_MESH_PRESENT_OUTPUT_CURRENT_LEN
#define BLE_MESH_PRESENT_OUTPUT_VOLTAGE_LEN
#define BLE_MESH_PRESENT_PLANCKIAN_DISTANCE_LEN
#define BLE_MESH_PRESENT_RELATIVE_OUTPUT_RIPPLE_VOLTAGE_LEN
#define BLE_MESH_RELATIVE_DEVICE_ENERGY_USE_IN_A_PERIOD_OF_DAY_LEN
#define BLE_MESH_RELATIVE_DEVICE_RUNTIME_IN_A_GENERIC_LEVEL_RANGE_LEN
#define BLE_MESH_RELATIVE_EXPOSURE_TIME_IN_AN_ILLUMINANCE_RANGE_LEN
#define BLE_MESH_RELATIVE_RUNTIME_IN_A_CORRELATED_COLOR_TEMPERATURE_RANGE_LEN
#define BLE_MESH_RELATIVE_RUNTIME_IN_A_DEVICE_OPERATING_TEMPERATURE_RANGE_LEN
#define BLE_MESH_RELATIVE_RUNTIME_IN_AN_INPUT_CURRENT_RANGE_LEN
#define BLE_MESH_RELATIVE_RUNTIME_IN_AN_INPUT_VOLTAGE_RANGE_LEN
#define BLE_MESH_SHORT_CIRCUIT_EVENT_STATISTICS_LEN
#define BLE_MESH_TIME_SINCE_MOTION_SENSED_LEN
#define BLE_MESH_TIME_SINCE_PRESENCE_DETECTED_LEN
#define BLE_MESH_TOTAL_DEVICE_ENERGY_USE_LEN
#define BLE_MESH_TOTAL_DEVICE_OFF_ON_CYCLES_LEN
#define BLE_MESH_TOTAL_DEVICE_POWER_ON_CYCLES_LEN
#define BLE_MESH_TOTAL_DEVICE_POWER_ON_TIME_LEN
#define BLE_MESH_TOTAL_DEVICE_RUNTIME_LEN
#define BLE_MESH_TOTAL_LIGHT_EXPOSURE_TIME_LEN
#define BLE_MESH_TOTAL_LUMINOUS_ENERGY_LEN
#define BLE_MESH_DESIRED_AMBIENT_TEMPERATURE_LEN
#define BLE_MESH_PRECISE_TOTAL_DEVICE_ENERGY_USE_LEN
#define BLE_MESH_POWER_FACTOR_LEN
#define BLE_MESH_SENSOR_GAIN_LEN
#define BLE_MESH_PRECISE_PRESENT_AMBIENT_TEMPERATURE_LEN
#define BLE_MESH_PRESENT_AMBIENT_RELATIVE_HUMIDITY_LEN
#define BLE_MESH_PRESENT_AMBIENT_CARBON_DIOXIDE_CONCENTRATION_LEN
#define BLE_MESH_PRESENT_AMBIENT_VOLATILE_ORGANIC_COMPOUNDS_CONCENTRATION_LEN
#define BLE_MESH_PRESENT_AMBIENT_NOISE_LEN
#define BLE_MESH_ACTIVE_ENERGY_LOADSIDE_LEN
#define BLE_MESH_ACTIVE_POWER_LOADSIDE_LEN
#define BLE_MESH_AIR_PRESSURE_LEN
#define BLE_MESH_APPARENT_ENERGY_LEN
#define BLE_MESH_APPARENT_POWER_LEN
#define BLE_MESH_APPARENT_WIND_DIRECTION_LEN
#define BLE_MESH_APPARENT_WIND_SPEED_LEN
#define BLE_MESH_DEW_POINT_LEN
#define BLE_MESH_EXTERNAL_SUPPLY_VOLTAGE_LEN
#define BLE_MESH_EXTERNAL_SUPPLY_VOLTAGE_FREQUENCY_LEN
#define BLE_MESH_GUST_FACTOR_LEN
#define BLE_MESH_HEAT_INDEX_LEN
#define BLE_MESH_LIGHT_DISTRIBUTION_LEN
#define BLE_MESH_LIGHT_SOURCE_CURRENT_LEN
#define BLE_MESH_LIGHT_SOURCE_ON_TIME_NOT_RESETTABLE_LEN
#define BLE_MESH_LIGHT_SOURCE_ON_TIME_RESETTABLE_LEN
#define BLE_MESH_LIGHT_SOURCE_OPEN_CIRCUIT_STATISTICS_LEN
#define BLE_MESH_LIGHT_SOURCE_OVERALL_FAILURES_STATISTICS_LEN
#define BLE_MESH_LIGHT_SOURCE_SHORT_CIRCUIT_STATISTICS_LEN
#define BLE_MESH_LIGHT_SOURCE_START_COUNTER_RESETTABLE_LEN
#define BLE_MESH_LIGHT_SOURCE_TEMPERATURE_LEN
#define BLE_MESH_LIGHT_SOURCE_THERMAL_DERATING_STATISTICS_LEN
#define BLE_MESH_LIGHT_SOURCE_THERMAL_SHUTDOWN_STATISTICS_LEN
#define BLE_MESH_LIGHT_SOURCE_TOTAL_POWER_ON_CYCLES_LEN
#define BLE_MESH_LIGHT_SOURCE_VOLTAGE_LEN
#define BLE_MESH_LUMINAIRE_COLOR_LEN
#define BLE_MESH_LUMINAIRE_IDENTIFICATION_NUMBER_LEN
#define BLE_MESH_LUMINAIRE_MANUFACTURER_GTIN_LEN
#define BLE_MESH_LUMINAIRE_NOMINAL_INPUT_POWER_LEN
#define BLE_MESH_LUMINAIRE_NOMINAL_MAXIMUM_AC_MAINS_VOLTAGE_LEN
#define BLE_MESH_LUMINAIRE_NOMINAL_MINIMUM_AC_MAINS_VOLTAGE_LEN
#define BLE_MESH_LUMINAIRE_POWER_AT_MINIMUM_DIM_LEVEL_LEN
#define BLE_MESH_LUMINAIRE_TIME_OF_MANUFACTURE_LEN
#define BLE_MESH_MAGNETIC_DECLINATION_LEN
#define BLE_MESH_MAGNETIC_FLUX_DENSITY_2D_LEN
#define BLE_MESH_MAGNETIC_FLUX_DENSITY_3D_LEN
#define BLE_MESH_NOMINAL_LIGHT_OUTPUT_LEN
#define BLE_MESH_OVERALL_FAILURE_CONDITION_LEN
#define BLE_MESH_POLLEN_CONCENTRATION_LEN
#define BLE_MESH_PRESENT_INDOOR_RELATIVE_HUMIDITY_LEN
#define BLE_MESH_PRESENT_OUTDOOR_RELATIVE_HUMIDITY_LEN
#define BLE_MESH_PRESSURE_LEN
#define BLE_MESH_RAINFALL_LEN
#define BLE_MESH_RATED_MEDIAN_USEFUL_LIFE_OF_LUMINAIRE_LEN
#define BLE_MESH_RATED_MEDIAN_USEFUL_LIGHT_SOURCE_STARTS_LEN
#define BLE_MESH_REFERENCE_TEMPERATURE_LEN
#define BLE_MESH_TOTAL_DEVICE_STARTS_LEN
#define BLE_MESH_TRUE_WIND_DIRECTION_LEN
#define BLE_MESH_TRUE_WIND_SPEED_LEN
#define BLE_MESH_UV_INDEX_LEN
#define BLE_MESH_WIND_CHILL_LEN
#define BLE_MESH_LIGHT_SOURCE_TYPE_LEN
#define BLE_MESH_LUMINAIRE_IDENTIFICATION_STRING_LEN
#define BLE_MESH_OUTPUT_POWER_LIMITATION_LEN
#define BLE_MESH_THERMAL_DERATING_LEN
#define BLE_MESH_OUTPUT_CURRENT_PERCENT_LEN
#define BLE_MESH_UUID_AVERAGE_CURRENT_VAL
#define BLE_MESH_UUID_AVERAGE_VOLTAGE_VAL
#define BLE_MESH_UUID_BOOLEAN_VAL
#define BLE_MESH_UUID_CHROMATIC_DISTANCE_FROM_PLANCKIAN_VAL
#define BLE_MESH_UUID_CHROMATICITY_COORDINATE_VAL
#define BLE_MESH_UUID_CHROMATICITY_COORDINATES_VAL
#define BLE_MESH_UUID_CHROMATICITY_IN_CCT_AND_DUV_VALUES_VAL
#define BLE_MESH_UUID_CHROMATICITY_TOLERANCE_VAL
#define BLE_MESH_UUID_CIE_13_3_1995_COLOR_RENDERING_INDEX_VAL
#define BLE_MESH_UUID_COEFFICIENT_VAL
#define BLE_MESH_UUID_CORRELATED_COLOR_TEMPERATURE_VAL
#define BLE_MESH_UUID_COUNT_16_VAL
#define BLE_MESH_UUID_COUNT_24_VAL
#define BLE_MESH_UUID_COUNTRY_CODE_VAL
#define BLE_MESH_UUID_DATE_UTC_VAL
#define BLE_MESH_UUID_ELECTRIC_CURRENT_VAL
#define BLE_MESH_UUID_ELECTRIC_CURRENT_RANGE_VAL
#define BLE_MESH_UUID_ELECTRIC_CURRENT_SPECIFICATION_VAL
#define BLE_MESH_UUID_ELECTRIC_CURRENT_STATISTICS_VAL
#define BLE_MESH_UUID_ENERGY_VAL
#define BLE_MESH_UUID_ENERGY_IN_A_PERIOD_OF_DAY_VAL
#define BLE_MESH_UUID_EVENT_STATISTICS_VAL
#define BLE_MESH_UUID_FIXED_STRING_16_VAL
#define BLE_MESH_UUID_FIXED_STRING_24_VAL
#define BLE_MESH_UUID_FIXED_STRING_36_VAL
#define BLE_MESH_UUID_FIXED_STRING_8_VAL
#define BLE_MESH_UUID_GENERIC_LEVEL_VAL
#define BLE_MESH_UUID_GLOBAL_TRADE_ITEM_NUMBER_VAL
#define BLE_MESH_UUID_ILLUMINANCE_VAL
#define BLE_MESH_UUID_LUMINOUS_EFFICACY_VAL
#define BLE_MESH_UUID_LUMINOUS_ENERGY_VAL
#define BLE_MESH_UUID_LUMINOUS_EXPOSURE_VAL
#define BLE_MESH_UUID_LUMINOUS_FLUX_VAL
#define BLE_MESH_UUID_LUMINOUS_FLUX_RANGE_VAL
#define BLE_MESH_UUID_LUMINOUS_INTENSITY_VAL
#define BLE_MESH_UUID_MASS_FLOW_VAL
#define BLE_MESH_UUID_PERCEIVED_LIGHTNESS_VAL
#define BLE_MESH_UUID_PERCENTAGE_8_VAL
#define BLE_MESH_UUID_POWER_VAL
#define BLE_MESH_UUID_POWER_SPECIFICATION_VAL
#define BLE_MESH_UUID_RELATIVE_RUNTIME_IN_A_CURRENT_RANGE_VAL
#define BLE_MESH_UUID_RELATIVE_RUNTIME_IN_A_GENERIC_LEVEL_RANGE_VAL
#define BLE_MESH_UUID_RELATIVE_VALUE_IN_A_PERIOD_OF_DAY_VAL
#define BLE_MESH_UUID_RELATIVE_VALUE_IN_A_TEMPERATURE_RANGE_VAL
#define BLE_MESH_UUID_RELATIVE_VALUE_IN_A_VOLTAGE_RANGE_VAL
#define BLE_MESH_UUID_RELATIVE_VALUE_IN_AN_ILLUMINANCE_RANGE_VAL
#define BLE_MESH_UUID_TEMPERATURE_8_VAL
#define BLE_MESH_UUID_TEMPERATURE_8_IN_A_PERIOD_OF_DAY_VAL
#define BLE_MESH_UUID_TEMPERATURE_8_STATISTICS_VAL
#define BLE_MESH_UUID_TEMPERATURE_RANGE_VAL
#define BLE_MESH_UUID_TEMPERATURE_STATISTICS_VAL
#define BLE_MESH_UUID_TIME_DECIHOUR_8_VAL
#define BLE_MESH_UUID_TIME_EXPONENTIAL_8_VAL
#define BLE_MESH_UUID_TIME_HOUR_24_VAL
#define BLE_MESH_UUID_TIME_MILLISECOND_24_VAL
#define BLE_MESH_UUID_TIME_SECOND_16_VAL
#define BLE_MESH_UUID_TIME_SECOND_8_VAL
#define BLE_MESH_UUID_VOLTAGE_VAL
#define BLE_MESH_UUID_VOLTAGE_SPECIFICATION_VAL
#define BLE_MESH_UUID_VOLTAGE_STATISTICS_VAL
#define BLE_MESH_UUID_VOLUME_FLOW_VAL
bt_mesh_temperature_t
bt_mesh_gap_appearance_t
bt_mesh_electric_current_t
bt_mesh_time_exponential_8_t
bt_mesh_voltage_t
average_current
average_voltage
bt_mesh_boolean_t
bt_mesh_chromatic_distance_from_planckian_t
bt_mesh_chromaticity_coordinate_t
chromaticity_coordinates
bt_mesh_correlated_color_temperature_t
chromaticity_in_cct_and_duv_values
bt_mesh_chromaticity_tolerance_t
bt_mesh_cie_13_3_1995_color_rendering_index_t
bt_mesh_coefficient_t
bt_mesh_count_16_t
bt_mesh_count_24_t
bt_mesh_country_code_t
bt_mesh_date_utc_t
electric_current_range
electric_current_specification
electric_current_statistics
bt_mesh_energy_t
bt_mesh_time_decihour_8_t
energy_in_a_period_of_day
bt_mesh_time_second_16_t
event_statistics
bt_mesh_fixed_string_16_t
bt_mesh_fixed_string_24_t
bt_mesh_fixed_string_36_t
bt_mesh_fixed_string_8_t
bt_mesh_generic_level_t
bt_mesh_global_trade_item_number_t
bt_mesh_illuminance_t
bt_mesh_luminous_efficacy_t
bt_mesh_luminous_energy_t
bt_mesh_luminous_exposure_t
bt_mesh_luminous_flux_t
luminous_flux_range
bt_mesh_luminous_intensity_t
bt_mesh_mass_flow_t
mesh_provisioning_data_in
mesh_provisioning_data_out
mesh_proxy_data_in
mesh_proxy_data_out
bt_mesh_perceived_lightness_t
bt_mesh_percentage_8_t
bt_mesh_power_t
power_specification
relative_runtime_in_a_current_range
relative_runtime_in_a_generic_level_range
relative_value_in_a_period_of_day
relative_value_in_a_temperature_range
relative_value_in_a_voltage_range
relative_value_in_an_illuminance_range
bt_mesh_temperature_8_t
temperature_8_in_a_period_of_day
temperature_8_statistics
temperature_range
temperature_statistics
bt_mesh_time_hour_24_t
bt_mesh_time_millisecond_24_t
bt_mesh_time_second_8_t
voltage_specification
voltage_statistics
bt_mesh_volume_flow_t
bt_mesh_get_dev_prop_len(uint16_t);
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/bt/esp_ble_mesh/models/common/include/mesh/device_property.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2017-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #ifndef _DEVICE_PROPERTY_H_ #define _DEVICE_PROPERTY_H_ #include "mesh/types.h" #ifdef __cplusplus extern "C" { #endif /** * Details of BLE Mesh Device Properties. * Note: For the size of the corresponding characteristic, please refer to the GATT_Specification_Supplement_v2. * * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Property Name | ID | Characteristic | Size | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Average Ambient Temperature In A Period Of Day | 0x0001 | Temperature 8 In A Period Of Day | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Average Input Current | 0x0002 | Average Current | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Average Input Voltage | 0x0003 | Average Voltage | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Average Output Current | 0x0004 | Average Current | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Average Output Voltage | 0x0005 | Average Voltage | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Center Beam Intensity At Full Power | 0x0006 | Luminous Intensity | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Chromaticity Tolerance | 0x0007 | Chromaticity Tolerance | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Color Rendering Index R9 | 0x0008 | Cie 13.3-1995 Color Rendering Index | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Color Rendering Index Ra | 0x0009 | Cie 13.3-1995 Color Rendering Index | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Appearance | 0x000A | Gap.Appearance | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Country Of Origin | 0x000B | Country Code | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Date Of Manufacture | 0x000C | Date UTC | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Energy Use Since Turn On | 0x000D | Energy | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Firmware Revision | 0x000E | Fixed String 8 | 8 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Global Trade Item Number | 0x000F | Global Trade Item Number | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Hardware Revision | 0x0010 | Fixed String 16 | 16 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Manufacturer Name | 0x0011 | Fixed String 36 | 36 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Model Number | 0x0012 | Fixed String 24 | 24 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Operating Temperature Range Specification | 0x0013 | Temperature Range | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Operating Temperature Statistical Values | 0x0014 | Temperature Statistics | 9 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Over Temperature Event Statistics | 0x0015 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Power Range Specification | 0x0016 | Power Specification | 9 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Runtime Since Turn On | 0x0017 | Time Hour 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Runtime Warranty | 0x0018 | Time Hour 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Serial Number | 0x0019 | Fixed String 16 | 16 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Software Revision | 0x001A | Fixed String 8 | 8 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Device Under Temperature Event Statistics | 0x001B | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Indoor Ambient Temperature Statistical Values | 0x001C | Temperature 8 Statistics | 5 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Initial CIE 1931 Chromaticity Coordinates | 0x001D | Chromaticity Coordinates | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Initial Correlated Color Temperature | 0x001E | Correlated Color Temperature | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Initial Luminous Flux | 0x001F | Luminous Flux | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Initial Planckian Distance | 0x0020 | Chromatic Distance From Planckian | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Input Current Range Specification | 0x0021 | Electric Current Specification | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Input Current Statistics | 0x0022 | Electric Current Statistics | 9 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Input Over Current Event Statistics | 0x0023 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Input Over Ripple Voltage Event Statistics | 0x0024 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Input Over Voltage Event Statistics | 0x0025 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Input Under Current Event Statistics | 0x0026 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Input Under Voltage Event Statistics | 0x0027 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Input Voltage Range Specification | 0x0028 | Voltage Specification | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Input Voltage Ripple Specification | 0x0029 | Percentage 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Input Voltage Statistics | 0x002A | Voltage Statistics | 9 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Ambient LuxLevel On | 0x002B | Illuminance | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Ambient LuxLevel Prolong | 0x002C | Illuminance | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Ambient LuxLevel Standby | 0x002D | Illuminance | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Lightness On | 0x002E | Perceived Lightness | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Lightness Prolong | 0x002F | Perceived Lightness | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Lightness Standby | 0x0030 | Perceived Lightness | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Regulator Accuracy | 0x0031 | Percentage 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Regulator Kid | 0x0032 | Coefficient | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Regulator Kiu | 0x0033 | Coefficient | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Regulator Kpd | 0x0034 | Coefficient | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Regulator Kpu | 0x0035 | Coefficient | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Time Fade | 0x0036 | Time Millisecond 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Time Fade On | 0x0037 | Time Millisecond 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Time Fade Standby Auto | 0x0038 | Time Millisecond 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Time Fade Standby Manual | 0x0039 | Time Millisecond 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Time Occupancy Delay | 0x003A | Time Millisecond 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Time Prolong | 0x003B | Time Millisecond 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Control Time Run On | 0x003C | Time Millisecond 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Lumen Maintenance Factor | 0x003D | Percentage 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminous Efficacy | 0x003E | Luminous Efficacy | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminous Energy Since Turn On | 0x003F | Luminous Energy | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminous Exposure | 0x0040 | Luminous Exposure | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminous Flux Range | 0x0041 | Luminous Flux Range | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Motion Sensed | 0x0042 | Percentage 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Motion Threshold | 0x0043 | Percentage 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Open Circuit Event Statistics | 0x0044 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Outdoor Statistical Values | 0x0045 | Temperature 8 Statistics | 5 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Output Current Range | 0x0046 | Electric Current Range | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Output Current Statistics | 0x0047 | Electric Current Statistics | 9 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Output Ripple Voltage Specification | 0x0048 | Percentage 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Output Voltage Range | 0x0049 | Voltage Specification | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Output Voltage Statistics | 0x004A | Voltage Statistics | 9 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Over Output Ripple Voltage Event Statistics | 0x004B | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | People Count | 0x004C | Count 16 | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Presence Detected | 0x004D | Boolean | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Ambient Light Level | 0x004E | Illuminance | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Ambient Temperature | 0x004F | Temperature 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present CIE 1931 Chromaticity Coordinates | 0x0050 | Chromaticity Coordinates | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Correlated Color Temperature | 0x0051 | Correlated Color Temperature | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Device Input Power | 0x0052 | Power | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Device Operating Efficiency | 0x0053 | Percentage 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Device Operating Temperature | 0x0054 | Temperature | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Illuminance | 0x0055 | Illuminance | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Indoor Ambient Temperature | 0x0056 | Temperature 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Input Current | 0x0057 | Electric Current | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Input Ripple Voltage | 0x0058 | Percentage 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Input Voltage | 0x0059 | Voltage | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Luminous Flux | 0x005A | Luminous Flux | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Outdoor Ambient Temperature | 0x005B | Temperature 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Output Current | 0x005C | Electric Current | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Output Voltage | 0x005D | Voltage | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Planckian Distance | 0x005E | Chromatic Distance From Planckian | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Relative Output Ripple Voltage | 0x005F | Percentage 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Relative Device Energy Use In A Period Of Day | 0x0060 | Energy In A Period Of Day | 5 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Relative Device Runtime In A Generic Level Range | 0x0061 | Relative Runtime In A Generic Level Range | 5 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Relative Exposure Time In An Illuminance Range | 0x0062 | Relative Value In An Illuminance Range | 5 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Relative Runtime In A Correlated Color Temperature Range | 0x0063 | Luminous Energy | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Relative Runtime In A Device Operating Temperature Range | 0x0064 | Relative Value In A Temperature Range | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Relative Runtime In An Input Current Range | 0x0065 | Relative Runtime In A Current Range | 5 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Relative Runtime In An Input Voltage Range | 0x0066 | Relative Value In A Voltage Range | 5 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Short Circuit Event Statistics | 0x0067 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Time Since Motion Sensed | 0x0068 | Time Second 16 | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Time Since Presence Detected | 0x0069 | Time Second 16 | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Total Device Energy Use | 0x006A | Energy | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Total Device Off On Cycles | 0x006B | Count 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Total Device Power On Cycles | 0x006C | Count 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Total Device Power On Time | 0x006D | Time Hour 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Total Device Runtime | 0x006E | Time Hour 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Total Light Exposure Time | 0x006F | Time Hour 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Total Luminous Energy | 0x0070 | Luminous Energy | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Desired Ambient Temperature | 0x0071 | Temperature 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Precise Total Device Energy Use | 0x0072 | Energy32 | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Power Factor | 0x0073 | Cosine Of The Angle | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Sensor Gain | 0x0074 | Coefficient | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Precise Present Ambient Temperature | 0x0075 | Temperature | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Ambient Relative Humidity | 0x0076 | Humidity | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Ambient Carbon Dioxide Concentration | 0x0077 | CO2 Concentration | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Ambient Volatile Organic Compounds Concentration | 0x0078 | VOC Concentration | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Ambient Noise | 0x0079 | Noise | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Active Energy Loadside | 0x0080 | Energy32 | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Active Power Loadside | 0x0081 | Power | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Air Pressure | 0x0082 | Pressure | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Apparent Energy | 0x0083 | Apparent Energy32 | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Apparent Power | 0x0084 | Apparent Power | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Apparent Wind Direction | 0x0085 | Apparent Wind Direction | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Apparent Wind Speed | 0x0086 | Apparent Wind Speed | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Dew Point | 0x0087 | Dew Point | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | External Supply Voltage | 0x0088 | High Voltage | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | External Supply Voltage Frequency | 0x0089 | Voltage Frequency | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Gust Factor | 0x008A | Gust Factor | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Heat Index | 0x008B | Heat Index | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Distribution | 0x008C | Light Distribution | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source Current | 0x008D | Average Current | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source On Time Not Resettable | 0x008E | Time Second 32 | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source On Time Resettable | 0x008F | Time Second 32 | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source Open Circuit Statistics | 0x0090 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source Overall Failures Statistics | 0x0091 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source Short Circuit Statistics | 0x0092 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source Start Counter Resettable | 0x0093 | Count 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source Temperature | 0x0094 | High Temperature | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source Thermal Derating Statistics | 0x0095 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source Thermal Shutdown Statistics | 0x0096 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source Total Power On Cycles | 0x0097 | Count 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source Voltage | 0x0098 | Average Voltage | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminaire Color | 0x0099 | Fixed String 24 | 24 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminaire Identification Number | 0x009A | Fixed String 24 | 24 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminaire Manufacturer GTIN | 0x009B | Global Trade Item Number | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminaire Nominal Input Power | 0x009C | Power | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminaire Nominal Maximum AC Mains Voltage | 0x009D | Voltage | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminaire Nominal Minimum AC Mains Voltage | 0x009E | Voltage | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminaire Power At Minimum Dim Level | 0x009F | Power | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminaire Time Of Manufacture | 0x00A0 | Date UTC | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Magnetic Declination | 0x00A1 | Magnetic Declination | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Magnetic Flux Density - 2D | 0x00A2 | Magnetic Flux Density - 2D | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Magnetic Flux Density - 3D | 0x00A3 | Magnetic Flux Density - 3D | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Nominal Light Output | 0x00A4 | Light Output | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Overall Failure Condition | 0x00A5 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Pollen Concentration | 0x00A6 | Pollen Concentration | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Indoor Relative Humidity | 0x00A7 | Humidity | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Present Outdoor Relative Humidity | 0x00A8 | Humidity | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Pressure | 0x00A9 | Pressure | 4 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Rainfall | 0x00AA | Rainfall | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Rated Median Useful Life Of Luminaire | 0x00AB | Time Hour 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Rated Median Useful Light Source Starts | 0x00AC | Count 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Reference Temperature | 0x00AD | High Temperature | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Total Device Starts | 0x00AE | Count 24 | 3 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | True Wind Direction | 0x00AF | True Wind Direction | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | True Wind Speed | 0x00B0 | True Wind Speed | 2 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | UV Index | 0x00B1 | UV Index | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Wind Chill | 0x00B2 | Wind Chill | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Light Source Type | 0x00B3 | Light Source Type | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Luminaire Identification String | 0x00B4 | Fixed String 64 | 64 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Output Power Limitation | 0x00B5 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Thermal Derating | 0x00B6 | Event Statistics | 6 | * |----------------------------------------------------------|--------|-------------------------------------------|------| * | Output Current Percent | 0x00B7 | Percentage 8 | 1 | * |----------------------------------------------------------|--------|-------------------------------------------|------| *//* ... */ /** * @brief BLE Mesh Device Property IDs *//* ... */ #define BLE_MESH_INVALID_DEVICE_PROPERTY_ID 0x0000 #define BLE_MESH_AVERAGE_AMBIENT_TEMPERATURE_IN_A_PERIOD_OF_DAY 0x0001 #define BLE_MESH_AVERAGE_INPUT_CURRENT 0x0002 #define BLE_MESH_AVERAGE_INPUT_VOLTAGE 0x0003 #define BLE_MESH_AVERAGE_OUTPUT_CURRENT 0x0004 #define BLE_MESH_AVERAGE_OUTPUT_VOLTAGE 0x0005 #define BLE_MESH_CENTER_BEAM_INTENSITY_AT_FULL_POWER 0x0006 #define BLE_MESH_CHROMATICITY_TOLERANCE 0x0007 #define BLE_MESH_COLOR_RENDERING_INDEX_R9 0x0008 #define BLE_MESH_COLOR_RENDERING_INDEX_RA 0x0009 #define BLE_MESH_DEVICE_APPEARANCE 0x000A #define BLE_MESH_DEVICE_COUNTRY_OF_ORIGIN 0x000B #define BLE_MESH_DEVICE_DATE_OF_MANUFACTURE 0x000C #define BLE_MESH_DEVICE_ENERGY_USE_SINCE_TURN_ON 0x000D #define BLE_MESH_DEVICE_FIRMWARE_REVISION 0x000E #define BLE_MESH_DEVICE_GLOBAL_TRADE_ITEM_NUMBER 0x000F #define BLE_MESH_DEVICE_HARDWARE_REVISION 0x0010 #define BLE_MESH_DEVICE_MANUFACTURER_NAME 0x0011 #define BLE_MESH_DEVICE_MODEL_NUMBER 0x0012 #define BLE_MESH_DEVICE_OPERATING_TEMPERATURE_RANGE_SPECIFICATION 0x0013 #define BLE_MESH_DEVICE_OPERATING_TEMPERATURE_STATISTICAL_VALUES 0x0014 #define BLE_MESH_DEVICE_OVER_TEMPERATURE_EVENT_STATISTICS 0x0015 #define BLE_MESH_DEVICE_POWER_RANGE_SPECIFICATION 0x0016 #define BLE_MESH_DEVICE_RUNTIME_SINCE_TURN_ON 0x0017 #define BLE_MESH_DEVICE_RUNTIME_WARRANTY 0x0018 #define BLE_MESH_DEVICE_SERIAL_NUMBER 0x0019 #define BLE_MESH_DEVICE_SOFTWARE_REVISION 0x001A #define BLE_MESH_DEVICE_UNDER_TEMPERATURE_EVENT_STATISTICS 0x001B #define BLE_MESH_INDOOR_AMBIENT_TEMPERATURE_STATISTICAL_VALUES 0x001C #define BLE_MESH_INITIAL_CIE_1931_CHROMATICITY_COORDINATES 0x001D #define BLE_MESH_INITIAL_CORRELATED_COLOR_TEMPERATURE 0x001E #define BLE_MESH_INITIAL_LUMINOUS_FLUX 0x001F #define BLE_MESH_INITIAL_PLANCKIAN_DISTANCE 0x0020 #define BLE_MESH_INPUT_CURRENT_RANGE_SPECIFICATION 0x0021 #define BLE_MESH_INPUT_CURRENT_STATISTICS 0x0022 #define BLE_MESH_INPUT_OVER_CURRENT_EVENT_STATISTICS 0x0023 #define BLE_MESH_INPUT_OVER_RIPPLE_VOLTAGE_EVENT_STATISTICS 0x0024 #define BLE_MESH_INPUT_OVER_VOLTAGE_EVENT_STATISTICS 0x0025 #define BLE_MESH_INPUT_UNDER_CURRENT_EVENT_STATISTICS 0x0026 #define BLE_MESH_INPUT_UNDER_VOLTAGE_EVENT_STATISTICS 0x0027 #define BLE_MESH_INPUT_VOLTAGE_RANGE_SPECIFICATION 0x0028 #define BLE_MESH_INPUT_VOLTAGE_RIPPLE_SPECIFICATION 0x0029 #define BLE_MESH_INPUT_VOLTAGE_STATISTICS 0x002A #define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_ON 0x002B #define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_PROLONG 0x002C #define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_STANDBY 0x002D #define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_ON 0x002E #define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_PROLONG 0x002F #define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_STANDBY 0x0030 #define BLE_MESH_LIGHT_CONTROL_REGULATOR_ACCURACY 0x0031 #define BLE_MESH_LIGHT_CONTROL_REGULATOR_KID 0x0032 #define BLE_MESH_LIGHT_CONTROL_REGULATOR_KIU 0x0033 #define BLE_MESH_LIGHT_CONTROL_REGULATOR_KPD 0x0034 #define BLE_MESH_LIGHT_CONTROL_REGULATOR_KPU 0x0035 #define BLE_MESH_LIGHT_CONTROL_TIME_FADE 0x0036 #define BLE_MESH_LIGHT_CONTROL_TIME_FADE_ON 0x0037 #define BLE_MESH_LIGHT_CONTROL_TIME_FADE_STANDBY_AUTO 0x0038 #define BLE_MESH_LIGHT_CONTROL_TIME_FADE_STANDBY_MANUAL 0x0039 #define BLE_MESH_LIGHT_CONTROL_TIME_OCCUPANCY_DELAY 0x003A #define BLE_MESH_LIGHT_CONTROL_TIME_PROLONG 0x003B #define BLE_MESH_LIGHT_CONTROL_TIME_RUN_ON 0x003C #define BLE_MESH_LUMEN_MAINTENANCE_FACTOR 0x003D #define BLE_MESH_LUMINOUS_EFFICACY 0x003E #define BLE_MESH_LUMINOUS_ENERGY_SINCE_TURN_ON 0x003F #define BLE_MESH_LUMINOUS_EXPOSURE 0x0040 #define BLE_MESH_LUMINOUS_FLUX_RANGE 0x0041 #define BLE_MESH_MOTION_SENSED 0x0042 #define BLE_MESH_MOTION_THRESHOLD 0x0043 #define BLE_MESH_OPEN_CIRCUIT_EVENT_STATISTICS 0x0044 #define BLE_MESH_OUTDOOR_STATISTICAL_VALUES 0x0045 #define BLE_MESH_OUTPUT_CURRENT_RANGE 0x0046 #define BLE_MESH_OUTPUT_CURRENT_STATISTICS 0x0047 #define BLE_MESH_OUTPUT_RIPPLE_VOLTAGE_SPECIFICATION 0x0048 #define BLE_MESH_OUTPUT_VOLTAGE_RANGE 0x0049 #define BLE_MESH_OUTPUT_VOLTAGE_STATISTICS 0x004A #define BLE_MESH_OVER_OUTPUT_RIPPLE_VOLTAGE_EVENT_STATISTICS 0x004B #define BLE_MESH_PEOPLE_COUNT 0x004C #define BLE_MESH_PRESENCE_DETECTED 0x004D #define BLE_MESH_PRESENT_AMBIENT_LIGHT_LEVEL 0x004E #define BLE_MESH_PRESENT_AMBIENT_TEMPERATURE 0x004F #define BLE_MESH_PRESENT_CIE_1931_CHROMATICITY 0x0050 #define BLE_MESH_PRESENT_CORRELATED_COLOR_TEMPERATURE 0x0051 #define BLE_MESH_PRESENT_DEVICE_INPUT_POWER 0x0052 #define BLE_MESH_PRESENT_DEVICE_OPERATING_EFFICIENCY 0x0053 #define BLE_MESH_PRESENT_DEVICE_OPERATING_TEMPERATURE 0x0054 #define BLE_MESH_PRESENT_ILLUMINANCE 0x0055 #define BLE_MESH_PRESENT_INDOOR_AMBIENT_TEMPERATURE 0x0056 #define BLE_MESH_PRESENT_INPUT_CURRENT 0x0057 #define BLE_MESH_PRESENT_INPUT_RIPPLE_VOLTAGE 0x0058 #define BLE_MESH_PRESENT_INPUT_VOLTAGE 0x0059 #define BLE_MESH_PRESENT_LUMINOUS_FLUX 0x005A #define BLE_MESH_PRESENT_OUTDOOR_AMBIENT_TEMPERATURE 0x005B #define BLE_MESH_PRESENT_OUTPUT_CURRENT 0x005C #define BLE_MESH_PRESENT_OUTPUT_VOLTAGE 0x005D #define BLE_MESH_PRESENT_PLANCKIAN_DISTANCE 0x005E #define BLE_MESH_PRESENT_RELATIVE_OUTPUT_RIPPLE_VOLTAGE 0x005F #define BLE_MESH_RELATIVE_DEVICE_ENERGY_USE_IN_A_PERIOD_OF_DAY 0x0060 #define BLE_MESH_RELATIVE_DEVICE_RUNTIME_IN_A_GENERIC_LEVEL_RANGE 0x0061 #define BLE_MESH_RELATIVE_EXPOSURE_TIME_IN_AN_ILLUMINANCE_RANGE 0x0062 #define BLE_MESH_RELATIVE_RUNTIME_IN_A_CORRELATED_COLOR_TEMPERATURE_RANGE 0x0063 #define BLE_MESH_RELATIVE_RUNTIME_IN_A_DEVICE_OPERATING_TEMPERATURE_RANGE 0x0064 #define BLE_MESH_RELATIVE_RUNTIME_IN_AN_INPUT_CURRENT_RANGE 0x0065 #define BLE_MESH_RELATIVE_RUNTIME_IN_AN_INPUT_VOLTAGE_RANGE 0x0066 #define BLE_MESH_SHORT_CIRCUIT_EVENT_STATISTICS 0x0067 #define BLE_MESH_TIME_SINCE_MOTION_SENSED 0x0068 #define BLE_MESH_TIME_SINCE_PRESENCE_DETECTED 0x0069 #define BLE_MESH_TOTAL_DEVICE_ENERGY_USE 0x006A #define BLE_MESH_TOTAL_DEVICE_OFF_ON_CYCLES 0x006B #define BLE_MESH_TOTAL_DEVICE_POWER_ON_CYCLES 0x006C #define BLE_MESH_TOTAL_DEVICE_POWER_ON_TIME 0x006D #define BLE_MESH_TOTAL_DEVICE_RUNTIME 0x006E #define BLE_MESH_TOTAL_LIGHT_EXPOSURE_TIME 0x006F #define BLE_MESH_TOTAL_LUMINOUS_ENERGY 0x0070 #define BLE_MESH_DESIRED_AMBIENT_TEMPERATURE 0x0071 #define BLE_MESH_PRECISE_TOTAL_DEVICE_ENERGY_USE 0x0072 #define BLE_MESH_POWER_FACTOR 0x0073 #define BLE_MESH_SENSOR_GAIN 0x0074 #define BLE_MESH_PRECISE_PRESENT_AMBIENT_TEMPERATURE 0x0075 #define BLE_MESH_PRESENT_AMBIENT_RELATIVE_HUMIDITY 0x0076 #define BLE_MESH_PRESENT_AMBIENT_CARBON_DIOXIDE_CONCENTRATION 0x0077 #define BLE_MESH_PRESENT_AMBIENT_VOLATILE_ORGANIC_COMPOUNDS_CONCENTRATION 0x0078 #define BLE_MESH_PRESENT_AMBIENT_NOISE 0x0079 #define BLE_MESH_ACTIVE_ENERGY_LOADSIDE 0x0080 #define BLE_MESH_ACTIVE_POWER_LOADSIDE 0x0081 #define BLE_MESH_AIR_PRESSURE 0x0082 #define BLE_MESH_APPARENT_ENERGY 0x0083 #define BLE_MESH_APPARENT_POWER 0x0084 #define BLE_MESH_APPARENT_WIND_DIRECTION 0x0085 #define BLE_MESH_APPARENT_WIND_SPEED 0x0086 #define BLE_MESH_DEW_POINT 0x0087 #define BLE_MESH_EXTERNAL_SUPPLY_VOLTAGE 0x0088 #define BLE_MESH_EXTERNAL_SUPPLY_VOLTAGE_FREQUENCY 0x0089 #define BLE_MESH_GUST_FACTOR 0x008A #define BLE_MESH_HEAT_INDEX 0x008B #define BLE_MESH_LIGHT_DISTRIBUTION 0x008C #define BLE_MESH_LIGHT_SOURCE_CURRENT 0x008D #define BLE_MESH_LIGHT_SOURCE_ON_TIME_NOT_RESETTABLE 0x008E #define BLE_MESH_LIGHT_SOURCE_ON_TIME_RESETTABLE 0x008F #define BLE_MESH_LIGHT_SOURCE_OPEN_CIRCUIT_STATISTICS 0x0090 #define BLE_MESH_LIGHT_SOURCE_OVERALL_FAILURES_STATISTICS 0x0091 #define BLE_MESH_LIGHT_SOURCE_SHORT_CIRCUIT_STATISTICS 0x0092 #define BLE_MESH_LIGHT_SOURCE_START_COUNTER_RESETTABLE 0x0093 #define BLE_MESH_LIGHT_SOURCE_TEMPERATURE 0x0094 #define BLE_MESH_LIGHT_SOURCE_THERMAL_DERATING_STATISTICS 0x0095 #define BLE_MESH_LIGHT_SOURCE_THERMAL_SHUTDOWN_STATISTICS 0x0096 #define BLE_MESH_LIGHT_SOURCE_TOTAL_POWER_ON_CYCLES 0x0097 #define BLE_MESH_LIGHT_SOURCE_VOLTAGE 0x0098 #define BLE_MESH_LUMINAIRE_COLOR 0x0099 #define BLE_MESH_LUMINAIRE_IDENTIFICATION_NUMBER 0x009A #define BLE_MESH_LUMINAIRE_MANUFACTURER_GTIN 0x009B #define BLE_MESH_LUMINAIRE_NOMINAL_INPUT_POWER 0x009C #define BLE_MESH_LUMINAIRE_NOMINAL_MAXIMUM_AC_MAINS_VOLTAGE 0x009D #define BLE_MESH_LUMINAIRE_NOMINAL_MINIMUM_AC_MAINS_VOLTAGE 0x009E #define BLE_MESH_LUMINAIRE_POWER_AT_MINIMUM_DIM_LEVEL 0x009F #define BLE_MESH_LUMINAIRE_TIME_OF_MANUFACTURE 0x00A0 #define BLE_MESH_MAGNETIC_DECLINATION 0x00A1 #define BLE_MESH_MAGNETIC_FLUX_DENSITY_2D 0x00A2 #define BLE_MESH_MAGNETIC_FLUX_DENSITY_3D 0x00A3 #define BLE_MESH_NOMINAL_LIGHT_OUTPUT 0x00A4 #define BLE_MESH_OVERALL_FAILURE_CONDITION 0x00A5 #define BLE_MESH_POLLEN_CONCENTRATION 0x00A6 #define BLE_MESH_PRESENT_INDOOR_RELATIVE_HUMIDITY 0x00A7 #define BLE_MESH_PRESENT_OUTDOOR_RELATIVE_HUMIDITY 0x00A8 #define BLE_MESH_PRESSURE 0x00A9 #define BLE_MESH_RAINFALL 0x00AA #define BLE_MESH_RATED_MEDIAN_USEFUL_LIFE_OF_LUMINAIRE 0x00AB #define BLE_MESH_RATED_MEDIAN_USEFUL_LIGHT_SOURCE_STARTS 0x00AC #define BLE_MESH_REFERENCE_TEMPERATURE 0x00AD #define BLE_MESH_TOTAL_DEVICE_STARTS 0x00AE #define BLE_MESH_TRUE_WIND_DIRECTION 0x00AF #define BLE_MESH_TRUE_WIND_SPEED 0x00B0 #define BLE_MESH_UV_INDEX 0x00B1 #define BLE_MESH_WIND_CHILL 0x00B2 #define BLE_MESH_LIGHT_SOURCE_TYPE 0x00B3 #define BLE_MESH_LUMINAIRE_IDENTIFICATION_STRING 0x00B4 #define BLE_MESH_OUTPUT_POWER_LIMITATION 0x00B5 #define BLE_MESH_THERMAL_DERATING 0x00B6 #define BLE_MESH_OUTPUT_CURRENT_PERCENT 0x00B7 /** * @brief BLE Mesh Device Property value length *//* ... */ #define BLE_MESH_AVERAGE_AMBIENT_TEMPERATURE_IN_A_PERIOD_OF_DAY_LEN 3 #define BLE_MESH_AVERAGE_INPUT_CURRENT_LEN 3 #define BLE_MESH_AVERAGE_INPUT_VOLTAGE_LEN 3 #define BLE_MESH_AVERAGE_OUTPUT_CURRENT_LEN 3 #define BLE_MESH_AVERAGE_OUTPUT_VOLTAGE_LEN 3 #define BLE_MESH_CENTER_BEAM_INTENSITY_AT_FULL_POWER_LEN 2 #define BLE_MESH_CHROMATICITY_TOLERANCE_LEN 1 #define BLE_MESH_COLOR_RENDERING_INDEX_R9_LEN 1 #define BLE_MESH_COLOR_RENDERING_INDEX_RA_LEN 1 #define BLE_MESH_DEVICE_APPEARANCE_LEN 2 #define BLE_MESH_DEVICE_COUNTRY_OF_ORIGIN_LEN 2 #define BLE_MESH_DEVICE_DATE_OF_MANUFACTURE_LEN 3 #define BLE_MESH_DEVICE_ENERGY_USE_SINCE_TURN_ON_LEN 3 #define BLE_MESH_DEVICE_FIRMWARE_REVISION_LEN 8 #define BLE_MESH_DEVICE_GLOBAL_TRADE_ITEM_NUMBER_LEN 6 #define BLE_MESH_DEVICE_HARDWARE_REVISION_LEN 16 #define BLE_MESH_DEVICE_MANUFACTURER_NAME_LEN 36 #define BLE_MESH_DEVICE_MODEL_NUMBER_LEN 24 #define BLE_MESH_DEVICE_OPERATING_TEMPERATURE_RANGE_SPECIFICATION_LEN 4 #define BLE_MESH_DEVICE_OPERATING_TEMPERATURE_STATISTICAL_VALUES_LEN 9 #define BLE_MESH_DEVICE_OVER_TEMPERATURE_EVENT_STATISTICS_LEN 6 #define BLE_MESH_DEVICE_POWER_RANGE_SPECIFICATION_LEN 9 #define BLE_MESH_DEVICE_RUNTIME_SINCE_TURN_ON_LEN 3 #define BLE_MESH_DEVICE_RUNTIME_WARRANTY_LEN 3 #define BLE_MESH_DEVICE_SERIAL_NUMBER_LEN 16 #define BLE_MESH_DEVICE_SOFTWARE_REVISION_LEN 8 #define BLE_MESH_DEVICE_UNDER_TEMPERATURE_EVENT_STATISTICS_LEN 6 #define BLE_MESH_INDOOR_AMBIENT_TEMPERATURE_STATISTICAL_VALUES_LEN 5 #define BLE_MESH_INITIAL_CIE_1931_CHROMATICITY_COORDINATES_LEN 4 #define BLE_MESH_INITIAL_CORRELATED_COLOR_TEMPERATURE_LEN 2 #define BLE_MESH_INITIAL_LUMINOUS_FLUX_LEN 2 #define BLE_MESH_INITIAL_PLANCKIAN_DISTANCE_LEN 2 #define BLE_MESH_INPUT_CURRENT_RANGE_SPECIFICATION_LEN 6 #define BLE_MESH_INPUT_CURRENT_STATISTICS_LEN 9 #define BLE_MESH_INPUT_OVER_CURRENT_EVENT_STATISTICS_LEN 6 #define BLE_MESH_INPUT_OVER_RIPPLE_VOLTAGE_EVENT_STATISTICS_LEN 6 #define BLE_MESH_INPUT_OVER_VOLTAGE_EVENT_STATISTICS_LEN 6 #define BLE_MESH_INPUT_UNDER_CURRENT_EVENT_STATISTICS_LEN 6 #define BLE_MESH_INPUT_UNDER_VOLTAGE_EVENT_STATISTICS_LEN 6 #define BLE_MESH_INPUT_VOLTAGE_RANGE_SPECIFICATION_LEN 6 #define BLE_MESH_INPUT_VOLTAGE_RIPPLE_SPECIFICATION_LEN 1 #define BLE_MESH_INPUT_VOLTAGE_STATISTICS_LEN 9 #define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_ON_LEN 3 #define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_PROLONG_LEN 3 #define BLE_MESH_LIGHT_CONTROL_AMBIENT_LUXLEVEL_STANDBY_LEN 3 #define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_ON_LEN 2 #define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_PROLONG_LEN 2 #define BLE_MESH_LIGHT_CONTROL_LIGHTNESS_STANDBY_LEN 2 #define BLE_MESH_LIGHT_CONTROL_REGULATOR_ACCURACY_LEN 1 #define BLE_MESH_LIGHT_CONTROL_REGULATOR_KID_LEN 4 #define BLE_MESH_LIGHT_CONTROL_REGULATOR_KIU_LEN 4 #define BLE_MESH_LIGHT_CONTROL_REGULATOR_KPD_LEN 4 #define BLE_MESH_LIGHT_CONTROL_REGULATOR_KPU_LEN 4 #define BLE_MESH_LIGHT_CONTROL_TIME_FADE_LEN 3 #define BLE_MESH_LIGHT_CONTROL_TIME_FADE_ON_LEN 3 #define BLE_MESH_LIGHT_CONTROL_TIME_FADE_STANDBY_AUTO_LEN 3 #define BLE_MESH_LIGHT_CONTROL_TIME_FADE_STANDBY_MANUAL_LEN 3 #define BLE_MESH_LIGHT_CONTROL_TIME_OCCUPANCY_DELAY_LEN 3 #define BLE_MESH_LIGHT_CONTROL_TIME_PROLONG_LEN 3 #define BLE_MESH_LIGHT_CONTROL_TIME_RUN_ON_LEN 3 #define BLE_MESH_LUMEN_MAINTENANCE_FACTOR_LEN 1 #define BLE_MESH_LUMINOUS_EFFICACY_LEN 2 #define BLE_MESH_LUMINOUS_ENERGY_SINCE_TURN_ON_LEN 3 #define BLE_MESH_LUMINOUS_EXPOSURE_LEN 3 #define BLE_MESH_LUMINOUS_FLUX_RANGE_LEN 4 #define BLE_MESH_MOTION_SENSED_LEN 1 #define BLE_MESH_MOTION_THRESHOLD_LEN 1 #define BLE_MESH_OPEN_CIRCUIT_EVENT_STATISTICS_LEN 6 #define BLE_MESH_OUTDOOR_STATISTICAL_VALUES_LEN 5 #define BLE_MESH_OUTPUT_CURRENT_RANGE_LEN 4 #define BLE_MESH_OUTPUT_CURRENT_STATISTICS_LEN 9 #define BLE_MESH_OUTPUT_RIPPLE_VOLTAGE_SPECIFICATION_LEN 1 #define BLE_MESH_OUTPUT_VOLTAGE_RANGE_LEN 6 #define BLE_MESH_OUTPUT_VOLTAGE_STATISTICS_LEN 9 #define BLE_MESH_OVER_OUTPUT_RIPPLE_VOLTAGE_EVENT_STATISTICS_LEN 6 #define BLE_MESH_PEOPLE_COUNT_LEN 2 #define BLE_MESH_PRESENCE_DETECTED_LEN 1 #define BLE_MESH_PRESENT_AMBIENT_LIGHT_LEVEL_LEN 3 #define BLE_MESH_PRESENT_AMBIENT_TEMPERATURE_LEN 1 #define BLE_MESH_PRESENT_CIE_1931_CHROMATICITY_LEN 4 #define BLE_MESH_PRESENT_CORRELATED_COLOR_TEMPERATURE_LEN 2 #define BLE_MESH_PRESENT_DEVICE_INPUT_POWER_LEN 3 #define BLE_MESH_PRESENT_DEVICE_OPERATING_EFFICIENCY_LEN 1 #define BLE_MESH_PRESENT_DEVICE_OPERATING_TEMPERATURE_LEN 2 #define BLE_MESH_PRESENT_ILLUMINANCE_LEN 3 #define BLE_MESH_PRESENT_INDOOR_AMBIENT_TEMPERATURE_LEN 1 #define BLE_MESH_PRESENT_INPUT_CURRENT_LEN 2 #define BLE_MESH_PRESENT_INPUT_RIPPLE_VOLTAGE_LEN 1 #define BLE_MESH_PRESENT_INPUT_VOLTAGE_LEN 2 #define BLE_MESH_PRESENT_LUMINOUS_FLUX_LEN 2 #define BLE_MESH_PRESENT_OUTDOOR_AMBIENT_TEMPERATURE_LEN 1 #define BLE_MESH_PRESENT_OUTPUT_CURRENT_LEN 2 #define BLE_MESH_PRESENT_OUTPUT_VOLTAGE_LEN 2 #define BLE_MESH_PRESENT_PLANCKIAN_DISTANCE_LEN 2 #define BLE_MESH_PRESENT_RELATIVE_OUTPUT_RIPPLE_VOLTAGE_LEN 1 #define BLE_MESH_RELATIVE_DEVICE_ENERGY_USE_IN_A_PERIOD_OF_DAY_LEN 5 #define BLE_MESH_RELATIVE_DEVICE_RUNTIME_IN_A_GENERIC_LEVEL_RANGE_LEN 5 #define BLE_MESH_RELATIVE_EXPOSURE_TIME_IN_AN_ILLUMINANCE_RANGE_LEN 5 #define BLE_MESH_RELATIVE_RUNTIME_IN_A_CORRELATED_COLOR_TEMPERATURE_RANGE_LEN 3 #define BLE_MESH_RELATIVE_RUNTIME_IN_A_DEVICE_OPERATING_TEMPERATURE_RANGE_LEN 3 #define BLE_MESH_RELATIVE_RUNTIME_IN_AN_INPUT_CURRENT_RANGE_LEN 5 #define BLE_MESH_RELATIVE_RUNTIME_IN_AN_INPUT_VOLTAGE_RANGE_LEN 5 #define BLE_MESH_SHORT_CIRCUIT_EVENT_STATISTICS_LEN 6 #define BLE_MESH_TIME_SINCE_MOTION_SENSED_LEN 2 #define BLE_MESH_TIME_SINCE_PRESENCE_DETECTED_LEN 2 #define BLE_MESH_TOTAL_DEVICE_ENERGY_USE_LEN 3 #define BLE_MESH_TOTAL_DEVICE_OFF_ON_CYCLES_LEN 3 #define BLE_MESH_TOTAL_DEVICE_POWER_ON_CYCLES_LEN 3 #define BLE_MESH_TOTAL_DEVICE_POWER_ON_TIME_LEN 3 #define BLE_MESH_TOTAL_DEVICE_RUNTIME_LEN 3 #define BLE_MESH_TOTAL_LIGHT_EXPOSURE_TIME_LEN 3 #define BLE_MESH_TOTAL_LUMINOUS_ENERGY_LEN 3 #define BLE_MESH_DESIRED_AMBIENT_TEMPERATURE_LEN 1 #define BLE_MESH_PRECISE_TOTAL_DEVICE_ENERGY_USE_LEN 4 #define BLE_MESH_POWER_FACTOR_LEN 1 #define BLE_MESH_SENSOR_GAIN_LEN 4 #define BLE_MESH_PRECISE_PRESENT_AMBIENT_TEMPERATURE_LEN 2 #define BLE_MESH_PRESENT_AMBIENT_RELATIVE_HUMIDITY_LEN 2 #define BLE_MESH_PRESENT_AMBIENT_CARBON_DIOXIDE_CONCENTRATION_LEN 2 #define BLE_MESH_PRESENT_AMBIENT_VOLATILE_ORGANIC_COMPOUNDS_CONCENTRATION_LEN 2 #define BLE_MESH_PRESENT_AMBIENT_NOISE_LEN 1 #define BLE_MESH_ACTIVE_ENERGY_LOADSIDE_LEN 4 #define BLE_MESH_ACTIVE_POWER_LOADSIDE_LEN 3 #define BLE_MESH_AIR_PRESSURE_LEN 4 #define BLE_MESH_APPARENT_ENERGY_LEN 4 #define BLE_MESH_APPARENT_POWER_LEN 3 #define BLE_MESH_APPARENT_WIND_DIRECTION_LEN 2 #define BLE_MESH_APPARENT_WIND_SPEED_LEN 2 #define BLE_MESH_DEW_POINT_LEN 1 #define BLE_MESH_EXTERNAL_SUPPLY_VOLTAGE_LEN 3 #define BLE_MESH_EXTERNAL_SUPPLY_VOLTAGE_FREQUENCY_LEN 2 #define BLE_MESH_GUST_FACTOR_LEN 1 #define BLE_MESH_HEAT_INDEX_LEN 1 #define BLE_MESH_LIGHT_DISTRIBUTION_LEN 1 #define BLE_MESH_LIGHT_SOURCE_CURRENT_LEN 3 #define BLE_MESH_LIGHT_SOURCE_ON_TIME_NOT_RESETTABLE_LEN 4 #define BLE_MESH_LIGHT_SOURCE_ON_TIME_RESETTABLE_LEN 4 #define BLE_MESH_LIGHT_SOURCE_OPEN_CIRCUIT_STATISTICS_LEN 6 #define BLE_MESH_LIGHT_SOURCE_OVERALL_FAILURES_STATISTICS_LEN 6 #define BLE_MESH_LIGHT_SOURCE_SHORT_CIRCUIT_STATISTICS_LEN 6 #define BLE_MESH_LIGHT_SOURCE_START_COUNTER_RESETTABLE_LEN 3 #define BLE_MESH_LIGHT_SOURCE_TEMPERATURE_LEN 2 #define BLE_MESH_LIGHT_SOURCE_THERMAL_DERATING_STATISTICS_LEN 6 #define BLE_MESH_LIGHT_SOURCE_THERMAL_SHUTDOWN_STATISTICS_LEN 6 #define BLE_MESH_LIGHT_SOURCE_TOTAL_POWER_ON_CYCLES_LEN 3 #define BLE_MESH_LIGHT_SOURCE_VOLTAGE_LEN 3 #define BLE_MESH_LUMINAIRE_COLOR_LEN 24 #define BLE_MESH_LUMINAIRE_IDENTIFICATION_NUMBER_LEN 24 #define BLE_MESH_LUMINAIRE_MANUFACTURER_GTIN_LEN 6 #define BLE_MESH_LUMINAIRE_NOMINAL_INPUT_POWER_LEN 3 #define BLE_MESH_LUMINAIRE_NOMINAL_MAXIMUM_AC_MAINS_VOLTAGE_LEN 2 #define BLE_MESH_LUMINAIRE_NOMINAL_MINIMUM_AC_MAINS_VOLTAGE_LEN 2 #define BLE_MESH_LUMINAIRE_POWER_AT_MINIMUM_DIM_LEVEL_LEN 3 #define BLE_MESH_LUMINAIRE_TIME_OF_MANUFACTURE_LEN 3 #define BLE_MESH_MAGNETIC_DECLINATION_LEN 2 #define BLE_MESH_MAGNETIC_FLUX_DENSITY_2D_LEN 4 #define BLE_MESH_MAGNETIC_FLUX_DENSITY_3D_LEN 6 #define BLE_MESH_NOMINAL_LIGHT_OUTPUT_LEN 3 #define BLE_MESH_OVERALL_FAILURE_CONDITION_LEN 6 #define BLE_MESH_POLLEN_CONCENTRATION_LEN 3 #define BLE_MESH_PRESENT_INDOOR_RELATIVE_HUMIDITY_LEN 2 #define BLE_MESH_PRESENT_OUTDOOR_RELATIVE_HUMIDITY_LEN 2 #define BLE_MESH_PRESSURE_LEN 4 #define BLE_MESH_RAINFALL_LEN 2 #define BLE_MESH_RATED_MEDIAN_USEFUL_LIFE_OF_LUMINAIRE_LEN 3 #define BLE_MESH_RATED_MEDIAN_USEFUL_LIGHT_SOURCE_STARTS_LEN 3 #define BLE_MESH_REFERENCE_TEMPERATURE_LEN 2 #define BLE_MESH_TOTAL_DEVICE_STARTS_LEN 3 #define BLE_MESH_TRUE_WIND_DIRECTION_LEN 2 #define BLE_MESH_TRUE_WIND_SPEED_LEN 2 #define BLE_MESH_UV_INDEX_LEN 1 #define BLE_MESH_WIND_CHILL_LEN 1 #define BLE_MESH_LIGHT_SOURCE_TYPE_LEN 1 #define BLE_MESH_LUMINAIRE_IDENTIFICATION_STRING_LEN 64 #define BLE_MESH_OUTPUT_POWER_LIMITATION_LEN 6 #define BLE_MESH_THERMAL_DERATING_LEN 6 #define BLE_MESH_OUTPUT_CURRENT_PERCENT_LEN 1 /** * @brief BLE Mesh Device Property referenced Characteristic UUIDs *//* ... */ #define BLE_MESH_UUID_AVERAGE_CURRENT_VAL 0x2AE0 #define BLE_MESH_UUID_AVERAGE_VOLTAGE_VAL 0x2AE1 #define BLE_MESH_UUID_BOOLEAN_VAL 0x2AE2 #define BLE_MESH_UUID_CHROMATIC_DISTANCE_FROM_PLANCKIAN_VAL 0x2AE3 #define BLE_MESH_UUID_CHROMATICITY_COORDINATE_VAL 0x2B1C #define BLE_MESH_UUID_CHROMATICITY_COORDINATES_VAL 0x2AE4 #define BLE_MESH_UUID_CHROMATICITY_IN_CCT_AND_DUV_VALUES_VAL 0x2AE5 #define BLE_MESH_UUID_CHROMATICITY_TOLERANCE_VAL 0x2AE6 #define BLE_MESH_UUID_CIE_13_3_1995_COLOR_RENDERING_INDEX_VAL 0x2AE7 #define BLE_MESH_UUID_COEFFICIENT_VAL 0x2AE8 #define BLE_MESH_UUID_CORRELATED_COLOR_TEMPERATURE_VAL 0x2AE9 #define BLE_MESH_UUID_COUNT_16_VAL 0x2AEA #define BLE_MESH_UUID_COUNT_24_VAL 0x2AEB #define BLE_MESH_UUID_COUNTRY_CODE_VAL 0x2AEC #define BLE_MESH_UUID_DATE_UTC_VAL 0x2AED #define BLE_MESH_UUID_ELECTRIC_CURRENT_VAL 0x2AEE #define BLE_MESH_UUID_ELECTRIC_CURRENT_RANGE_VAL 0x2AEF #define BLE_MESH_UUID_ELECTRIC_CURRENT_SPECIFICATION_VAL 0x2AF0 #define BLE_MESH_UUID_ELECTRIC_CURRENT_STATISTICS_VAL 0x2AF1 #define BLE_MESH_UUID_ENERGY_VAL 0x2AF2 #define BLE_MESH_UUID_ENERGY_IN_A_PERIOD_OF_DAY_VAL 0x2AF3 #define BLE_MESH_UUID_EVENT_STATISTICS_VAL 0x2AF4 #define BLE_MESH_UUID_FIXED_STRING_16_VAL 0x2AF5 #define BLE_MESH_UUID_FIXED_STRING_24_VAL 0x2AF6 #define BLE_MESH_UUID_FIXED_STRING_36_VAL 0x2AF7 #define BLE_MESH_UUID_FIXED_STRING_8_VAL 0x2AF8 #define BLE_MESH_UUID_GENERIC_LEVEL_VAL 0x2AF9 #define BLE_MESH_UUID_GLOBAL_TRADE_ITEM_NUMBER_VAL 0x2AFA #define BLE_MESH_UUID_ILLUMINANCE_VAL 0x2AFB #define BLE_MESH_UUID_LUMINOUS_EFFICACY_VAL 0x2AFC #define BLE_MESH_UUID_LUMINOUS_ENERGY_VAL 0x2AFD #define BLE_MESH_UUID_LUMINOUS_EXPOSURE_VAL 0x2AFE #define BLE_MESH_UUID_LUMINOUS_FLUX_VAL 0x2AFF #define BLE_MESH_UUID_LUMINOUS_FLUX_RANGE_VAL 0x2B00 #define BLE_MESH_UUID_LUMINOUS_INTENSITY_VAL 0x2B01 #define BLE_MESH_UUID_MASS_FLOW_VAL 0x2B02 /** * The following four have been defined in mesh_uuid.h * #define BLE_MESH_UUID_MESH_PROV_DATA_IN_VAL 0x2ADB * #define BLE_MESH_UUID_MESH_PROV_DATA_OUT_VAL 0x2ADC * #define BLE_MESH_UUID_MESH_PROXY_DATA_IN_VAL 0x2ADD * #define BLE_MESH_UUID_MESH_PROXY_DATA_OUT_VAL 0x2ADE *//* ... */ #define BLE_MESH_UUID_PERCEIVED_LIGHTNESS_VAL 0x2B03 #define BLE_MESH_UUID_PERCENTAGE_8_VAL 0x2B04 #define BLE_MESH_UUID_POWER_VAL 0x2B05 #define BLE_MESH_UUID_POWER_SPECIFICATION_VAL 0x2B06 #define BLE_MESH_UUID_RELATIVE_RUNTIME_IN_A_CURRENT_RANGE_VAL 0x2B07 #define BLE_MESH_UUID_RELATIVE_RUNTIME_IN_A_GENERIC_LEVEL_RANGE_VAL 0x2B08 #define BLE_MESH_UUID_RELATIVE_VALUE_IN_A_PERIOD_OF_DAY_VAL 0x2B0B #define BLE_MESH_UUID_RELATIVE_VALUE_IN_A_TEMPERATURE_RANGE_VAL 0x2B0C #define BLE_MESH_UUID_RELATIVE_VALUE_IN_A_VOLTAGE_RANGE_VAL 0x2B09 #define BLE_MESH_UUID_RELATIVE_VALUE_IN_AN_ILLUMINANCE_RANGE_VAL 0x2B0A #define BLE_MESH_UUID_TEMPERATURE_8_VAL 0x2B0D #define BLE_MESH_UUID_TEMPERATURE_8_IN_A_PERIOD_OF_DAY_VAL 0x2B0E #define BLE_MESH_UUID_TEMPERATURE_8_STATISTICS_VAL 0x2B0F #define BLE_MESH_UUID_TEMPERATURE_RANGE_VAL 0x2B10 #define BLE_MESH_UUID_TEMPERATURE_STATISTICS_VAL 0x2B11 #define BLE_MESH_UUID_TIME_DECIHOUR_8_VAL 0x2B12 #define BLE_MESH_UUID_TIME_EXPONENTIAL_8_VAL 0x2B13 #define BLE_MESH_UUID_TIME_HOUR_24_VAL 0x2B14 #define BLE_MESH_UUID_TIME_MILLISECOND_24_VAL 0x2B15 #define BLE_MESH_UUID_TIME_SECOND_16_VAL 0x2B16 #define BLE_MESH_UUID_TIME_SECOND_8_VAL 0x2B17 #define BLE_MESH_UUID_VOLTAGE_VAL 0x2B18 #define BLE_MESH_UUID_VOLTAGE_SPECIFICATION_VAL 0x2B19 #define BLE_MESH_UUID_VOLTAGE_STATISTICS_VAL 0x2B1A #define BLE_MESH_UUID_VOLUME_FLOW_VAL 0x2B1B416 defines /** * @brief BLE Mesh Device Property referenced Characteristic Type Definitions *//* ... */ /* Unit is in degrees Celsius with a resolution of 0.01 degrees Celsius. */ typedef int16_t bt_mesh_temperature_t; typedef uint16_t bt_mesh_gap_appearance_t; /* Mesh Characteristics Type Definitions */ /* This characteristic represents an electric current. * Note: Unit is ampere with a resolution of 0.01. * Minimum value: 0, maximum value: 655.34; * A value of 0xFFFF represents 'value is not known'. *//* ... */ typedef uint16_t bt_mesh_electric_current_t; /* The Time Exponential 8 characteristic is used to represent a measure of period of * time in seconds. * Note: The time duration is given by the value 1.1^(N-64) in seconds, with N being * the raw 8-bit value; * Minimum value: 0.0, maximum value: 73216705; * A raw value of 0x00 represents 0 seconds, and a raw value of 0xFF represents * the total life of the device. *//* ... */ typedef uint8_t bt_mesh_time_exponential_8_t; /* The Voltage characteristic is used to represent a measure of positive electric * potential difference in units of volts. * Note: Unit is volt with a resolution of 1/64V; * Minimum value: 0.0, maximum value: 1022.0; * A value of 0xFFFF represents 'value is not known'. The minimum representable * value represents the minimum value or lower, the maximum representable value * represents the maximum value or higher. *//* ... */ typedef uint16_t bt_mesh_voltage_t; /* This characteristic aggregates the Electric Current characteristic and instance of * the Time Exponential 8 characteristic. *//* ... */ typedef struct __attribute__((packed)) average_current { bt_mesh_electric_current_t electric_current; bt_mesh_time_exponential_8_t sensing_duration; }{...} bt_mesh_average_current_t; /* This characteristic aggregates the Voltage characteristic and instance of the Time * Exponential 8 characteristic. *//* ... */ typedef struct __attribute__((packed)) average_voltage { bt_mesh_voltage_t voltage; bt_mesh_time_exponential_8_t sensing_duration; }{...} bt_mesh_average_voltage_t; /* The Boolean characteristic defines the predefined Boolean values as an enumeration. * Key | Value * 0 | False * 1 | True * 2 to 255 | Prohibited *//* ... */ typedef uint8_t bt_mesh_boolean_t; /* The Chromatic Distance From Planckian characteristic represents a distance of a * chromaticity coordinate from the Planckian locus in the (u',2/3 v') diagram as * defined by ANSI standard C78.377-2008. The distance is positive if the chromaticity * coordinate is located above the Planckian locus (i.e. has as higher y value than the * Planckian), and negative if it is located below. The distance is only valid within * the range from -0.05 to 0.05. * Note: Unit is unitless with a resolution of 0.00001; * Minimum value: -0.05, maximum value: 0.05; * A value of 0xFFFF represents 'value is not known'; * A value of 0xFFFE represents 'value is not valid'. *//* ... */ typedef int16_t bt_mesh_chromatic_distance_from_planckian_t; /* This characteristic represents a chromaticity coordinate in a color diagram such as * the CIE1931 diagram. It can represent an x or y coordinate. * Note: Unit is unitless with a resolution of 1/65535; * Minimum value: 0, maximum value: 1.0. *//* ... */ typedef uint16_t bt_mesh_chromaticity_coordinate_t; /* This characteristic represents a chromaticity coordinate as a tuple with an x and * y coordinate. *//* ... */ typedef struct __attribute__((packed)) chromaticity_coordinates { bt_mesh_chromaticity_coordinate_t chromaticity_x_coordinate; bt_mesh_chromaticity_coordinate_t chromaticity_y_coordinate; }{...} bt_mesh_chromaticity_coordinates_t; /* The Correlated Color Temperature characteristic is used to represent correlated color * temperature in a range from 800 to 65534 Kelvin with a resolution of 1 Kelvin. * Note: Unit is Kelvin with a resolution of 1; * Minimum value: 800, maximum value: 65534; * A value of 0xFFFF represents 'value is not known'. *//* ... */ typedef uint16_t bt_mesh_correlated_color_temperature_t; /* The Chromaticity In CCT And Duv Values characteristic is a composite characteristic * consisting of the Correlated Color Temperature characteristic and the Chromatic * Distance From Planckian characteristic. *//* ... */ typedef struct __attribute__((packed)) chromaticity_in_cct_and_duv_values { bt_mesh_correlated_color_temperature_t correlated_color_temperature; bt_mesh_chromatic_distance_from_planckian_t chromaticity_distance_from_planckian; }{...} bt_mesh_chromaticity_in_cct_and_duv_values_t; /* The Chromaticity Tolerance characteristic is a tolerance of a tuple of chromaticity * values represented as a value of a radius of a circle in the CIE 1976 (u',v') diagram; * value corresponding to the 3-sigma values of the expected chromaticity deviations. * Note: Unit is unitless with a resolution of 0.0001; * Minimum value: 0, maximum value: 0.0255. *//* ... */ typedef uint8_t bt_mesh_chromaticity_tolerance_t; /* The CIE 13.3-1995 Color Rendering Index characteristic is a color rendition index value * for a color patch as calculated in accordance with the CIE 13.3-1995 standard. * Note: Unit is unitless with a resolution of 1; * Minimum value: -128, maximum value: 100. *//* ... */ typedef int8_t bt_mesh_cie_13_3_1995_color_rendering_index_t; /* The Coefficient characteristic is used to represent a general coefficient value. */ typedef float bt_mesh_coefficient_t; /* The Count 16 characteristic is used to represent a general count value. * Note: Unit is unitless with a resolution of 1; * Minimum value: 0, maximum value 65534; * A value of 0xFFFF represents 'value is not known'. *//* ... */ typedef uint16_t bt_mesh_count_16_t; /* The Count 24 characteristic is used to represent a general count value. * Note: Unit is unitless with a resolution of 1; * Minimum value: 0, maximum value 16777214; * A value of 0xFFFFFF represents 'value is not known'. *//* ... */ typedef uint8_t bt_mesh_count_24_t[3]; /* This characteristic represents a country or dependent areas in accordance with * the ISO 3166-1 Numeric standard. * Note: Unit is unitless with a resolution of 1; * Minimum value: 0, maximum value: 4095; * A value of 0xFFFF represents 'value is not known'. *//* ... */ typedef uint16_t bt_mesh_country_code_t; /* Date as days elapsed since the Epoch (Jan 1, 1970) in the Coordinated Universal * Time (UTC) time zone. * Note: Unit is a day with a resolution of 1; * Minimum value: 1, maximum value: 16777214; * A value of 0x000000 represents 'value is not known'. *//* ... */ typedef uint8_t bt_mesh_date_utc_t[3]; /* This characteristic aggregates two instances of the Electric Current characteristic * to represent a range of Electric Current values. *//* ... */ typedef struct __attribute__((packed)) electric_current_range { bt_mesh_electric_current_t minimum_electric_current_value; bt_mesh_electric_current_t maximum_electric_current_value; }{...} bt_mesh_electric_current_range_t; /* This characteristic aggregates three instances of the Electric Current characteristic * to represent a specification of electric current values. *//* ... */ typedef struct __attribute__((packed)) electric_current_specification { bt_mesh_electric_current_t minimum_electric_current_value; bt_mesh_electric_current_t typical_electric_current_value; bt_mesh_electric_current_t maximum_electric_current_value; }{...} bt_mesh_electric_current_specification_t; /* This characteristic aggregates four instances of the Electric Current characteristic * with a Sensing Duration to represent a set of statistical electric current values. *//* ... */ typedef struct __attribute__((packed)) electric_current_statistics { bt_mesh_electric_current_t average_electric_current_value; bt_mesh_electric_current_t standard_electric_current_value; bt_mesh_electric_current_t minimum_electric_current_value; bt_mesh_electric_current_t maximum_electric_current_value; bt_mesh_time_exponential_8_t sensing_duration; }{...} bt_mesh_electric_current_statistics_t; /* The Energy characteristic is used to represent a measure of energy in units of * kilowatt hours. * Note: Unit is kilowatt-hour with a resolution of 1; * Minimum value: 0, maximum value: 16777214; * A value of 0xFFFFFF represents ‘value is not known’. *//* ... */ typedef uint8_t bt_mesh_energy_t[3]; /* The Time Decihour 8 characteristic is used to represent a period of time in * tenths of an hour. * Note: Unit is hour with a resolution of 0.1; * Minimum value: 0.0, maximum value: 24.0; * A value of 0xFF represents 'value is not known'. All other values are Prohibited. *//* ... */ typedef uint8_t bt_mesh_time_decihour_8_t; /* This characteristic aggregates the Energy characteristic, and two instances of * the Time Decihour 8 characteristic, to represent energy use in a period of day. *//* ... */ typedef struct __attribute__((packed)) energy_in_a_period_of_day { bt_mesh_energy_t energy_value; bt_mesh_time_decihour_8_t start_time; bt_mesh_time_decihour_8_t end_time; }{...} bt_mesh_energy_in_a_period_of_day_t; /* The Time Second 16 characteristic is used to represent a period of time with a * unit of 1 second. * Note: Unit is second with a resolution of 1; * Minimum value: 0, maximum value: 65534; * A value of 0xFFFF represents 'value is not known'. *//* ... */ typedef uint16_t bt_mesh_time_second_16_t; /* This characteristic aggregates the Count 16 characteristic, two instances of the * Time Decihour 8 characteristic and an instance of the Sensing Duration characteristic, * to represent statistical values of events. *//* ... */ typedef struct __attribute__((packed)) event_statistics { bt_mesh_count_16_t number_of_events; bt_mesh_time_second_16_t average_event_duration; bt_mesh_time_exponential_8_t time_elapsed_since_last_event; bt_mesh_time_exponential_8_t sensing_duration; }{...} bt_mesh_event_statistics_t; /* The Fixed String 16 characteristic represents a 16-octet UTF-8 string. */ typedef char bt_mesh_fixed_string_16_t[16]; /* The Fixed String 24 characteristic represents a 24-octet UTF-8 string. */ typedef char bt_mesh_fixed_string_24_t[24]; /* The Fixed String 36 characteristic represents a 36-octet UTF-8 string. */ typedef char bt_mesh_fixed_string_36_t[36]; /* The Fixed String 8 characteristic represents an 8-octet UTF-8 string. */ typedef char bt_mesh_fixed_string_8_t[8]; /* The Generic Level characteristic represents a general level value of a * setting of a device. * Note: Unit is unitless with a resolution of 1; * Minimum value: 0, maximum value: 65535. *//* ... */ typedef uint16_t bt_mesh_generic_level_t; /* The Global Trade Item Number characteristic represents an identifier as * issued by GS1 General Specifications, which may consist up to 14 digits, * and is here represented as a 48-bit unsigned integer. *//* ... */ typedef uint8_t bt_mesh_global_trade_item_number_t[6]; /* The Illuminance characteristic is used to represent a measure of illuminance * in units of lux. * Note: Unit is lux with a resolution of 0.01; * Minimum value: 0, maximum value: 167772.14; * A value of 0xFFFFFF represents 'value is not known'. *//* ... */ typedef uint8_t bt_mesh_illuminance_t[3]; /* The Luminous Efficacy characteristic is used to represent a measure of luminous * efficacy in units of lumen per watt. * Note: Unit is lumen per watt with a resolution of 0.1; * Minimum value: 0, maximum value: 1800; * A value of 0xFFFF represents 'value is not known'. All other values are Prohibited. *//* ... */ typedef uint16_t bt_mesh_luminous_efficacy_t; /* The Luminous Energy characteristic is used to represent a measure of luminous * energy in units of lumen hour. * Note: Unit is lumen hour with a resolution of 1000; * Minimum value: 0, maximum value: 16777214000; * A value of 0xFFFFFF represents 'value is not known'. *//* ... */ typedef uint8_t bt_mesh_luminous_energy_t[3]; /* The Luminous Exposure characteristic is used to represent a measure of luminous * exposure in units of lux-hour. * Note: Unit is lux hour with a resolution of 1000; * Minimum value: 0, maximum value: 16777214000; * A value of 0xFFFFFF represents 'value is not known'. *//* ... */ typedef uint8_t bt_mesh_luminous_exposure_t[3]; /* The Luminous Flux characteristic is used to represent a measure of luminous flux * in units of lumen. * Note: Unit is lumen with a resolution of 1; * Minimum value: 0, maximum value: 65534; * A value of 0xFFFF represents 'value is not known'. *//* ... */ typedef uint16_t bt_mesh_luminous_flux_t; /* This characteristic aggregates two instances of the Luminous Flux characteristic * to represent a luminous flux range. *//* ... */ typedef struct __attribute__((packed)) luminous_flux_range { bt_mesh_luminous_flux_t minimum_luminous_flux; bt_mesh_luminous_flux_t maximum_luminous_flux; }{...} bt_mesh_luminous_flux_range_t; /* The Luminous Intensity characteristic is used to represent a luminous intensity of * a beam of light in units of candela. * Note: Unit is candela with a resolution of 1; * Minimum value: 0, maximum value: 65534; * A value of 0xFFFF represents 'value is not known'. *//* ... */ typedef uint16_t bt_mesh_luminous_intensity_t; /* The Mass Flow characteristic is used to represent a flow of mass. * Note: Unit is gram/second with a resolution of 1; * Minimum value: 0, maximum value: 65534; * A value of 0xFFFF represents 'value is not known'. *//* ... */ typedef uint16_t bt_mesh_mass_flow_t; /* The Mesh Provisioning Data In characteristic can be written to send a Proxy PDU * message containing Provisioning PDU to the Provisioning Server. *//* ... */ struct mesh_provisioning_data_in { }{ ... }; /* The Mesh Provisioning Data Out characteristic can be notified to send a Proxy PDU * message containing Provisioning PDU from a Provisioning Server to a Provisioning Client. *//* ... */ struct mesh_provisioning_data_out { }{ ... }; /* The Mesh Proxy Data In characteristic is used by the client to send Proxy PDUs to * the server. *//* ... */ struct mesh_proxy_data_in { }{ ... }; /* The Mesh Proxy Data Out characteristic is used by the server to send Proxy PDUs to * the client. *//* ... */ struct mesh_proxy_data_out { }{ ... }; /* The Perceived Lightness characteristic is used to represent the perceived lightness * of a light. * Note: Unit is unitless with a resolution of 1; * Minimum value: 0, maximum value: 65535. *//* ... */ typedef uint16_t bt_mesh_perceived_lightness_t; /* The Percentage 8 characteristic is used to represent a measure of percentage. * Note: Unit is a percentage with a resolution of 0.5; * Minimum value: 0, maximum value: 100; * A value of 0xFF represents 'value is not known'. All other values are Prohibited. *//* ... */ typedef uint8_t bt_mesh_percentage_8_t; /* The Power characteristic is used to represent a measure of power in units of watts. * Note: Unit is watt with a resolution of 0.1; * Minimum value: 0, maximum value: 1677721.4; * A value of 0xFFFFFF represents 'value is not known'. *//* ... */ typedef uint8_t bt_mesh_power_t[3]; /* This characteristic aggregates three instances of the Power characteristic to * represent a specification of Power values. *//* ... */ typedef struct __attribute__((packed)) power_specification { bt_mesh_power_t minimum_power_value; bt_mesh_power_t typical_power_value; bt_mesh_power_t maximum_power_value; }{...} bt_mesh_power_specification_t; /* This characteristic aggregates the Percentage 8 characteristic and two instances of * the Electric Current characteristic to represent a relative value in an electric * current range. *//* ... */ typedef struct __attribute__((packed)) relative_runtime_in_a_current_range { bt_mesh_percentage_8_t relative_runtime_value; bt_mesh_electric_current_t minimum_current; bt_mesh_electric_current_t maximum_current; }{...} bt_mesh_relative_runtime_in_a_current_range_t; /* This characteristic aggregates the Percentage 8 characteristic and two instances of * the Generic Level characteristic to represent a runtime in a generic level range. *//* ... */ typedef struct __attribute__((packed)) relative_runtime_in_a_generic_level_range { bt_mesh_percentage_8_t relative_value; bt_mesh_generic_level_t minimum_generic_level; bt_mesh_generic_level_t maximum_generic_level; }{...} bt_mesh_relative_runtime_in_a_generic_level_range_t; /* This characteristic aggregates the Percentage 8 characteristic, and two instances of * the Time Decihour 8 characteristic. *//* ... */ typedef struct __attribute__((packed)) relative_value_in_a_period_of_day { bt_mesh_percentage_8_t relative_value; bt_mesh_time_decihour_8_t start_time; bt_mesh_time_decihour_8_t end_time; }{...} bt_mesh_relative_value_in_a_period_of_day_t; /* This characteristic aggregates the Percentage 8 characteristic, and two instances of * the Temperature characteristic. *//* ... */ typedef struct __attribute__((packed)) relative_value_in_a_temperature_range { bt_mesh_percentage_8_t relative_value; bt_mesh_temperature_t minimum_temperature_value; bt_mesh_temperature_t maximum_temperature_value; }{...} bt_mesh_relative_value_in_a_temperature_range_t; /* This characteristic aggregates the Percentage 8 characteristic and two instances of * the Voltage characteristic to represent a relative value in a voltage range. *//* ... */ typedef struct __attribute__((packed)) relative_value_in_a_voltage_range { bt_mesh_percentage_8_t relative_value; bt_mesh_voltage_t minimum_voltage; bt_mesh_voltage_t maximum_voltage; }{...} bt_mesh_relative_value_in_a_voltage_range_t; /* This characteristic aggregates the Percentage 8 characteristic and two instances of * the Illuminance characteristic to represent a relative value in a illuminance range. *//* ... */ typedef struct __attribute__((packed)) relative_value_in_an_illuminance_range { bt_mesh_percentage_8_t relative_value; bt_mesh_illuminance_t minimum_illuminance; bt_mesh_illuminance_t maximum_illuminance; }{...} bt_mesh_relative_value_in_an_illuminance_range_t; /* The Temperature 8 characteristic is used to represent a measure of temperature with * a unit of 0.5 degree Celsius. * Note: Unit is degree Celsius with a resolution of 0.5; * Minimum value: -64.0, maximum value: 63.5; * A value of 0xFF represents 'value is not known'. *//* ... */ typedef int8_t bt_mesh_temperature_8_t; /* This characteristic aggregates the Temperature 8 characteristic, and two instances * of the Time Decihour 8 characteristic, to represent a temperature value in a period * of day. *//* ... */ typedef struct __attribute__((packed)) temperature_8_in_a_period_of_day { bt_mesh_temperature_8_t temperature; bt_mesh_time_decihour_8_t start_time; bt_mesh_time_decihour_8_t end_time; }{...} bt_mesh_temperature_8_in_a_period_of_day_t; /* This characteristic aggregates four instances of the Temperature 8 characteristic, * and one instance of the Time Exponential 8 characteristic. *//* ... */ typedef struct __attribute__((packed)) temperature_8_statistics { bt_mesh_temperature_8_t average; bt_mesh_temperature_8_t standard_deviation_value; bt_mesh_temperature_8_t minimum_value; bt_mesh_temperature_8_t maximum_value; bt_mesh_time_exponential_8_t sensing_duration; }{...} bt_mesh_temperature_8_statistics_t; /* This characteristic aggregates two instances of the Temperature characteristic to * represent a temperature range. *//* ... */ typedef struct __attribute__((packed)) temperature_range { bt_mesh_temperature_t minimum_temperature; bt_mesh_temperature_t maximum_temperature; }{...} bt_mesh_temperature_range_t; /* This characteristic aggregates four instances of the Temperature characteristic, * and one instance of the Time Exponential 8 characteristic. *//* ... */ typedef struct __attribute__((packed)) temperature_statistics { bt_mesh_temperature_t average_temperature; bt_mesh_temperature_t standard_deviation_temperature; bt_mesh_temperature_t minimum_temperature; bt_mesh_temperature_t maximum_temperature; bt_mesh_time_exponential_8_t sensing_duration; }{...} bt_mesh_temperature_statistics_t; /* The Time Hour 24 characteristic is used to represent a period of time in hours. * Note: Unit is hour with a resolution of 1; * Minimum value: 0, maximum value: 16777214; * A value of 0xFFFFFF represents 'value is not known'. *//* ... */ typedef uint8_t bt_mesh_time_hour_24_t[3]; /* The Time Millisecond 24 characteristic is used to represent a period of time with * a resolution of 1 millisecond. * Note: Unit is second with a resolution of 0.001; * Minimum value: 0, maximum value: 16777.214; * A value of 0xFFFFFF represents 'value is not known'. *//* ... */ typedef uint8_t bt_mesh_time_millisecond_24_t[3]; /* The Time Second 8 characteristic is used to represent a period of time with a unit * of 1 second. * Note: Unit is second with a resolution of 1; * Minimum value: 0, maximum value: 254; * A value of 0xFF represents 'value is not known'. *//* ... */ typedef uint8_t bt_mesh_time_second_8_t; /* This characteristic aggregates three instances of the Voltage characteristic to * represent a specification of voltage values. *//* ... */ typedef struct __attribute__((packed)) voltage_specification { bt_mesh_voltage_t minimum_voltage_value; bt_mesh_voltage_t typical_voltage_value; bt_mesh_voltage_t maximum_voltage_value; }{...} bt_mesh_voltage_specification_t; /* This characteristic aggregates four instances of the Voltage characteristic and an * instance of the Time Exponential 8 characteristic to represent a set of statistical * voltage values over a period of time. *//* ... */ typedef struct __attribute__((packed)) voltage_statistics { bt_mesh_voltage_t average_voltage_value; bt_mesh_voltage_t standard_deviation_voltage_value; bt_mesh_voltage_t minimum_voltage_value; bt_mesh_voltage_t maximum_voltage_value; bt_mesh_time_exponential_8_t sensing_duration; }{...} bt_mesh_voltage_statistics_t; /* The Volume Flow characteristic is used to represent a flow of a general volume such * as a volume of material or gas. * Note: Unit is liter/second with a resolution of 0.001 (1 milliliter); * Minimum value: 0, maximum value: 65534; * A value of 0xFFFF represents 'value is not known'. *//* ... */ typedef uint16_t bt_mesh_volume_flow_t; /* Mesh Device Property related function */ uint8_t bt_mesh_get_dev_prop_len(uint16_t prop_id); #ifdef __cplusplus }{...} #endif /* ... */ #endif /* _DEVICE_PROPERTY_H_ */
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.