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/ntp.h
- Committer:
- andrewboyson
- Date:
- 2017-06-26
- Revision:
- 20:23f2b29b48ea
- Parent:
- 19:43c70b424fc1
- Child:
- 22:914b970356f0
File content as of revision 20:23f2b29b48ea:
extern bool NtpEnableServer; extern bool NtpEnableClient; extern uint64_t (*NtpGetClockRefFunction) (); extern uint64_t (*NtpGetClockNowFunction) (); extern int (*NtpGetClockStratumFunction)(); extern char* (*NtpGetClockIdentFunction) (); extern int NtpHandleRequest(int* pSize, void * pPacket); #define NTP_PORT 123