
WIFI-LPT100-B User Manual
19
/
60
4.1.3 HTTPD Client Mode
In this mode, user serial device can set request to HTTP server by using this
module, then module will receive data from HTTP server and analyze it. The result
will be transmitted to user device after analysis.
User need to take care about the data convertor between serial data and
network packet. Just setting parameters and it could realize the transmission
between serial device and HTTP server.
HTTP request have two types: GET and POST
Table 5 HTTPD Client Command
No.
Command
Description
1
TMODE
Query/Set Work mode
2
HTPSV
Query/Set HTTP server and Port
3
HTPTP
Query/Set HTTP request type
4
HTPHD
Query/Set HTTP head
5
HTPURL
Query/Set HTTP URL
6
HTPFT
Query/Set whether filtering
HTTP head information
7
HTPTO
Query/Set timeout
4.2 UART Parameters
Table 6 UART Port Parameters
Item
Parameters
Baud rate
1200, 2400, 4800, 9600, 14400,
19200, 38400, 57600, 115200,
128000, 230400, 460800
Data bit
7, 8
Stop bit
1, 2
Parity bit
NONE; EVEN; ODD; MARK; SPACE
Flow Control/385
No
Module will check the intervals between any two bytes when receiving UART
data. In Transparent mode, if this interval time exceeds defined value (250ms
default), the module will think it as the end of one frame and transfer this free-frame
to WIFI port, or else the module will receive UART data until 1000 bytes, then
transfer 1000 bytes frame to WIFI port. In Command Mode, the data will be
abandoned if more than 256 bytes.
Interval of Packing:
bps=250ms when baud rate <= 1200;