You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I gave a server implemented via a W5100. Now, some internal processes might fail and don't react on time and cause a reboot of the pico (rp2040.wdt_begin(wdt_ms) is used). Is there a way to have the server send HTTP-Response if a timeout occurs before wdt_ms runs out?
I think showing the whole code might be a little to much, I state here the used libraries.
#include <W5100lwIP.h> // Or W5100lwIP.h or ENC28J60lwIP.h
Wiznet5100lwIP eth(17 /* chip select */); // or Wiznet5100lwIP or ENC28J60lwIP
#include <WebServer.h>
#include <LEAmDNS.h>
#include <ArduinoOTA.h>
#include <TelnetStream.h>
#include <WiFiClient.h>
#include "Wire.h"
#include "jled.h"
#include "gui_html.h"
#include "i2c_client.h"
#include "ArduinoJson.h"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I gave a server implemented via a W5100. Now, some internal processes might fail and don't react on time and cause a reboot of the pico (rp2040.wdt_begin(wdt_ms) is used). Is there a way to have the server send HTTP-Response if a timeout occurs before wdt_ms runs out?
I think showing the whole code might be a little to much, I state here the used libraries.
Thanks for the ideas to have as solution to this.
Beta Was this translation helpful? Give feedback.
All reactions