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:
10:f0854784e960
Parent:
9:91dae5300a4d
Child:
11:c051adb70c5a
--- a/net.cpp	Tue Apr 04 10:41:25 2017 +0000
+++ b/net.cpp	Sun Apr 16 14:21:55 2017 +0000
@@ -8,6 +8,8 @@
 #include "slaac.h"
 #include   "ndp.h"
 
+char* NetName;
+
 static void addHexNibble(bool* pAdded, int number, int index, char** pp)
 {
     int nibble = number;
@@ -146,8 +148,9 @@
     return oneshot;
 }
 
-int NetInit()
+int NetInit(char* name)
 {
+    NetName = name;
     PhyInit();
     TcpInit();
      ArInit();