Skip to content

Conversation

earlephilhower
Copy link
Collaborator

The OTA script was not reporting the actual reported upload status from
the ESP8266, and instead always printed "Result: OK" no matter what
happened.

Now check for ERROR or OK in final message (and ensure the message is
not accidentally merged with the final byte count) and report properly.

Fixes #7162

earlephilhower and others added 5 commits April 9, 2020 16:19
The OTA script was not reporting the actual reported upload status from the ESP8266, and instead always printed "Result: OK" no matter what happened. Now check for ERROR or OK in final message (and ensure the message is not accidentally merged with the final byte count) and report properly. Fixes esp8266#7162
Add comments to the final if-else for status message parsing. Adjust return statement
@earlephilhower earlephilhower requested a review from devyte April 14, 2020 20:14
@earlephilhower earlephilhower merged commit 9632e86 into esp8266:master Apr 16, 2020
@earlephilhower earlephilhower deleted the espota1 branch April 16, 2020 22:15
@lorol
Copy link

lorol commented Apr 21, 2020

Hi, on Arduino IDE 1.8.12 Win64 after this commit the network port of a sketch w/ usual OTA is there after an upload but later (on next start of the IDE) it disappears. Please verify.

@devyte
Copy link
Collaborator

devyte commented Apr 21, 2020

Please open a new issue and follow the issue template instructions. Please be specific about how to reproduce.

@lorol
Copy link

lorol commented Apr 21, 2020

Sorry, the problem is not here. It is a side effect on my setup after this change:
#7213

I have 2 x active network interfaces on a Win10 PC.
Not sure if this needs to be corrected but it is annoying. Yes I will open an issue if needed. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment