Added CDC-ACM sample of USBIP.

This commit is contained in:
NIIBE Yutaka
2017-06-27 15:45:04 +09:00
parent f011d643e9
commit d142cbbea3
7 changed files with 1236 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#define LINEBUFSIZE 128
struct tty;
struct tty *tty_open (void);
void tty_wait_configured (struct tty *tty);
void tty_wait_connection (struct tty *tty);
int tty_send (struct tty *tty, const char *buf, int count);
int tty_recv (struct tty *tty, char *buf, uint32_t *timeout);