Skip to content

Commit bbcb599

Browse files
committed
Example commit message for ESP32AsyncOTA
1 parent 8c08fc0 commit bbcb599

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

‎library.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
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
}

‎src/main.cpp‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ ESP32AsyncOTA ota(server);
1010

1111
// Your AP credentials
1212
const char *ssid = "ESP32-OTA";
13-
const char *password = "12345678";
13+
const char *password = "password123";
1414

1515
void 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

4040
void loop() {
41-
4241
}

0 commit comments

Comments
 (0)