31#define serialfd_t HANDLE
32#define INVALID_SERIAL INVALID_HANDLE_VALUE
35#define INVALID_SERIAL -1
38unsigned long serial_port_send(serialfd_t serialfd,
unsigned char c);
39unsigned long serial_port_rec(serialfd_t serialfd,
unsigned char* c);
40int serial_port_get_dsr(serialfd_t serialfd);
41int serial_port_open(serialfd_t* serialfd,
const char* SERIALDEVICE);
42int serial_port_cfg(serialfd_t serialfd,
float serialexbaud);
43int serial_port_close(serialfd_t* serialfd);
44char* serial_port_list(
void);