On 7/4/20 8:23 PM, Gregory Nutt wrote:
You might want to try using apps/system/readline to read lines from
serial. It has some tricks that make it behave a little more like
canonical mode.
If you something more like a Bask command line, then you might also
consider apps/system/cle which
You might want to try using apps/system/readline to read lines from
serial. It has some tricks that make it behave a little more like
canonical mode.
If you something more like a Bask command line, then you might also
consider apps/system/cle which works like readline but provides for a
On 7/4/2020 9:48 AM, Gregory Nutt wrote:
I am trying to communicate with sensor via UART. I want to use
canonical input mode because my sensor sends its data line by line.
For this purpose I set up terminal interface like below:
structtermios config;
tcgetattr(_fd, &config)
/* Can
I am trying to communicate with sensor via UART. I want to use
canonical input mode because my sensor sends its data line by line.
For this purpose I set up terminal interface like below:
structtermios config;
tcgetattr(_fd, &config)
/* Canonical Mode Selection */
config.c_lflag