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
udp/udp.h
- Committer:
- andrewboyson
- Date:
- 2017-04-16
- Revision:
- 10:f0854784e960
- Child:
- 14:e75a59c1123d
File content as of revision 10:f0854784e960:
extern int UdpHandleReceivedPacket(int* pSize, void* pPacket); extern int UdpPollForPacketToSend(int type, int* pSize, void* pPacket); extern void UdpLogHeader(char* title, void* pPacket, uint16_t calculatedChecksum); extern void UdpReadHeader(void* pPacket, uint16_t size); extern void UdpMakeHeader(int size, void* pPacket); extern void UdpAddChecksum(void*pPacket, uint16_t checksum);