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:
156:be12b8fd5b21
Parent:
152:80a3840fc9f8
--- a/tcp/http/httpadd.c	Tue Aug 20 14:49:00 2019 +0000
+++ b/tcp/http/httpadd.c	Wed Aug 28 07:11:58 2019 +0000
@@ -122,7 +122,7 @@
     HttpAddNibbleAsHex(value >>  4);
     HttpAddNibbleAsHex(value >>  0);
 }
-void HttpAddBytesAsHex(const char* value, int size)
+void HttpAddBytesAsHex(const uint8_t* value, int size)
 {
     int i = 0;
     while(true)
@@ -134,7 +134,7 @@
         else             HttpAddChar(' ');
     }
 }
-void HttpAddBytesAsHexRev(const char* value, int size)
+void HttpAddBytesAsHexRev(const uint8_t* value, int size)
 {
     int i = 0;
     while(true)