CX-WIFI-2NET module user manual
Shenzhen Coolmay Technology Co.,Ltd
www.coolmay.com
Page
13
,Total 93 Pages
1234
If the HTTP type is GET, the data received on port 80 of 192.168.1.1 is
POST/set1234 HTTP/1.1
Connection:keep-alive
User-Agent:lwip1.3.2
Content-Length:0
Host:192.168.1.1:80
If the module receives data from the server, it will print directly to the serial port
without any processing.
Users can customize the content of the HTTP header in the new definition mode.
You can add, delete, and modify the content of each HTTP header according to your
needs. (If the HTTP request type is POST/PUT, the module will automatically add
Content-Length. ). The set commands include AT+HTPMODE, AT+HTPSV, AT+HTPTP,
AT+HTPURL, AT+HTPHEAD. For the specific command setting procedure, please
refer to the AT command section. Similarly, there are corresponding settings pages in
the web page.
Note: In the new setting mode, if you use the AT command to set the protocol
header, please use "<<CRLF>>" instead of the carriage return. You don't need to
consider the carriage return when setting the built-in webpage.
2.2.4 Modbus TCP and Modbus RTU mutual conversion
This module supports Modbus TCP to Modbus RTU (Modbus ASCII is not
supported); the network parameters of the module should correspond to the network
parameters of the application software. The TCP server corresponds to the TCP client,
and the port should also be configured to be the same. The working mode is Modbus
TCP<= >Modbus RTU (AT command: AT+TMODE=modbus).