Yuki Suga / RTnoV4

Dependencies:   EthernetInterface mbed-rtos

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers EtherTcp.h Source File

EtherTcp.h

00001 #ifndef ETHER_TCP_HEADER_INCLUDED
00002 #define ETHER_TCP_HEADER_INCLUDED
00003 
00004 
00005 #include <stdint.h>
00006 #include "SerialDevice.h"
00007 
00008 //void EtherTcp_init(uint8_t* mac, uint8_t *ip, uint8_t *gateway, uint8_t *subnet, uint16_t port);
00009 void EtherTcp_init(/*const char* mac, */const char* ip, 
00010            const char* gateway, const char* subnet,
00011            uint16_t port) ;
00012            
00013 void EtherTcp_putc(const char c);
00014 uint8_t EtherTcp_available();
00015 uint8_t EtherTcp_getc();
00016 
00017 #endif // #ifndef ETHER_HEADER_INCLUDED