JAndrassy / ArduinoOTA

Arduino library to upload sketch over network to Arduino board with WiFi or Ethernet libraries
GNU Lesser General Public License v2.1
450 stars 91 forks source link

The number of bytes downloaded is wrong with the actual upload #92

Closed Tindt98 closed 3 years ago

Tindt98 commented 3 years ago

I using arduino 2560 with otiboot. My Sketch uses 37530 bytes (14%) of program storage space. when i download code by using OTAsketchdownload : Update status code: 200 Server returned update file of size -28010 bytes Sketch update apply and reset. After that my Arduino board hang on. how do i fix this? Thank you for creating a great library.

JAndrassy commented 3 years ago

yes, it is a known error of the ArduinoHttpClient library https://github.com/arduino-libraries/ArduinoHttpClient/pull/103