JAndrassy / ArduinoOTA

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

Do you have any web server to test OTAskecthDownload ? #85

Closed Tindt98 closed 3 years ago

Tindt98 commented 3 years ago

I tried this example and the returncode is -2

JAndrassy commented 3 years ago

what do you mean by any webserver? did you change the example? error -2 is "This call was made when the HttpClient class wasn't expecting it to be called. Usually indicates your code is using the class incorrectly"

Tindt98 commented 3 years ago

OTAskecthDownload isn't works. i get status code -2

Vào 18:36, Th 5, 20 thg 5, 2021 Juraj Andrássy @.***> đã viết:

what do you mean?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jandrassy/ArduinoOTA/issues/85#issuecomment-845012056, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARDOB2NZZKMX3TH6MEMX3OTTOTX2VANCNFSM45GU4ZZQ .

JAndrassy commented 3 years ago

did you change the example? error -2 is "This call was made when the HttpClient class wasn't expecting it to be called. Usually indicates your code is using the class incorrectly"

Tindt98 commented 3 years ago

No, i didn't change anything in your example.

Vào Th 5, 20 thg 5, 2021 vào lúc 20:21 Juraj Andrássy < @.***> đã viết:

did you change the example? error -2 is "This call was made when the HttpClient class wasn't expecting it to be called. Usually indicates your code is using the class incorrectly"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jandrassy/ArduinoOTA/issues/85#issuecomment-845115243, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARDOB2ODZBUF6O2FZLYNHU3TOUEEVANCNFSM45GU4ZZQ .