W5200(WIZ820io) network interface
Diff: w5200NetIf.h
- Revision:
- 0:61831b843b44
- Child:
- 1:803123933c5a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/w5200NetIf.h Sat Apr 14 17:21:11 2012 +0000 @@ -0,0 +1,20 @@ +// w5200NetIf.h 2012/4/13 +#ifndef W5200_NETIF_H +#define W5200_NETIF_H +#include "MyNetIf.h" + +class w5200NetIf : public MyNetIf { +public: + w5200NetIf(); + w5200NetIf(IpAddr ip, IpAddr netmask, IpAddr gateway, IpAddr dns); + int IPrenew(int timeout_ms = 15000); + int IPrelease(int timeout_ms = 15000); + int setup(int timeout_ms = 15000); +private: + bool m_useDhcp; + IpAddr m_netmask; + IpAddr m_gateway; + IpAddr m_dns; + const char* m_hostname; +}; +#endif //W5200_NETIF_H