Key Source Files
Keep stack-wide logic separate from per-interface policy. The stack file exposes a single init entry point; Ethernet and PPP managers expose symmetric lifecycle APIs (start, close, reconnect, isNetworkReady) that JSON maps to macros.
| File | Responsibility |
|---|---|
AppCycloneStack.h / AppCycloneStack.c | Declares and implements appCycloneTcpIpStackInit()—call once before interfaces. |
AppCycloneEthMng.h / .c | Ethernet: link setup, driver hooks, address configuration as required by your board. |
AppCyclonePPPMng.h / .c | PPP/GSM: modem control, UART, dial-up context. |