-->
Page 1 of 2

XON XOFF

PostPosted: Fri Dec 12, 2014 8:01 pm
by hwiguna
Although I had a lot fun writing LUA Uploader, wouldn't it be better if NodeMCU supports a flag to enable/disable software flow control? That way, while developing, we can enable XON/XOFF and disable it when downloading binary data.
Most terminal programs would support XON/XOFF already, so script upload would be much faster than the fixed delay that we have to have between each line now.
Just a thought, not that high on feature list. :-)

Re: XON XOFF

PostPosted: Sat Dec 13, 2014 3:28 am
by gerardwr
Yes, XON/XOFF would be nice.

I'm using LUATOOL now, that checks the response of the ESP after every line upload. If the uploaded line and response line are not equal it reports an error. I like it.

Re: XON XOFF

PostPosted: Sat Dec 13, 2014 12:09 pm
by hwiguna
gerardwr wrote:Yes, XON/XOFF would be nice.

I'm using LUATOOL now, that checks the response of the ESP after every line upload. If the uploaded line and response line are not equal it reports an error. I like it.


Oh that's a better approach. Thanks for the tip!

Re: XON XOFF

PostPosted: Sun Dec 14, 2014 12:12 pm
by GeoNomad
gerardwr wrote:Yes, XON/XOFF would be nice.

I'm using LUATOOL now, that checks the response of the ESP after every line upload. If the uploaded line and response line are not equal it reports an error. I like it.


This is good, but slows the transfer as compared to transferring data with echo off.

In general XON/XOFF would be useful for larger file transfers at the best rate.