RyanW5500
W5500 BSD socket implementation
"RyanW5500 and RT-Thread: Innovative IoT Networking Solutions"
Overview The RyanW5500 project represents a groundbreaking networking initiative on the RT-Thread platform, utilizing the W5500 Ethernet chip. Complying with POSIX 2017 and network standards, it implements select common BSD socket APIs optimized for Real-Time Operating Systems (RTOS). This software is characterized by its DHCP auto-renewal and minimal resource utilization, ensuring compatibility with RT-Thread's sal and netdev components.
Features and Configuration
- W5500 Initialization and Setup: The w5500Start function initializes the W5500 module, setting up network information such as MAC address, IP, subnet mask, gateway, and DNS. It supports automatic IP assignment with DHCP enabled.
- TCP/UDP Services: It configures and runs TCP and UDP echo servers (tcpEchoTask, udpEchoServiceTask), transmitting data received over the network back to the client.
- Multicast and Broadcast Support: The multicastEchoServiceTask and w5500Broadcast functions handle multicast and broadcast messages, enabling simultaneous data transmission to multiple devices within the network.
- Network Information and Settings Management: Functions like w5500Static, w5500Dhcp, w5500GetNetInfo manage network settings and monitor current statuses.
- Domain Name Resolution: The w5500GetHostByName and w5500GetAddrInfo functions translate domain names into IP addresses.
- Command Interface: The RyanW5500Msh function offers an interface for users to input commands and execute various network tasks.