Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix espota completion success/fail check #7204

Merged
merged 7 commits into from
Apr 16, 2020

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
tools/espota.py Outdated Show resolved Hide resolved
tools/espota.py Show resolved Hide resolved
Add comments to the final if-else for status message parsing.

Adjust return statement
@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
Projects
None yet
3 participants