Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
54
This function is used to send the data from the serial port server directly to the server
program based on the web architecture, which can simplify the software development
workload in the cloud.
When the collection terminal of the Internet of things interacts with the web server
(HTTPD program), if the data can be submitted to the web server in the standard
format of HTTP GET and POST instructions, the web server can use the existing PHP
/asp language to process and store the data. This saves the user the effort of
redeveloping the web application interface.
To support this feature, download a configuration file of httpd.txt from the ZLAN serial
port server. Download can be done using the firmware upgrade feature of zlvircom.
The features of ZLAN HTTPD Client communication include:
1) Device send: support to directly convert serial data into HTTP format by
GET/POST, which can be directly recognized by the server.
2) Web server issue: the Web server can also send the required data to the serial
port server through the GET/POST instruction, where the valid data content can
be output from the serial port of the serial port server. When the serial server
receives the data, it can also send a specific reply to the Web server indicating
that the data has been received.
3) Support arbitrary conversion of input and output data between hexadecimal and
string, convenient for the Web server to send data in character mode, and the
serial port to control the serial device in hexadecimal data output.
For more information, please refer to the "ZLAN HTTPD Client Communication Mode"
document.
10. Transcoding Functions
ZLAN serial port server transcoding function can achieve different device protocol into
a unified protocol function.