Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding tolerance attribute for pressure measurement cluster (TZ-756) #315

Closed
acha666 opened this issue Apr 10, 2024 · 2 comments
Closed

Comments

@acha666
Copy link

acha666 commented Apr 10, 2024

image

typedef enum
{
ESP_ZB_ZCL_ATTR_PRESSURE_MEASUREMENT_VALUE_ID = 0x0000, /*!< MeasuredValue */
ESP_ZB_ZCL_ATTR_PRESSURE_MEASUREMENT_MIN_VALUE_ID = 0x0001, /*!< MinMeasuredValue */
ESP_ZB_ZCL_ATTR_PRESSURE_MEASUREMENT_MAX_VALUE_ID = 0x0002, /*!< MaxMeasuredValue */
ESP_ZB_ZCL_ATTR_PRESSURE_MEASUREMENT_SCALED_VALUE_ID = 0x0010, /*!< ScaledValue */
ESP_ZB_ZCL_ATTR_PRESSURE_MEASUREMENT_MIN_SCALED_VALUE_ID = 0x0011, /*!< MinScaledValue */
ESP_ZB_ZCL_ATTR_PRESSURE_MEASUREMENT_MAX_SACLED_VALUE_ID = 0x0012, /*!< MaxScaledValue */
ESP_ZB_ZCL_ATTR_PRESSURE_MEASUREMENT_SCALED_TOLERANCE_ID = 0x0013, /*!< ScaledTolerance */
ESP_ZB_ZCL_ATTR_PRESSURE_MEASUREMENT_SCALE_ID = 0x0014, /*!< Scale */
}esp_zb_zcl_pressure_measurement_attr_t;

The ZCL Spec shows there is an tolerance attribute (ID 0x0003) in pressure measurement cluster but it doesn't exist in esp_zb_zcl_pressure_measurement_attr_t

@github-actions github-actions bot changed the title Adding tolerance attribute for pressure measurement cluster Adding tolerance attribute for pressure measurement cluster (TZ-756) Apr 10, 2024
@xieqinan
Copy link
Contributor

@acha666

No problem, as it is only an enumerated type that will not affect your project.

@xieqinan
Copy link
Contributor

@acha666,

The issue has been fixed in the latest esp-zigbee-sdk version, please update the version and test again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants