From e0c66c569ccc2761f0d4b58a8ee4a378b7086b89 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Fri, 1 Oct 2021 23:53:32 -0400 Subject: [PATCH] Remove vestigial RemoveAllFabrics and UpdateOpCert callbacks. This was missed when RemoveAllFabrics was removed and UpdateOpCert renamed. --- .../operational-credentials-server.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/app/clusters/operational-credentials-server/operational-credentials-server.cpp b/src/app/clusters/operational-credentials-server/operational-credentials-server.cpp index cef15d4ce1f2d7..55f57145697b20 100644 --- a/src/app/clusters/operational-credentials-server/operational-credentials-server.cpp +++ b/src/app/clusters/operational-credentials-server/operational-credentials-server.cpp @@ -386,15 +386,6 @@ EmberAfNodeOperationalCertStatus ConvertToNOCResponseStatus(CHIP_ERROR err) } // namespace -// Up for discussion in Multi-Admin TT: chip-spec:#2891 -bool emberAfOperationalCredentialsClusterRemoveAllFabricsCallback(EndpointId endpoint, app::CommandHandler * commandObj) -{ - // TODO - Delete RemoveAll fabrics command as this is not spec compliant - ChipLogError(Zcl, "operational-credentials cluster received remove all fabric command, which is not supported"); - emberAfSendImmediateDefaultResponse(EMBER_ZCL_STATUS_SUCCESS); - return true; -} - bool emberAfOperationalCredentialsClusterAddNOCCallback(EndpointId endpoint, app::CommandHandler * commandObj, ByteSpan NOCValue, ByteSpan ICACValue, ByteSpan IPKValue, NodeId adminNodeId, uint16_t adminVendorId) @@ -684,14 +675,6 @@ bool emberAfOperationalCredentialsClusterOpCSRRequestCallback(EndpointId endpoin return true; } -bool emberAfOperationalCredentialsClusterUpdateOpCertCallback(EndpointId endpoint, app::CommandHandler * commandObj, ByteSpan NOC, - ByteSpan ICACertificate) -{ - EmberAfStatus status = EMBER_ZCL_STATUS_FAILURE; - emberAfSendImmediateDefaultResponse(status); - return true; -} - bool emberAfOperationalCredentialsClusterAddTrustedRootCertificateCallback(EndpointId endpoint, app::CommandHandler * commandObj, ByteSpan RootCertificate) {