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:
121:bc048b65a630
Parent:
113:904b40231907
Child:
136:8a65abb0dc63
--- a/ip6/ip6addr.c	Tue Jan 29 18:32:57 2019 +0000
+++ b/ip6/ip6addr.c	Mon Feb 04 15:27:33 2019 +0000
@@ -62,7 +62,7 @@
     
     if (nibble || *pAdded)
     {
-        LogPush(nibble < 10 ? nibble + '0' : nibble - 10 + 'a');
+        LogChar(nibble < 10 ? nibble + '0' : nibble - 10 + 'a');
         *pAdded = true;
     }
 }
@@ -84,7 +84,7 @@
         pIp += 2;
         if (pIp >= pIpE) break;
         
-        LogPush(':'); count++;
+        LogChar(':'); count++;
     }
     return count;
 }