Hi all,
We use a loopback connector on RS232 port, which rx connect to tx pin, and rts connect to cts pin.
And linux-serial-test @ https://github.com/cbrake/linux-serial-test is used to test flow control
the command is:
> linux-serial-test -p /dev/ttyS1 -s -e -c -r
-s, --stats Dump serial port stats every 5s
-e, --dump-err Display errors
-c, --rts-cts Enable RTS/CTS flow control
-r, --no-rx Don't receive data (can be used to test flow control)
when serial driver buffer is full
the expect result is the program should stop sending data after 4096 bytes is sent if flow control work, cause the serial driver buffer size if 4096.
But the test result is the program keep sending data after 4096 bytes is sent.
Do you know how to verify RTS/CTS?
thanks!
BR,
Denny