RCOM PROJ
File transfer via serial port
|
Go to the source code of this file.
Data Structures | |
struct | linkLayer |
Struct to hold information about the Link Layer. More... | |
Macros | |
#define | _GNU_SOURCE |
Functions | |
int | llopen (int porta, int type) |
Opens a data connection with the serial port. More... | |
int | llwrite (int fd, char *buffer, int lenght) |
Writes the content of buffer to fd. More... | |
int | llread (int fd, unsigned char *buffer) |
Reads from fd to buffer. More... | |
int | llclose (int fd) |
Closes the connection to the serial port. More... | |
Variables | |
struct linkLayer | linkLayer |
Data relative to the link layer. More... | |
struct termios | oldtio |
used in llclose to reset termios More... | |
volatile int | failed |
used in the alarm handler More... | |
#define _GNU_SOURCE |