Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add setClientTimeout() to ESP8266HTTPUpdate#8740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mcspr merged 7 commits intoesp8266:masterfromDarioGHub:dwb_ESP8266HTTPUpdate
Dec 6, 2022
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
added call to new method setClientTimeout
changed commented setDebugOutput to false to reflect the core 3 behaviour of wifi debug output by default.Removed a couple of newlines, and the 4 second wait block from setup.
  • Loading branch information
@DarioGHub
DarioGHub authoredDec 4, 2022
commite31ce329362c6a1e67f11aa21ef9d2cde511968c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -23,17 +23,11 @@ ESP8266WiFiMulti WiFiMulti;
void setup() {

Serial.begin(115200);
// Serial.setDebugOutput(true);
// Serial.setDebugOutput(false);

Serial.println();
Serial.println();
Serial.println();

for (uint8_t t = 4; t > 0; t--) {
Serial.printf("[SETUP] WAIT %d...\n", t);
Serial.flush();
delay(1000);
}
ESPhttpUpdate.setClientTimeout(2000); // default was 8000

WiFi.mode(WIFI_STA);
WiFiMulti.addAP(APSSID, APPSK);
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp