serial.h 201 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 #define SERIAL_READ 0 #define SERIAL_WRITE 1 #define SERIAL_BOTH 2 //// // Public prototypes //// int serialOpen(char *device,int mode); void serialConfig(int fd,int speed); void serialClose(int fd);