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:
97:d91f7db00235
Parent:
93:580fc113d9e9
Child:
98:b977424ec7f7
--- a/net.c	Sat Dec 29 19:03:50 2018 +0000
+++ b/net.c	Wed Jan 02 17:48:38 2019 +0000
@@ -15,6 +15,7 @@
 #include   "ntp.h"
 #include  "tftp.h"
 #include   "led.h"
+#include "fault.h"
 
 bool NetTraceStack      = false;
 bool NetTraceNewLine    = false;
@@ -128,6 +129,7 @@
 }
 void NetMain()
 {
+    FaultPoint = FAULT_POINT_NetMain;
     LinkMain();
      Ar4Main();
      Ar6Main();
@@ -135,5 +137,6 @@
      Nr6Main();
      DnsMain();
      NdpMain();
-    TftpMain(); 
+    TftpMain();
+    FaultPoint = 0;
 }
\ No newline at end of file