File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
libraries/Matter/examples/WiFiProvWithinMatter Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1515 This same Example could be used for any other WiFi Provisioning method.
1616*/
1717
18-
1918// Matter Manager
2019#include < Matter.h>
2120#include < WiFiProv.h>
2221#include < WiFi.h>
2322
2423#if !CONFIG_BLUEDROID_ENABLED
25- #define USE_SOFT_AP // ESP32-S2 has no BLE, therefore, it shall use SoftAP Provisioning
24+ #define USE_SOFT_AP // ESP32-S2 has no BLE, therefore, it shall use SoftAP Provisioning
2625#endif
2726// #define USE_SOFT_AP // Uncomment if you want to enforce using the Soft AP method instead of BLE
2827
@@ -81,7 +80,7 @@ void setup() {
8180 Serial.println (" \r\n ================================================" );
8281 Serial.println (" Already 10 minutes past. The device will reboot." );
8382 Serial.println (" ================================================\r\n " );
84- Serial.flush (); // wait until the Serial has sent the whole message.
83+ Serial.flush (); // wait until the Serial has sent the whole message.
8584 ESP.restart ();
8685 }
8786 // WiFi searching feedback
@@ -93,10 +92,10 @@ void setup() {
9392 Serial.println ();
9493 }
9594 }
96-
95+
9796 // WiFi shall be connected by now
9897 Serial.println ();
99-
98+
10099 // Initialize at least one Matter EndPoint
101100 OnOffLight.begin ();
102101
You can’t perform that action at this time.
0 commit comments