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:
Fri May 05 17:44:16 2017 +0000
Revision:
14:e75a59c1123d
Parent:
10:f0854784e960
Child:
37:793b39683406
Made IP addresses and ports available to debug messages

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 14:e75a59c1123d 1 extern uint16_t UdpSrcPort;
andrewboyson 14:e75a59c1123d 2 extern uint16_t UdpDstPort;
andrewboyson 14:e75a59c1123d 3
andrewboyson 10:f0854784e960 4 extern int UdpHandleReceivedPacket(int* pSize, void* pPacket);
andrewboyson 10:f0854784e960 5 extern int UdpPollForPacketToSend(int type, int* pSize, void* pPacket);
andrewboyson 10:f0854784e960 6
andrewboyson 10:f0854784e960 7 extern void UdpLogHeader(char* title, void* pPacket, uint16_t calculatedChecksum);
andrewboyson 10:f0854784e960 8
andrewboyson 10:f0854784e960 9 extern void UdpReadHeader(void* pPacket, uint16_t size);
andrewboyson 10:f0854784e960 10 extern void UdpMakeHeader(int size, void* pPacket);
andrewboyson 10:f0854784e960 11 extern void UdpAddChecksum(void*pPacket, uint16_t checksum);