From f96f403f12405625e2709e3e45168509dfc0d904 Mon Sep 17 00:00:00 2001 From: Song Guo Date: Tue, 17 May 2022 09:47:49 +0800 Subject: [PATCH] Rename UpdateBreadcrumb --- .../clusters/network-commissioning/network-commissioning.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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);