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
ntp.h
00001 #pragma once 00002 00003 extern bool NtpTrace; 00004 00005 extern int NtpHandlePacketReceived(void (*traceback)(void), int sizeRx, char* pPacketRx, int* pSizeTx, char* pPacketTx); 00006 extern int NtpPollForPacketToSend(int type, char* pPacket, int* pSize); 00007 extern void NtpLogHeader(char* pPacket); 00008 extern void NtpInit(void); 00009 00010 #define NTP_PORT 123 00011 00012 #define NTP_CLIENT 3 00013 #define NTP_SERVER 4
Generated on Tue Jul 12 2022 18:53:40 by 1.7.2