Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basic_example: set the baud rate to a standard value #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dfries
Copy link

@dfries dfries commented Jul 3, 2016

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

This way it is obvious what the baud rate is set to, and easy to
change.  As a beginner I was frustrated when I tried all baud rates
available and none worked.
@laurogama
Copy link

the value that worked for me was 38400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants