This is WIZnet Ethernet Interface using Hardware TCP/IP chip, W5500, W5200 and W5100. One of them can be selected by enabling it in wiznet.h.
Fork of WIZnet_Library by
Diff: WIZnetInterface/WIZnetInterface.h
- Revision:
- 1:8138a268fbd2
- Parent:
- 0:b72d22e10709
diff -r b72d22e10709 -r 8138a268fbd2 WIZnetInterface/WIZnetInterface.h --- a/WIZnetInterface/WIZnetInterface.h Thu May 08 03:57:58 2014 +0000 +++ b/WIZnetInterface/WIZnetInterface.h Fri May 09 01:17:51 2014 +0000 @@ -17,7 +17,6 @@ */ #pragma once - #include "wiznet.h" /** Interface using Wiznet chip to connect to an IP-based network @@ -42,7 +41,7 @@ * Initialize the interface and configure it to use DHCP (no connection at this point). * \return 0 on success, a negative number on failure */ - int init(); //With DHCP + int init(uint8_t * mac); //With DHCP /** Initialize the interface with a static IP address. * Initialize the interface and configure it with the following static configuration (no connection at this point). @@ -51,7 +50,7 @@ * \param gateway the gateway to use * \return 0 on success, a negative number on failure */ - int init(const char* ip, const char* mask, const char* gateway); + int init(uint8_t * mac, const char* ip, const char* mask, const char* gateway); /** Connect * Bring the interface up, start DHCP if needed.