Library for ethernet

Dependents:   VC0706_FTP_Client_Ethernet_MQTT

Fork of WIZnetInterface by Akshay Tom

Revision:
4:4930f81bbe98
Parent:
3:f8c6efc8bf83
Child:
7:da6fcec0f3fe
diff -r f8c6efc8bf83 -r 4930f81bbe98 EthernetInterface.cpp
--- a/EthernetInterface.cpp	Mon Jun 15 12:55:19 2015 +0000
+++ b/EthernetInterface.cpp	Mon Jun 15 22:12:21 2015 +0900
@@ -54,8 +54,11 @@
     this->netmask = str_to_ip(mask);
     this->gateway = str_to_ip(gateway);
     reset();
+
+    // @Jul. 8. 2014 add code. should be called to write chip.
+    setmac();
+    setip();
     
-    if (WIZnet_Chip::setip() == false) return -1;
     return 0;
 }