📚 AOS Docs

lwIP TCP/IP Stack

Lightweight IP Protocol Implementation

Overview

lwIP is a lightweight open-source TCP/IP stack designed for embedded systems. AOS integrates lwIP for full TCP/IP networking support.

Supported Protocols

lwIP Integration

  • ✓ Kernel modes configuration (lwipopts.h)
  • ✓ Thread-safe netif integration
  • ✓ Custom memory pools for efficiency
  • ✓ Interrupt-safe packet handling
  • ✓ Error handling and logging

Key Takeaways

  • ✓ Full TCP/IP stack in compact form
  • ✓ Multiple protocol support
  • ✓ DHCP automatic configuration
  • ✓ DNS name resolution
  • ✓ Low memory footprint