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:
Thu Dec 14 20:55:40 2017 +0000
Revision:
59:e0e556c8bd46
Parent:
52:fbc5a46b5e16
Child:
138:5ff0c7069300
Added buffer length to help avoid over runs

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 52:fbc5a46b5e16 1 extern bool UdpTrace;
andrewboyson 52:fbc5a46b5e16 2
andrewboyson 59:e0e556c8bd46 3 extern int UdpHandleReceivedPacket(void (*traceback)(void), int sizeRx, void* pPacketRx, int* pSizeTx, void* pPacketTx);
andrewboyson 10:f0854784e960 4 extern int UdpPollForPacketToSend(int type, int* pSize, void* pPacket);
andrewboyson 10:f0854784e960 5
andrewboyson 37:793b39683406 6 extern void UdpLogHeader(uint16_t calculatedChecksum);
andrewboyson 10:f0854784e960 7
andrewboyson 10:f0854784e960 8 extern void UdpMakeHeader(int size, void* pPacket);
andrewboyson 10:f0854784e960 9 extern void UdpAddChecksum(void*pPacket, uint16_t checksum);