This is the Interface library for WIZnet W5500 chip which forked of EthernetInterfaceW5500, WIZnetInterface and WIZ550ioInterface. This library has simple name as "W5500Interface". and can be used for Wiz550io users also.

Dependents:   EvrythngApi Websocket_Ethernet_HelloWorld_W5500 Websocket_Ethernet_W5500 CurrentWeatherData_W5500 ... more

Information

It has EthernetInterface class like official EthernetInterface , but uses Wiznet chip driver codes.

So this library can use only the WIZnet W5500 or WIZ550io users.

This library has referred to many project such as WIZ550ioInterface, WiflyInterface and WIZnet Library.

Thanks all.

Revision:
1:8f4374f932b4
Parent:
0:e11e8793c3ce
Child:
5:8aefaef88f79
--- a/EthernetInterface.cpp	Wed Aug 20 00:28:37 2014 +0000
+++ b/EthernetInterface.cpp	Wed Aug 20 01:55:36 2014 +0000
@@ -1,4 +1,30 @@
 // EthernetInterface for W5500 2014/8/20
+/*
+// sample usgae. 
+// copy below code block to main code.
+
+#if defined(TARGET_LPC1114)
+    SPI spi(dp2, dp1, dp6); // mosi, miso, sclk
+    EthernetInterface eth(&spi, dp25, dp26); // spi, cs, reset
+    wait(1); // 1 second for stable state
+#elif defined(TARGET_LPC1768)
+    SPI spi(p11, p12, p13); // mosi, miso, sclk
+    EthernetInterface eth(&spi, p14, p15); // spi, cs, reset
+    wait(1); // 1 second for stable state
+#elif defined(TARGET_LPC11U68)
+    SPI spi(P0_9, P0_8, P1_29); // mosi, miso, sclk
+    EthernetInterface eth(&spi, P0_2, P1_28);//, nRESET(p9); // reset pin is dummy, don't affect any pin of WIZ550io
+    spi.format(8,0); // 8bit, mode 0
+    spi.frequency(7000000); // 7MHz
+    wait(1); // 1 second for stable state
+#endif
+
+    eth.init(); //Use DHCP
+    dbg.printf("init\r\n");
+    eth.connect();
+    dbg.printf("IP address: %s\r\n", eth.getIPAddress());
+
+*/
 
 #include "EthernetInterface.h"
 #include "DHCPClient.h"