AndiDittrich/NodeMCU-Tool

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

Willamin opened this issue · 3 comments

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.

i'll check this

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

  • 0 success
  • 1 general error
  • 127 low level serial communication error

please give it a try :)

Thanks, @AndiDittrich! It looks good to me.