diff --git a/src/app/clusters/door-lock-server/door-lock-server.cpp b/src/app/clusters/door-lock-server/door-lock-server.cpp index 9b2482adf6e1cd..84b199bb7c591e 100644 --- a/src/app/clusters/door-lock-server/door-lock-server.cpp +++ b/src/app/clusters/door-lock-server/door-lock-server.cpp @@ -3576,7 +3576,7 @@ MatterDoorLockClusterServerPreAttributeChangedCallback(const chip::app::Concrete break; default: - res = emberAfPluginDoorLockOnUnhandledAttributeChange(attributePath.mEndpointId, attributeType, size, value); + res = emberAfPluginDoorLockOnUnhandledAttributeChange(attributePath.mEndpointId, attributePath, attributeType, size, value); break; } @@ -3666,8 +3666,8 @@ emberAfPluginDoorLockOnUserCodeTemporaryDisableTimeChange(chip::EndpointId Endpo } chip::Protocols::InteractionModel::Status __attribute__((weak)) -emberAfPluginDoorLockOnUnhandledAttributeChange(chip::EndpointId EndpointId, EmberAfAttributeType attrType, uint16_t attrSize, - uint8_t * attrValue) +emberAfPluginDoorLockOnUnhandledAttributeChange(chip::EndpointId EndpointId, const chip::app::ConcreteAttributePath & attributePath, + EmberAfAttributeType attrType, uint16_t attrSize, uint8_t * attrValue) { return chip::Protocols::InteractionModel::Status::Success; } diff --git a/src/app/clusters/door-lock-server/door-lock-server.h b/src/app/clusters/door-lock-server/door-lock-server.h index ac0cce099e6a56..d7289c4bd2c094 100644 --- a/src/app/clusters/door-lock-server/door-lock-server.h +++ b/src/app/clusters/door-lock-server/door-lock-server.h @@ -738,6 +738,7 @@ chip::Protocols::InteractionModel::Status emberAfPluginDoorLockOnUserCodeTempora * @brief Cluster attribute pre-change callback * * @param EndpointId endpoint for which attribute is changing + * @param attributePath concrete attribute path that is changing * @param attrType attribute that is going to be changed * @param attrSize attribute value storage size * @param attrValue attribute value to set @@ -745,9 +746,9 @@ chip::Protocols::InteractionModel::Status emberAfPluginDoorLockOnUserCodeTempora * @retval InteractionModel::Status::Success if attribute change is possible * @retval any other InteractionModel::Status value to forbid attribute change */ -chip::Protocols::InteractionModel::Status emberAfPluginDoorLockOnUnhandledAttributeChange(chip::EndpointId EndpointId, - EmberAfAttributeType attrType, - uint16_t attrSize, uint8_t * attrValue); +chip::Protocols::InteractionModel::Status +emberAfPluginDoorLockOnUnhandledAttributeChange(chip::EndpointId EndpointId, const chip::app::ConcreteAttributePath & attributePath, + EmberAfAttributeType attrType, uint16_t attrSize, uint8_t * attrValue); // ============================================================================= // Plugin callbacks that are called by cluster server and should be implemented