void SerialPuts(int fd, char *s)
Send a string to the serial port.
int SerialOpen(int baud)
Open and initialise the serial port with a specific baud rate.
void SerialClose(int fd)
Closes the serial port characterized by device number fd.
void SerialPrintf(int fd, char const *message,...)
Printf over Serial Port.
void SerialPutchar(int fd, unsigned char c)
Send a single character to the serial port.
int SerialDataAvail(int fd)
Return the number of bytes of data avalable to be read from the serial port.
int SerialGetchar(int fd)
Get a single character from the serial device. Note: Zero is a valid character and this function will...
void SerialFlush(int fd)
Flush the serial buffers (both tx & rx)