A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.

Dependents:   oldheating gps motorhome heating

Revision:
142:a8c0890a58d1
Parent:
122:402d148f85d3
--- a/link/link.c	Sat Apr 27 09:24:44 2019 +0000
+++ b/link/link.c	Wed May 08 12:15:13 2019 +0000
@@ -9,7 +9,7 @@
 #include   "link.h"
 #include    "nic.h"
 #include    "led.h"
-#include  "fault.h"
+#include "restart.h"
 #include   "jack.h"
 
 #define  LINK_PIN FIO1PIN(25)
@@ -19,13 +19,13 @@
 
 void LinkMain()
 {
-    int lastFaultPoint = FaultPoint;
-    FaultPoint = FAULT_POINT_LinkMain;
+    int lastRestartPoint = RestartPoint;
+    RestartPoint = FAULT_POINT_LinkMain;
     
     //Wait until the network is up
     if (!NicLinkIsUp())
     {
-        FaultPoint = lastFaultPoint;
+        RestartPoint = lastRestartPoint;
         return;
     }
     
@@ -64,7 +64,7 @@
     JackLeds(!LINK_PIN, !SPEED_PIN, activity);
     
     //Finish
-    FaultPoint = lastFaultPoint;
+    RestartPoint = lastRestartPoint;
 }
 
 void LinkInit()