Temperature Measurement cluster attributes | |
enum | zb_zcl_temp_measurement_attr_e { ZB_ZCL_ATTR_TEMP_MEASUREMENT_VALUE_ID = 0x0000, ZB_ZCL_ATTR_TEMP_MEASUREMENT_MIN_VALUE_ID = 0x0001, ZB_ZCL_ATTR_TEMP_MEASUREMENT_MAX_VALUE_ID = 0x0002, ZB_ZCL_ATTR_TEMP_MEASUREMENT_TOLERANCE_ID = 0x0003 } |
Temperature Measurement cluster attribute identifiers. More... | |
zb_void_t | zb_zcl_temp_measurement_write_attr_hook (zb_uint8_t endpoint, zb_uint16_t attr_id, zb_uint8_t *new_value) |
#define | ZB_ZCL_ATTR_TEMP_MEASUREMENT_VALUE_UNKNOWN ((zb_int16_t)0x8000) |
MeasuredValue attribute unknown value. | |
#define | ZB_ZCL_ATTR_TEMP_MEASUREMENT_MIN_VALUE_MIN_VALUE ((zb_int16_t)0x954d) |
MinMeasuredValue attribute minimum value. | |
#define | ZB_ZCL_ATTR_TEMP_MEASUREMENT_MIN_VALUE_MAX_VALUE 0x7ffe |
MinMeasuredValue attribute maximum value. | |
#define | ZB_ZCL_ATTR_TEMP_MEASUREMENT_MIN_VALUE_INVALID ((zb_int16_t)0x8000) |
MinMeasuredValue attribute invalid value. | |
#define | ZB_ZCL_ATTR_TEMP_MEASUREMENT_MAX_VALUE_MIN_VALUE ((zb_int16_t)0x954e) |
MaxMeasuredValue attribute minimum value. | |
#define | ZB_ZCL_ATTR_TEMP_MEASUREMENT_MAX_VALUE_MAX_VALUE 0x7fff |
MaxMeasuredValue attribute maximum value. | |
#define | ZB_ZCL_ATTR_TEMP_MEASUREMENT_MAX_VALUE_INVALID ((zb_int16_t)0x8000) |
MaxMeasuredValue attribute invalid value. | |
#define | ZB_ZCL_ATTR_TEMP_MEASUREMENT_TOLERANCE_MIN_VALUE 0x0000 |
Tolerance attribute minimum value. | |
#define | ZB_ZCL_ATTR_TEMP_MEASUREMENT_TOLERANCE_MAX_VALUE 0x0800 |
Tolerance attribute maximum value. | |
#define | ZB_ZCL_TEMP_MEASUREMENT_VALUE_DEFAULT_VALUE ((zb_int16_t)0xFFFF) |
Default value for Value attribute. | |
#define | ZB_ZCL_TEMP_MEASUREMENT_MIN_VALUE_DEFAULT_VALUE ((zb_int16_t)0x8000) |
Default value for MinValue attribute. | |
#define | ZB_ZCL_TEMP_MEASUREMENT_MAX_VALUE_DEFAULT_VALUE ((zb_int16_t)0x8000) |
Default value for MaxValue attribute. | |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_TEMP_MEASUREMENT_VALUE_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_TEMP_MEASUREMENT_MIN_VALUE_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_TEMP_MEASUREMENT_MAX_VALUE_ID(data_ptr) |
#define | ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_TEMP_MEASUREMENT_TOLERANCE_ID(data_ptr) |
#define | ZB_ZCL_DECLARE_TEMP_MEASUREMENT_ATTRIB_LIST(attr_list,value, min_value, max_value, tolerance) |
#define | ZB_ZCL_TEMP_MEASUREMENT_REPORT_ATTR_COUNT 1 |
All commands in the cluster have only request form, and carry no payload.
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_TEMP_MEASUREMENT_MAX_VALUE_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_TEMP_MEASUREMENT_MIN_VALUE_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_TEMP_MEASUREMENT_TOLERANCE_ID | ( | data_ptr | ) |
#define ZB_SET_ATTR_DESCR_WITH_ZB_ZCL_ATTR_TEMP_MEASUREMENT_VALUE_ID | ( | data_ptr | ) |
#define ZB_ZCL_DECLARE_TEMP_MEASUREMENT_ATTRIB_LIST | ( | attr_list, | |
value, | |||
min_value, | |||
max_value, | |||
tolerance | |||
) |
Temperature Measurement cluster attribute identifiers.
zb_void_t zb_zcl_temp_measurement_write_attr_hook | ( | zb_uint8_t | endpoint, |
zb_uint16_t | attr_id, | ||
zb_uint8_t * | new_value | ||
) |
Write attribute hook is used to set min/max temperature values