source-code-examples icon indicating copy to clipboard operation
source-code-examples copied to clipboard

basic_example: set the baud rate to a standard value

Open dfries opened this issue 8 years ago • 1 comments

I'm using socat, and the man page said to do socat -hh |grep ' b[1-9]' to get all possible speeds, which is 30, none of them worked. Other posts claim it is 74880 baud, instead set a standard computer value. If nothing else this way the source code tells the user what to expect. socat -,echo=0,icanon=0 /dev/ttyUSB0,raw,echo=0,b115200,crnl

dfries avatar Jul 03 '16 01:07 dfries

the value that worked for me was 38400

laurogama avatar Oct 13 '16 22:10 laurogama