Go to the source code of this file.
Defines | |
#define | BUFFERSIZE 128 |
#define | TCPPORT 23 |
Functions | |
void | StreamCopy (FILE *istream, FILE *ostream, char *cop) |
void | Receiver (void *arg) |
int | main (void) |
#define BUFFERSIZE 128 |
#define TCPPORT 23 |
Definition at line 109 of file rs232d.c.
References BUFFERSIZE, fflush(), fread(), free, fwrite(), and malloc.
Referenced by main(), and Receiver().
void Receiver | ( | void * | arg | ) |
Definition at line 130 of file rs232d.c.
References NutThreadSetPriority(), NutThreadYield(), and StreamCopy().
Referenced by main().
int main | ( | void | ) |
Definition at line 153 of file rs232d.c.
References _fdopen(), _fileno(), _ioctl(), DEV_ETHER, DEV_ETHER_NAME, DEV_UART, DEV_UART_NAME, fclose(), fopen(), inet_addr(), NutDhcpIfConfig(), NutNetIfConfig(), NutRegisterDevice(), NutTcpAccept(), NutTcpCloseSocket(), NutTcpCreateSocket(), NutThreadCreate(), Receiver(), StreamCopy(), TCPPORT, and UART_SETSPEED.