Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

Pleasse document the fact that OTA uses UDP and not TCP

Open seurat-atreides opened this issue 3 years ago • 1 comments

I would appreciate it if you documented the fact that OTA uses UDP instead of TCP.

seurat-atreides avatar Apr 30 '22 07:04 seurat-atreides

All updaters use TCP to actually upload the firmware.

Which UDP usage you want us to mention? There are at least two:

  • ArduinoOTA initial connection happens using UDP, and then we switch to TCP (...bringing the server up on the client...)
  • MDNS is used to advertise ArduinoOTA, it is not a requirement to run it

Also note there are HTTP server & client updaters, check out the built-in libraries examples

mcspr avatar Apr 30 '22 14:04 mcspr