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
Diff: tcp/tcpbuf.h
- Revision:
- 155:22f249751106
- Parent:
- 146:0fc66d610fd6
--- a/tcp/tcpbuf.h Wed Jul 31 15:10:53 2019 +0000 +++ b/tcp/tcpbuf.h Tue Aug 20 14:49:00 2019 +0000 @@ -1,7 +1,8 @@ #include <stdint.h> #include <stdbool.h> -extern void TcpBufStart (uint32_t position, int mss, char *pData); -extern void TcpBufAddChar(char c); -extern int TcpBufLength (void); -extern bool TcpBufFilled (void); \ No newline at end of file +extern void TcpBufStart (uint32_t position, int mss, uint8_t *pData); +extern void TcpBufAddChar (char c); +extern uint8_t* TcpBufGetPointerNext(void); +extern int TcpBufLength (void); +extern bool TcpBufFilled (void); \ No newline at end of file