Replies: 6 comments 4 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Hello Mathieu, and this one for S2 mini The compiler doesn't use the same packages for the two devices
Best regards |
Beta Was this translation helpful? Give feedback.
-
I've been struggling with ESPAsyncWebServer on an S2Mini. Every branch/library hits server.begin() and crashes. |
Beta Was this translation helpful? Give feedback.
-
No complaints here. This was the first library which worked. I tried to reproduce the param problem mentioned by DB59000 and got even less parameters. This was my output from Serial ESP/Arduino code for repro:
----------------------------------------------------------------END ARDUINO CODE local web page for POST repro
|
Beta Was this translation helpful? Give feedback.
-
@mathieucarbou I found your version of AsyncTCPSock (AsyncTCPSock-1.0.3-dev) and used that. It links and works perfectly. Here are the parameter outputs. Apologies for the confusion. @DB59000 Remove AsyncTCP and replace it with AsyncTCPSock-1.0.3-dev PARAM[5]: t30 = 5 |
Beta Was this translation helpful? Give feedback.
-
Many thanks to you for your help. It works perfectly now |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
HI,
I try to read data POSTed from a web page with this code on a S2 mini.
The same code is OK on an ESP32Dev
void litPageParam(AsyncWebServerRequest *request)
{
int params = request->params();
Serial.println(params);
Serial.println(request->contentLength());
Serial.println(request->contentType());
Serial.println(request->url());
for (int i = 0; i < params; i++)
{
if (p->isPost())
{
Serial.println(p->name()+" " + p->value());
}
}
}
do you have any idea?
Thanks
Didier
Beta Was this translation helpful? Give feedback.
All reactions