[nwprov] Add missing debugText and index to some synchronous commands (#16676)
* [nwprov] Add missing debugText and index to some synchronous commands
* string search / replace for platform code
* Run codegen
* Address comments
* Update examples
* Fix
* Fix
* Fix
* Fix
* Run Codegen
diff --git a/src/platform/Linux/NetworkCommissioningDriver.h b/src/platform/Linux/NetworkCommissioningDriver.h
index 948de0e..a474535 100644
--- a/src/platform/Linux/NetworkCommissioningDriver.h
+++ b/src/platform/Linux/NetworkCommissioningDriver.h
@@ -90,12 +90,13 @@
CHIP_ERROR CommitConfiguration() override;
CHIP_ERROR RevertConfiguration() override;
- Status RemoveNetwork(ByteSpan networkId) override;
- Status ReorderNetwork(ByteSpan networkId, uint8_t index) override;
+ Status RemoveNetwork(ByteSpan networkId, MutableCharSpan & outDebugText, uint8_t & outNetworkIndex) override;
+ Status ReorderNetwork(ByteSpan networkId, uint8_t index, MutableCharSpan & outDebugText) override;
void ConnectNetwork(ByteSpan networkId, ConnectCallback * callback) override;
// WiFiDriver
- Status AddOrUpdateNetwork(ByteSpan ssid, ByteSpan credentials) override;
+ Status AddOrUpdateNetwork(ByteSpan ssid, ByteSpan credentials, MutableCharSpan & outDebugText,
+ uint8_t & outNetworkIndex) override;
void ScanNetworks(ByteSpan ssid, ScanCallback * callback) override;
private:
@@ -139,12 +140,12 @@
CHIP_ERROR CommitConfiguration() override;
CHIP_ERROR RevertConfiguration() override;
- Status RemoveNetwork(ByteSpan networkId) override;
- Status ReorderNetwork(ByteSpan networkId, uint8_t index) override;
+ Status RemoveNetwork(ByteSpan networkId, MutableCharSpan & outDebugText, uint8_t & outNetworkIndex) override;
+ Status ReorderNetwork(ByteSpan networkId, uint8_t index, MutableCharSpan & outDebugText) override;
void ConnectNetwork(ByteSpan networkId, ConnectCallback * callback) override;
// ThreadDriver
- Status AddOrUpdateNetwork(ByteSpan operationalDataset) override;
+ Status AddOrUpdateNetwork(ByteSpan operationalDataset, MutableCharSpan & outDebugText, uint8_t & outNetworkIndex) override;
void ScanNetworks(ThreadDriver::ScanCallback * callback) override;
private: