0

I am sending specific UDP packets with my esp8266 every 5s, I have added an OTA update command, and added the update_progress callback aiming to send it back to my laptop, using a serial terminal I noticed that regular packets, as well as the progress packet, are not sent during the update, everything gets back after. Is the esp able to send and receive packets simultaneously?, is there any interference or the OTA update process causes an interruption?

Hardware: ESP8266MOD Nodemcu

Software: VS code with portable Arduino 1.8.9, espcore 2.6.3

asked Jun 18, 2020 at 10:45

1 Answer 1

0

esp8266 ArduinoOTA library has

 WiFiUDP::stopAll();
 WiFiClient::stopAll();

to ensure undisturbed OTA upload

answered Jun 18, 2020 at 12:54
2
  • Any way to trick it to enable UDP, or sweep between TCP(for OTA) and UDP, I am using the ESP8266httpUpdate library and it disables all wifi clients except TCP, commenting that section did nothing Commented Jun 19, 2020 at 11:01
  • @AlaeddineSalem, you can try to remove the lines from the library Commented Jun 19, 2020 at 11:25

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.