You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When updating attribute value which data type is single (single precision floating point), error occurred.
Describe the solution you'd like
I think following codes should be added in esp_matter_attribute_utils.cpp
Almost all single type attributes (like MeasuredValue, MinMeasuredValue, MaxMeasuredValue) of concentration measurement clusters are implemented as integer.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Missing single data type attribute value handling.
Missing single data type attribute value handling. (CON-1051)
Feb 16, 2024
@dhrishi Thanks for reply.
Last week, I forked repo's main branch and created pull request to solve this issue. (CON-1056)
I'm now waiting for code review :)
Is your feature request related to a problem? Please describe.
When updating attribute value which data type is
single
(single precision floating point), error occurred.Describe the solution you'd like
I think following codes should be added in
esp_matter_attribute_utils.cpp
Additional context
I found that some attribute data types in esp-matter are not comply with matter specification.
Is there any reason?
[Example]
Cluster: Carbon Dioxide Concentration Measurement (id: 0x040C)
Attribute: Measured Value (id: 0x0000)
specification:
single
(nullable)esp-matter code:
uint16_t
Almost all single type attributes (like
MeasuredValue
,MinMeasuredValue
,MaxMeasuredValue
) of concentration measurement clusters are implemented as integer.The text was updated successfully, but these errors were encountered: