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
Diff: net.c
- Revision:
- 112:f8694d0b8858
- Parent:
- 98:b977424ec7f7
- Child:
- 113:904b40231907
--- a/net.c Sun Jan 20 20:31:41 2019 +0000 +++ b/net.c Mon Jan 21 16:58:28 2019 +0000 @@ -13,6 +13,7 @@ #include "slaac.h" #include "ndp.h" #include "ntp.h" +#include "ntpclient.h" #include "tftp.h" #include "led.h" #include "fault.h" @@ -126,18 +127,19 @@ Nr4Init(); Nr6Init(); SlaacInit(); + NtpClientInit(); } void NetMain() { int lastFaultPoint = FaultPoint; FaultPoint = FAULT_POINT_NetMain; - LinkMain(); - Ar4Main(); - Ar6Main(); - Nr4Main(); - Nr6Main(); - DnsMain(); - NdpMain(); - TftpMain(); + LinkMain(); + Ar4Main(); + Ar6Main(); + Nr4Main(); + Nr6Main(); + DnsMain(); + NdpMain(); + TftpMain(); FaultPoint = lastFaultPoint; } \ No newline at end of file