QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
How do I change baud rate for a serial port? |
Ref. No. |
QNX.000009984 |
Category(ies) |
Utilities, Input Devices, Configuration, Character I/O |
Issue |
How do I change the baud rate for a serial port? |
Solution |
A broad array of parameters for serial communications can be changed using the 'stty' command. Doing a 'use' on stty will show these. For example to change the baud rate to 115200 on ser1, use the following command:
stty baud=115200 </dev/ser1. |
|