We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaac08e commit f57b791Copy full SHA for f57b791
examples/platform/esp32/common/Esp32AppServer.cpp
@@ -38,6 +38,10 @@
38
#endif // CONFIG_BT_ENABLED
39
#endif // CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE
40
41
+#ifdef CONFIG_ENABLE_CHIP_SHELL
42
+#include <lib/shell/commands/WiFi.h>
43
+#endif
44
+
45
#include <string.h>
46
47
using namespace chip;
@@ -147,6 +151,9 @@ void Esp32AppServer::Init(AppDelegate * sAppDelegate)
147
151
148
152
#if CHIP_DEVICE_CONFIG_ENABLE_WIFI
149
153
sWiFiNetworkCommissioningInstance.Init();
154
155
+ chip::Shell::SetWiFiDriver(&(chip::DeviceLayer::NetworkCommissioning::ESPWiFiDriver::GetInstance()));
156
150
157
#endif
158
#if CHIP_DEVICE_CONFIG_ENABLE_ETHERNET
159
sEthernetNetworkCommissioningInstance.Init();
0 commit comments