Skip to content

Commit

Permalink
Rename UpdateBreadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
erjiaqing committed May 17, 2022
1 parent 496db29 commit f96f403
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,13 @@ class Instance : public CommandHandlerInterface,
uint8_t mLastNetworkIDLen = 0;

Optional<uint64_t> 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<uint64_t> & breadcrumbValue);
void UpdateBreadcrumb();

// Actual handlers of the commands
void HandleScanNetworks(HandlerContext & ctx, const Commands::ScanNetworks::DecodableType & req);
Expand Down

0 comments on commit f96f403

Please sign in to comment.