Waveshare UART-WIFI232-B2 User Manual page 48

Table of Contents

Advertisement

UART-WIFI232-B2 User Manual
AT command setting:
No.
Command
1
HTPMODE
2
HTTPURL
3
HTTPTP
4
HTTPPH
5
HTTPCN
6
HTTPUA
7
HTPSV
8
HTPTP
9
HTPURL
10
HTPHEAD
11
HTTPSCEN
12
HTTPSCT
The following are examples of specific applications:
First, use AT command to set the related parameters of HTTP:
If the data sent is 1234, Then the 80 port of test.waveshare.com will get the following data:
Figure POST type data packaging mode
Table HTTPDClient instruction list
Note
Switching between new and old versions of HTTP header
settings (HTTPDClient)
Set/query the IP and port of HTTP servers in old
version
Set/query the HTTP protocol request in old version:
Set/query the HTTP protocol header path in old version:
To set/query the HTTP protocol header Connection in old
version:
To set/query the HTTP protocol header User-Agent in old
version:
Set/query server address and IP (HTTPDClient) in new
version
Set/query the request method (HTTPDClient) in new
version
Setup/query request path (HTTPDClient) in new version
Set/query HTTP header (HTTPDClient) in new version.
Set/query the connection mode of HTTPClient
(long/short)
Set/query HTTPDClient short connection timeout
(3-65535s)
48
www.waveshare.com

Advertisement

Table of Contents
loading

Table of Contents