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

Linux custom baudrate not work Linux下设置自定义波特率不起作用 #76

Closed
itas109 opened this issue Jul 11, 2023 · 0 comments
Closed
Labels

Comments

@itas109
Copy link
Owner

itas109 commented Jul 11, 2023

Describe the bug
Linux custom baudrate not work
Linux下设置自定义波特率不起作用

To Reproduce

CSerialPort sp;
sp.init("/dev/ttyS0", 100);
sp.open();
bool isOpen = sp.isOpen();

isOpen is true, but receive data is messy code
isOpen返回成功,但接收是乱码

Expected behavior
isOpen is true, receive normal
isOpen返回成功,且接收正常

Desktop (please complete the following information):

  • OS: ubuntu 22.04
  • Compiler: g++ 11.3.0
  • Version: 4.3.0
@itas109 itas109 added the bug label Jul 11, 2023
@itas109 itas109 changed the title Linux custom bauderate not work Linux下设置自定义波特率不起作用 Linux custom baudrate not work Linux下设置自定义波特率不起作用 Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant