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:
54:84ef2b29cf7e
Parent:
51:007bd938f2c3
--- a/eth/ar4.cpp	Thu Nov 09 15:44:29 2017 +0000
+++ b/eth/ar4.cpp	Mon Nov 13 08:06:55 2017 +0000
@@ -149,15 +149,15 @@
     {
         if (records[i].state)
         {
-            HttpReplyAddF("%4u ", (elapsed - records[i].elapsed) / 60);
+            HttpAddF("%4u ", (elapsed - records[i].elapsed) / 60);
             
             int ipLen = Ip4AddressHttp(records[i].ip);
-            HttpReplyFillChar(' ', 40 - ipLen);
+            HttpFillChar(' ', 40 - ipLen);
             
             MacHttp(records[i].mac);
             
-            HttpReplyAddChar('\r');
-            HttpReplyAddChar('\n');
+            HttpAddChar('\r');
+            HttpAddChar('\n');
         }
     }
 }