Closed Bredahl closed 4 months ago
This is not related to ElegantOTA.
No, but it is related to those libraries you recommend AsyncTCP
for Esp32 (mathieucarbou) AsyncTCP @ v3.1.4 (mathieucarbou) ESPAsyncWebServer - v3.0.5
Then please open the issue in repo of dependencies. Mathieu will help you, those forks are not maintained by me.
@Bredahl : the api was fixed. The object is not mutable so you need to use const. The api enforces that now
'const AsyncWebParameter* p = request->getParam(i);'
thank you very much. That's what made it work!!
I get these two error messages, with query parameters
a value of type "const AsyncWebParameter " cannot be used to initialize an entity of type "AsyncWebParameter " invalid conversion from 'const AsyncWebParameter' to 'AsyncWebParameter' [-fpermissive]
when I use this code in Platform IO
server.on("/itvl", HTTP_GET, [](AsyncWebServerRequest *request){ int paramsNr = request->params(); Serial.println(paramsNr);
});