This guide covers network configuration, HTTP/FTP data interaction, and TCP socket communication for Xinruida serial screens with Ethernet or WiFi.
This manual provides instructions for configuring network parameters on Xinruida serial screens equipped with Ethernet or WiFi modules. It details how to set up network modes, such as client or hotspot, and configure IP addresses via the GUI or Lua scripts.
The document further explains how to interact with cloud servers using HTTP protocols for data exchange and file downloads, as well as using FTP for remote firmware and project updates. Additionally, it covers TCP socket communication for sending and receiving data between the screen and a server. This manual is written in Chinese.
The network parameter has three modes: Disabled, NIC mode (connects to Ethernet or WiFi), and Hotspot mode (creates its own WiFi network).
Network parameters can be configured either within the project settings in the GUI or by modifying the main.lua script file.
The http_download() function is called to download files such as images, videos, or firmware packages from the server.