Stub out functions to perform host-side I/O

This commit is contained in:
XANTRONIX Development 2016-05-25 20:27:38 -05:00
parent ef198866a7
commit ff398ec275

16
include/tabby/serial.h Normal file
View file

@ -0,0 +1,16 @@
#ifndef _TABBY_SERIAL_H
#define _TABBY_SERIAL_H
#include <sys/types.h>
#define TABBY_SERIAL_BAUD 115200
int tabby_serial_open(const char *dev);
void tabby_serial_close(int fd);
int tabby_serial_send(int fd, char *buf, size_t len);
ssize_t tabby_serial_recv(int fd, char *buf, size_t len);
#endif /* _TABBY_SERIAL_H */