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:
50:492f2d2954e4
Parent:
48:952dddb74b8b
Child:
52:fbc5a46b5e16
--- a/net.cpp	Thu Nov 02 08:10:55 2017 +0000
+++ b/net.cpp	Fri Nov 03 16:19:15 2017 +0000
@@ -5,7 +5,8 @@
 #include  "dhcp.h"
 #include   "ar4.h"
 #include   "ar6.h"
-#include    "nr.h"
+#include   "nr4.h"
+#include   "nr6.h"
 #include   "dns.h"
 #include "slaac.h"
 #include   "ndp.h"
@@ -98,7 +99,8 @@
          TcpInit();
          Ar4Init();
          Ar6Init();
-          NrInit();
+         Nr4Init();
+         Nr6Init();
        SlaacInit();
     return 0;
 }
@@ -107,7 +109,8 @@
     PhyMain();
     Ar4Main();
     Ar6Main();
-     NrMain();
+    Nr4Main();
+    Nr6Main();
    DhcpMain();
     DnsMain();
     NdpMain();