Signed-off-by: Bernardo Carvalho <bernardo.carvalho@tecnico.ulisboa.pt>
8 lines
209 B
C++
8 lines
209 B
C++
// C library headers
|
|
// setserial /dev/ttyS0 spd_cust
|
|
// setserial /dev/ttyS0 divisor 16
|
|
// stty -F /dev/ttyS0 921600
|
|
|
|
int openSerialPort(const char *portname);
|
|
bool configureSerialPort(int fd, int baudRate);
|