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:
- 83:08c983006a6e
- Parent:
- 61:aad055f1b0d1
- Child:
- 84:e453577f2e92
--- a/net.c Thu Nov 15 18:42:42 2018 +0000 +++ b/net.c Sat Nov 17 15:49:03 2018 +0000 @@ -14,11 +14,11 @@ #include "ndp.h" #include "ntp.h" #include "tftp.h" +#include "led.h" bool NetTraceStack = false; bool NetTraceNewLine = false; bool NetTraceVerbose = false; -bool NetPreferIp4Polled = false; const char* NetName4; const char* NetName6; @@ -128,14 +128,22 @@ } void NetMain() { + Led1Set(true); + Led2Set(true); + Led3Set(true); LinkMain(); TcbMain(); Ar4Main(); + Led3Set(false); Ar6Main(); Nr4Main(); Nr6Main(); + Led2Set(false); + Led3Set(true); DhcpMain(); DnsMain(); + Led3Set(false); NdpMain(); TftpMain(); + Led1Set(false); } \ No newline at end of file