Functional characteristics
1. The internal Ethernet media transport layer (MAC) and physical layer (PHY);
2. Realize two-way transparent transmission of serial port data and network data;
3. Support 10/100M, full duplex/half duplex adaptive Ethernet interface, compatible with 802.3 protocols;
4. Support MDI/MDIX line automatic conversion;
5. Support DHCP to automatically obtain IP address and DNS domain name access;
6. Set the chip working mode, port, IP and other network parameters through the upper computer softwarerial port AT command;
7. The working mode supports TCP CLIENT, TCP SERVER, UDP CLIENT and UDP SERVER;
8. Serial baud rate supports 300bps ~ 921600bps;
9. Serial TTL level, compatible with 3.3V and 5V;
10. Serial port supports full-duplex and half-duplex serial port communication, and supports RS485 transceiver automatic switching;
11. Support DHCP to automatically obtain IP address function;
12. support DNS domain name system;
13. support 0~2000ms serial port timeout setting;
14. Supporting KEEPALIVE mechanisms;
15. Power supply voltage: 3.3V/5V
TCP CLIENT mode
In TCP CLIENT mode, after the module is powered on, it will actively connect to TCP SERVER terminal. after the connection is established, it can realize bidirectional transparent transmission of network data and serial port data. In this mode, the IP of TCP SERVER needs to be visible to the module, which means that the server IP can be directly PING through the IP where the module is located. In TCP CLIENT mode, random local ports are supported, and remote service areas are accessed through domain names. By default, the TCP underlying Keep Alive keep-alive mechanism is enabled inside the chip, which can detect device disconnection. The TCP client application model is as follows, which is suitable for on-site data collection and upload server mode.
TCP SERVER mode
In TCP SERVER mode, after the module is powered on, it will monitor whether there is a client request connection on the local port. After the connection is established, it can realize two-way transparent transmission of network data and serial port data. In this mode, the IP of TCP CLIENT needs to be visible to the module, which means that the module IP can be directly PING through the client IP. The network parameters that need to be configured in the module are: operating mode, device IP, subnet mask, default gateway, and device port. In this mode, only one TCP client connection can be supported.