Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: tcp/tcp.h
- Revision:
- 71:736a5747ade1
- Parent:
- 61:aad055f1b0d1
- Child:
- 73:43e3d7fb3d60
--- a/tcp/tcp.h Fri Feb 16 17:31:52 2018 +0000 +++ b/tcp/tcp.h Sat Oct 20 18:56:13 2018 +0000 @@ -3,7 +3,8 @@ extern bool TcpTrace; -extern int TcpHandleReceivedPacket(void (*traceback)(void), int sizeRx, void* pPacketRx, int* pSizeTx, void* pPacketTx); +extern int TcpHandleReceivedPacket(void (*traceback)(void), int sizeRx, void* pPacketRx, int* pSizeTx, void* pPacketTx, int type, void* pCachedRemIp); +extern int TcpPollForPacketToSend(int* pSize, void* pPacket, int type, void* pCachedRemIp); extern void TcpLogHeader(uint16_t calculatedChecksum);