AndiDittrich / NodeMCU-Tool

:wrench: Upload + Manage Lua files on NodeMCU
https://www.npmjs.com/package/nodemcu-tool
MIT License
310 stars 54 forks source link

Failure to upload should result in a non-zero return code. #48

Closed Willamin closed 6 years ago

Willamin commented 6 years ago

I frequently see the following error message:

[NodeMCU-Tool] Unable to establish connection - Timeout, no response detected - is NodeMCU online and the Lua interpreter ready ?

Because this error message always results in a 0 return code, I'm unable write a script to automatically retry.

AndiDittrich commented 6 years ago

i'll check this

AndiDittrich commented 6 years ago

i've added different return codes in NodeMCU-Tool v3

please give it a try :)

Willamin commented 6 years ago

Thanks, @AndiDittrich! It looks good to me.