Skip to content

Commit

Permalink
Remove vestigial RemoveAllFabrics and UpdateOpCert callbacks.
Browse files Browse the repository at this point in the history
This was missed when RemoveAllFabrics was removed and UpdateOpCert renamed.
  • Loading branch information
bzbarsky-apple committed Oct 2, 2021
1 parent 3d70836 commit e0c66c5
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit e0c66c5

Please sign in to comment.