Webserver and OTA Update - only one is working... why? #97
-
Hi, finaly I got the board Wemos Mega +WiFi R3 Module ATmega2560+ESP8266 working , was able to activate AT Firmware 1.7.5. and got the example sketches WIFIServer and the OTA WIFI working seperatly, now I am trying to combine these two, but whatever is started first is blocking the other...
IF OTA is started first, Webserver fails... and vice versa...
|
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 7 replies
-
because standard AT firmware supports only one server |
Beta Was this translation helpful? Give feedback.
-
If you don't need UDP then Jiri Bilek's firmware is the best option. I use it |
Beta Was this translation helpful? Give feedback.
-
Thank You... just short question - not sure if something went wrong or if it works as designed... |
Beta Was this translation helpful? Give feedback.
-
Jiri Bilek's firmware? use esp8266 Arduino core 2.7.4 or for 3+ patch the fw source with JiriBilek/ESP_ATMod@5cfdcb5 |
Beta Was this translation helpful? Give feedback.
-
Perfect... sorry I did not find these comments, was looking for Discussions... but not the bug reports... Leaving... @JAndrassy one last thing for now... is there a way to pay your coffee with paypal? |
Beta Was this translation helpful? Give feedback.
-
with the WebServer example?
the fw requires FS, but doesn't use OTA (for fw). for a 4 MB flash any settings with some FS is OK. Just use always the same setting to preserve saved settings of the fw.
I have PayPal for my gmail address [email protected] |
Beta Was this translation helpful? Give feedback.
-
Hi, with the modified Webserver from above, but I can try with your example again... I just tried to start the debug mode... first block is with working refresh of browser, second is failing... esp> 0,CONNECT ...processed esp INFO: send data on link 0 esp> 0,CONNECT ...processed |
Beta Was this translation helpful? Give feedback.
-
Switched back to your Demo - is working fine!!! here is my sketch again... with some improvements for debugging...
|
Beta Was this translation helpful? Give feedback.
-
have startet with you example and juste added OTA... As soon as I add ArduinoOTA.poll(); in the loop, the issue is starting... |
Beta Was this translation helpful? Give feedback.
-
but the second block is OTA. and the output doesn't show a fail. |
Beta Was this translation helpful? Give feedback.
-
Hi, I tried with debug off and 250000, and now also with 500000, no change... MAybe I should cler ESP and write the Modiefied AT Sketch again? what is the best procedure to erease all? Or is this noit relevant when I am updating wito IDE and sketch? I am now on ESP8266 Version 2.6.4, modified Jiri Bilek's firmware , Arduino Mega 2560 Optiboot, anything else I can check? Arduino is in a second VLAN, so I use a fake Programmer... shall I switch off the NO_OTA_PORT? -> allready tried - also no change... |
Beta Was this translation helpful? Give feedback.
-
sorry I forgot to document it |
Beta Was this translation helpful? Give feedback.
-
thank you for the donation. I am glad that both libraries WiFiEspAT and ArduinoOTA are useful for many |
Beta Was this translation helpful? Give feedback.
sorry
in src/utility/EspAtDrv.h
uncomment
//#define WIFIESPAT_MULTISERVER
I forgot to document it