@@ -94,6 +94,9 @@ class NetworkCommissioningCluster : private NetworkCommissioningLogicListNode,
9494 // with that name, with different semantics.
9595 void Deinit ();
9696
97+ // Sets the breadcrumb attribute in GeneralCommissioning cluster, no-op when breadcrumbValue is NullOptional.
98+ void UpdateBreadcrumb (const Optional<uint64_t > & breadcrumbValue);
99+
97100 // BaseDriver::NetworkStatusChangeCallback
98101 void OnNetworkingStatusChange (DeviceLayer::NetworkCommissioning::Status aCommissioningError, Optional<ByteSpan> aNetworkId,
99102 Optional<int32_t > aConnectStatus) override ;
@@ -110,27 +113,6 @@ class NetworkCommissioningCluster : private NetworkCommissioningLogicListNode,
110113 void OnFinished (DeviceLayer::NetworkCommissioning::Status err, CharSpan debugText,
111114 DeviceLayer::NetworkCommissioning::ThreadScanResponseIterator * networks) override ;
112115
113- // Actual handlers of the commands
114- std::optional<DataModel::ActionReturnStatus>
115- HandleScanNetworks (CommandHandler & handler, const ConcreteCommandPath & commandPath,
116- const NetworkCommissioning::Commands::ScanNetworks::DecodableType & req);
117- std::optional<DataModel::ActionReturnStatus>
118- HandleAddOrUpdateWiFiNetwork (CommandHandler & handler, const ConcreteCommandPath & commandPath,
119- const NetworkCommissioning::Commands::AddOrUpdateWiFiNetwork::DecodableType & req);
120- std::optional<DataModel::ActionReturnStatus>
121- HandleAddOrUpdateThreadNetwork (CommandHandler & handler, const ConcreteCommandPath & commandPath,
122- const NetworkCommissioning::Commands::AddOrUpdateThreadNetwork::DecodableType & req);
123- std::optional<DataModel::ActionReturnStatus>
124- HandleRemoveNetwork (CommandHandler & handler, const ConcreteCommandPath & commandPath,
125- const NetworkCommissioning::Commands::RemoveNetwork::DecodableType & req);
126- std::optional<DataModel::ActionReturnStatus>
127- HandleConnectNetwork (CommandHandler & handler, const ConcreteCommandPath & commandPath,
128- const NetworkCommissioning::Commands::ConnectNetwork::DecodableType & req);
129- std::optional<DataModel::ActionReturnStatus>
130- HandleReorderNetwork (CommandHandler & handler, const ConcreteCommandPath & commandPath,
131- const NetworkCommissioning::Commands::ReorderNetwork::DecodableType & req);
132- std::optional<DataModel::ActionReturnStatus> HandleNonConcurrentConnectNetwork ();
133-
134116#if CHIP_DEVICE_CONFIG_ENABLE_WIFI_PDC
135117 std::optional<DataModel::ActionReturnStatus>
136118 HandleQueryIdentity (CommandHandler & handler, const ConcreteCommandPath & commandPath,
@@ -262,8 +244,26 @@ class NetworkCommissioningCluster : private NetworkCommissioningLogicListNode,
262244 // cluster. Will set mCurrentOperationBreadcrumb to NullOptional.
263245 void CommitSavedBreadcrumb ();
264246
265- // Sets the breadcrumb attribute in GeneralCommissioning cluster, no-op when breadcrumbValue is NullOptional.
266- void UpdateBreadcrumb (const Optional<uint64_t > & breadcrumbValue);
247+ // Actual handlers of the commands
248+ std::optional<DataModel::ActionReturnStatus>
249+ HandleScanNetworks (CommandHandler & handler, const ConcreteCommandPath & commandPath,
250+ const NetworkCommissioning::Commands::ScanNetworks::DecodableType & req);
251+ std::optional<DataModel::ActionReturnStatus>
252+ HandleAddOrUpdateWiFiNetwork (CommandHandler & handler, const ConcreteCommandPath & commandPath,
253+ const NetworkCommissioning::Commands::AddOrUpdateWiFiNetwork::DecodableType & req);
254+ std::optional<DataModel::ActionReturnStatus>
255+ HandleAddOrUpdateThreadNetwork (CommandHandler & handler, const ConcreteCommandPath & commandPath,
256+ const NetworkCommissioning::Commands::AddOrUpdateThreadNetwork::DecodableType & req);
257+ std::optional<DataModel::ActionReturnStatus>
258+ HandleRemoveNetwork (CommandHandler & handler, const ConcreteCommandPath & commandPath,
259+ const NetworkCommissioning::Commands::RemoveNetwork::DecodableType & req);
260+ std::optional<DataModel::ActionReturnStatus>
261+ HandleConnectNetwork (CommandHandler & handler, const ConcreteCommandPath & commandPath,
262+ const NetworkCommissioning::Commands::ConnectNetwork::DecodableType & req);
263+ std::optional<DataModel::ActionReturnStatus>
264+ HandleReorderNetwork (CommandHandler & handler, const ConcreteCommandPath & commandPath,
265+ const NetworkCommissioning::Commands::ReorderNetwork::DecodableType & req);
266+ std::optional<DataModel::ActionReturnStatus> HandleNonConcurrentConnectNetwork ();
267267};
268268
269269} // namespace Clusters
0 commit comments