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:
48:952dddb74b8b
Parent:
47:73af5c0b0dc2
Child:
50:492f2d2954e4
--- a/net.cpp	Thu Oct 26 14:50:24 2017 +0000
+++ b/net.cpp	Tue Oct 31 21:25:09 2017 +0000
@@ -3,7 +3,8 @@
 #include   "net.h"
 #include   "tcp.h"
 #include  "dhcp.h"
-#include    "ar.h"
+#include   "ar4.h"
+#include   "ar6.h"
 #include    "nr.h"
 #include   "dns.h"
 #include "slaac.h"
@@ -95,7 +96,8 @@
     NetName6 = name6;
          PhyInit();
          TcpInit();
-          ArInit();
+         Ar4Init();
+         Ar6Init();
           NrInit();
        SlaacInit();
     return 0;
@@ -103,7 +105,8 @@
 int NetMain()
 {
     PhyMain();
-     ArMain();
+    Ar4Main();
+    Ar6Main();
      NrMain();
    DhcpMain();
     DnsMain();