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
tcp/tcp.h
- Committer:
- andrewboyson
- Date:
- 2018-01-11
- Revision:
- 61:aad055f1b0d1
- Parent:
- 59:e0e556c8bd46
- Child:
- 71:736a5747ade1
File content as of revision 61:aad055f1b0d1:
#include <stdint.h>
#include <stdbool.h>
extern bool TcpTrace;
extern int TcpHandleReceivedPacket(void (*traceback)(void), int sizeRx, void* pPacketRx, int* pSizeTx, void* pPacketTx);
extern void TcpLogHeader(uint16_t calculatedChecksum);
extern void TcpMakeHeader(int size, void* pPacket);
extern void TcpAddChecksum(void*pPacket, uint16_t checksum);