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
In PR #30581 a change was made to DataModelLogger-src.zapt to handle the chip-tool compilation issue with EnergyEVSE cluster XML.
../examples/chip-tool/third_party/connectedhomeip/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp:16028:54: error: 'chip::app::Clusters::EnergyEvse::Events::RFID' has not been declared
16028 | chip::app::Clusters::EnergyEvse::Events::RFID::DecodableType value;
| ^~~~
In file included from ../examples/chip-tool/third_party/connectedhomeip/src/system/SystemLayer.h:33,
from ../examples/chip-tool/third_party/connectedhomeip/src/lib/core/CHIPCore.h:30,
from ../examples/chip-tool/third_party/connectedhomeip/src/lib/core/Optional.h:29,
from ../examples/chip-tool/third_party/connectedhomeip/src/app/ConcreteAttributePath.h:23,
from ../examples/chip-tool/third_party/connectedhomeip/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h:26,
from ../examples/chip-tool/commands/clusters/DataModelLogger.h:23,
from ../examples/chip-tool/third_party/connectedhomeip/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp:20:
../examples/chip-tool/third_party/connectedhomeip/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp:16029:70: error: 'value' was not declared in this scope
16029 | ReturnErrorOnFailure(chip::app::DataModel::Decode(*data, value));
Reproduction steps
In PR #30581 a change was made to DataModelLogger-src.zapt to handle the chip-tool compilation issue with EnergyEVSE cluster XML.
The change made in #30581 made the autogen use:
asUpperCamelCase: https://github.com/project-chip/connectedhomeip/blob/master/examples/chip-tool/templates/logging/DataModelLogger-src.zapt#L23C148-L23C161
However it is believed that this fix should be reverted and a change made to Zap, so it can use:
zapTypeToDecodableClusterObjectType
This issue is to track that change back.
As discussed with @bzbarsky-apple
Bug prevalence
1.3 EnergyEVSE cluster has shown up this bug
GitHub hash of the SDK that was being used
N/A
Platform
core
Platform Version(s)
1.3
Type
Spec Compliance Issue
Anything else?
No response
The text was updated successfully, but these errors were encountered: