Modified for W5500 Ethernet initialize Added the Ethernet interface re-initialize code Added the connection retry

Dependents:   ThingPlug_Ethernet_Example

Fork of GMMP_mbed by Eric Jung

Revision:
2:0c4e3edf2918
Parent:
1:29d7f5c53126
Child:
3:6b4536e1962f
--- a/GMMP.cpp	Sun Aug 09 14:55:24 2015 +0000
+++ b/GMMP.cpp	Sun Aug 09 15:02:18 2015 +0000
@@ -54,9 +54,9 @@
 	#ifdef USE_WIZNET_W5500
 	#include "WIZnetInterface.h"
 	SPI spi(PA_7, PA_6, PA_5); // mosi, miso, sclk
-	char g_memory_guard_before[32];
+	char g_memory_guard_before[16];
     WIZnetInterface ethernet(&spi, PB_6, PA_9);//scs(PB_6), nRESET(PA_9); // reset pin is dummy, don't affect any pin of WIZ550io
-    char g_memory_guard_after[32];
+    char g_memory_guard_after[16];
 	#endif//USE_WIZNET_W5500
 #endif