hi, my program (arduino/esp/other) expects to receive full strings, it fails when single chars are received instead.
line mode is easier/cheaper to parse and saves some processing and memory because you can use a global shared buffer for many other internal tasks ... with single char received will complex programs adding code to collect chars and handle situation, and have to allocate dedicated buffer for each internal task
in other terminals (including putty, ncat, and telnet for windows command line) transmission mode can be set to buffer input locally and send all together when ascii LF is detected (aka line mode) , or no buffer and send each character at once when typed (char mode, current config)
if this feature is already present is not clear in documentation, please explain how to switch between "character mode" and "line mode" transmissions... and if so then update documentation please
thanks for your work
hi, my program (arduino/esp/other) expects to receive full strings, it fails when single chars are received instead.
line mode is easier/cheaper to parse and saves some processing and memory because you can use a global shared buffer for many other internal tasks ... with single char received will complex programs adding code to collect chars and handle situation, and have to allocate dedicated buffer for each internal task
in other terminals (including putty, ncat, and telnet for windows command line) transmission mode can be set to buffer input locally and send all together when ascii LF is detected (aka line mode) , or no buffer and send each character at once when typed (char mode, current config)
if this feature is already present is not clear in documentation, please explain how to switch between "character mode" and "line mode" transmissions... and if so then update documentation please
thanks for your work