I use Linux as a programming platform. And I want to create a program that uses the serial port (/ dev / ttyS0) as the communication medium. I already know how to open, read, write and close the serial port using the standard Linux function.
Now my question is: how can I configure the serial port? I want to say that I want to programmatically change the parameters of a serial device.
Many thanks.
source
share