W5200(WIZ820io) network interface
Diff: w5200NetIf.h
- Revision:
- 2:a8df39b4f3aa
- Parent:
- 1:803123933c5a
--- a/w5200NetIf.h Tue Apr 17 12:13:15 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -// 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); - IpAddr m_dns; -private: - bool m_useDhcp; - IpAddr m_netmask; - IpAddr m_gateway; - const char* m_hostname; -}; -#endif //W5200_NETIF_H