diff --git a/src/app/util/generic-callback-stubs.cpp b/src/app/util/generic-callback-stubs.cpp index c9c332b71fc1bd..2e442b9626b9b8 100644 --- a/src/app/util/generic-callback-stubs.cpp +++ b/src/app/util/generic-callback-stubs.cpp @@ -55,13 +55,6 @@ emberAfExternalAttributeWriteCallback(EndpointId endpoint, ClusterId clusterId, return EMBER_ZCL_STATUS_FAILURE; } -void __attribute__((weak)) emberAfRegistrationAbortCallback() {} - -bool __attribute__((weak)) emberAfStartMoveCallback() -{ - return false; -} - chip::Protocols::InteractionModel::Status __attribute__((weak)) MatterPreAttributeChangeCallback(const chip::app::ConcreteAttributePath & attributePath, uint8_t type, uint16_t size, uint8_t * value) diff --git a/src/app/util/generic-callbacks.h b/src/app/util/generic-callbacks.h index 540b097e412b4e..036241acfa2c41 100644 --- a/src/app/util/generic-callbacks.h +++ b/src/app/util/generic-callbacks.h @@ -159,22 +159,6 @@ EmberAfStatus emberAfExternalAttributeReadCallback(chip::EndpointId endpoint, ch EmberAfStatus emberAfExternalAttributeWriteCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); -/** @brief Registration Abort - * - * This callback is called when the device should abort the registration - * process. - * - */ -void emberAfRegistrationAbortCallback(); - -/** @brief Start Move - * - * This function is called to initiate the process for a device to move (rejoin) - * to a new parent. - * - */ -bool emberAfStartMoveCallback(); - /** @brief Pre Attribute Change * * This function is called by the application framework before it changes an diff --git a/src/app/util/util.cpp b/src/app/util/util.cpp index 58f6a95e41fd0e..f5855d5757801c 100644 --- a/src/app/util/util.cpp +++ b/src/app/util/util.cpp @@ -138,16 +138,6 @@ void MatterProxyDiscoveryPluginServerInitCallback() {} void MatterProxyConfigurationPluginServerInitCallback() {} void MatterFanControlPluginServerInitCallback() {} -// **************************************** -// This function is called by the application when the stack goes down, -// such as after a leave network. This allows zcl utils to clear state -// that should not be kept when changing networks -// **************************************** -void emberAfStackDown() -{ - emberAfRegistrationAbortCallback(); -} - // **************************************** // Print out information about each cluster // **************************************** diff --git a/src/app/util/util.h b/src/app/util/util.h index 271219c21f97b1..b3f1a880f27083 100644 --- a/src/app/util/util.h +++ b/src/app/util/util.h @@ -35,7 +35,6 @@ extern const EmberAfClusterName zclClusterNames[]; void emberAfInit(); uint16_t emberAfFindClusterNameIndex(chip::ClusterId cluster); -void emberAfStackDown(void); /** * Retrieves the difference between the two passed values.