IotWebConf icon indicating copy to clipboard operation
IotWebConf copied to clipboard

found bug concerning iotWebConf.delay() during bootup and /firmware

Open societyofrobots opened this issue 3 years ago • 0 comments

I had an issue where the /firmware link returns this error when clicking on it, blocking over air updates:

  [E][WebServer.cpp:635] _handleRequest(): request handler not found
Requested a non-existing page '/firmware'

It works fine when I use delay() in the below code, but not iotWebConf.delay().

void setup()
  {
  //small delay for proper power up
  delay(150);
  Serial.begin(115200);
  Serial.println("Starting up...");

  wifi_setup();
  delay(100);
  
  bluetooth_setup();  
  delay(50);
  }

Changing it to delay() fixes it. Hope this helps someone!

societyofrobots avatar Jun 30 '22 16:06 societyofrobots