connectedhomeip
connectedhomeip copied to clipboard
Electrical Power Measurement Cluster XML has to be updated as per spec
Description
XML has to be updated as per spec:
In MeasurementRangeStruct, the Constraint has to be added for below mentioned fields.
- EndTimestamp
- MaxTimestamp
- EndSystime
- MaxSystime
Hi,
The spec says that the constraint is:
EndTimestamp should be "min (StartTimestamp+1)"
Given that StartTimestamp is not a static value I don't think it is possible to encode that into the XML. If it was a value (e.g. min 0) then we could add it.
So I don't think this issue is a bug in the XML.
It could be checked in a test case update to validate this automatically. However I don't think this is a cert blocker. Perhaps something to raise a follow up issue for after SVE or in 1.4 given the late timescale.
I would propose closing this issue and raising a change on the test plan (and subsequent python test automation) instead.