Skip to content

Commit

Permalink
Correct class name in readme.rst (#8751)
Browse files Browse the repository at this point in the history
Text referred to an object name ESPHTTPUpdate, but context called for class name ESP8266HTTPUpdate
  • Loading branch information
DarioGHub authored Dec 11, 2022
1 parent 6aa22ac commit a4a8782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/ota_updates/readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ In case OTA update fails dead after entering modifications in your sketch, you c
HTTP Server
-----------

``ESPhttpUpdate`` class can check for updates and download a binary file from HTTP web server. It is possible to download updates from every IP or domain address on the network or Internet.
``ESP8266HTTPUpdate`` class can check for updates and download a binary file from HTTP web server. It is possible to download updates from every IP or domain address on the network or Internet.

Note that by default this class closes all other connections except the one used by the update, this is because the update method blocks. This means that if there's another application receiving data then TCP packets will build up in the buffer leading to out of memory errors causing the OTA update to fail. There's also a limited number of receive buffers available and all may be used up by other applications.

Expand Down

0 comments on commit a4a8782

Please sign in to comment.