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

Committer:
andrewboyson
Date:
Sun Nov 11 15:44:23 2018 +0000
Revision:
79:f50e02fb5c94
Parent:
61:aad055f1b0d1
Child:
144:6bd5c54efc7d
Added RTO support to TCP and fixed a problem with polling of different IP versions.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 61:aad055f1b0d1 1 #include <stdarg.h>
andrewboyson 79:f50e02fb5c94 2 #include <stdint.h>
andrewboyson 54:84ef2b29cf7e 3
andrewboyson 54:84ef2b29cf7e 4 extern void TcpBufAddChar (char c);
andrewboyson 54:84ef2b29cf7e 5 extern void TcpBufFillChar (char c, int length);
andrewboyson 54:84ef2b29cf7e 6 extern int TcpBufAddText (const char* text);
andrewboyson 54:84ef2b29cf7e 7 extern int TcpBufAddV (char *fmt, va_list argptr);
andrewboyson 54:84ef2b29cf7e 8 extern int TcpBufAddF (char *fmt, ...);
andrewboyson 54:84ef2b29cf7e 9 extern void TcpBufAddData (const char* data, int length);
andrewboyson 54:84ef2b29cf7e 10 extern void TcpBufAddStream(void (*startFunction)(void), int (*enumerateFunction)(void));
andrewboyson 54:84ef2b29cf7e 11
andrewboyson 79:f50e02fb5c94 12 extern void TcpBufStart (uint32_t position, int mss, char *pData);
andrewboyson 61:aad055f1b0d1 13 extern int TcpBufLength (void);