diff --git a/src/app/clusters/network-commissioning/network-commissioning.h b/src/app/clusters/network-commissioning/network-commissioning.h index 690789aa9584b7..fddd41098147c4 100644 --- a/src/app/clusters/network-commissioning/network-commissioning.h +++ b/src/app/clusters/network-commissioning/network-commissioning.h @@ -101,8 +101,13 @@ class Instance : public CommandHandlerInterface, uint8_t mLastNetworkIDLen = 0; Optional mCurrentOperationBreadcrumb; + + // Commits the breadcrumb value saved in mCurrentOperationBreadcrumb to the breadcrumb attribute in GeneralCommissioning + // cluster. Will set mCurrentOperationBreadcrumb to NullOptional. + void CommitSavedBreadcrumb(); + + // Sets the breadcrumb attribute in GeneralCommissioning cluster, no-op when breadcrumbValue is NullOptional. void UpdateBreadcrumb(const Optional & breadcrumbValue); - void UpdateBreadcrumb(); // Actual handlers of the commands void HandleScanNetworks(HandlerContext & ctx, const Commands::ScanNetworks::DecodableType & req);