fork WIZnetInterface

Dependents:   Weather_Forecast_Helloworld_WIZwiki-W750 Weather_Forecast_Helloworld_WIZwiki-W750 Weather_Forecast_Helloworld_WIZwiki-W750_test DHCPAddressAssignment ... more

Fork of WIZnetInterface by WIZnet

Revision:
4:4930f81bbe98
Parent:
3:f8c6efc8bf83
Child:
7:da6fcec0f3fe
--- 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;
 }