File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 "frameworks" : " arduino" ,
1818 "platforms" : " espressif32" ,
1919 "dependencies" : {
20- "ESP32Async/ESPAsyncWebServer" : " ^3.8.1" ,
21- "ESP32Async/AsyncTCP" : " ^3.8.1"
20+ "ESP32Async/ESPAsyncWebServer" : " ^3.8.1"
2221 }
2322}
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ ESP32AsyncOTA ota(server);
1010
1111// Your AP credentials
1212const char *ssid = " ESP32-OTA" ;
13- const char *password = " 12345678 " ;
13+ const char *password = " password123 " ;
1414
1515void setup () {
1616 Serial.begin (115200 );
1717
18- // Start WiFi in Access Point mode
18+ // Start WiFi Access Point
1919 WiFi.softAP (ssid, password);
2020 Serial.println (" AP started at: " + WiFi.softAPIP ().toString ());
2121
@@ -33,10 +33,9 @@ void setup() {
3333 // Enable OTA updates at /update
3434 ota.begin ();
3535
36- // Start the server
36+ // Start the server to accept connections
3737 server.begin ();
3838}
3939
4040void loop () {
41-
4241}
You can’t perform that action at this time.
0 commit comments