WIFI232-B2 User Manual
25
/
102
Below is the specific application, for example:
The first set HTTP parameters using AT instructions:
AT+HTTPURL=192.168.1.1,80 The server address and port settings
AT+HTTPTP=POST Set the HTTP type, GET, PUT or POST
AT+HTTPPH=/set Set the path of header, longest 50 bytes
AT+HTTPCN=keep-alive Set the Connection of header, longest
20bytes
AT+HTTPUA=lwip13.2 Set the User-Agent of header, longest
20bytes
If sending data 1234. In the 80 ports of 192.168.1.1 will receive the following data
POST /set HTTP /1.1
Connection: keep-alive
User-Agent: lwip1.3.2
Content-Length: 0
Host: 192.168.1.1:80
Data received from server will be directly sent to the serial port without any treatment.
Detailed about how to configure header of HTTP protocol please refer to chapter
5.2.2.45-5.2.2.59
4.2.5
AT Command Mode
In AT command mode, user could query the current status and set the module
parameter by sending AT commands.
4.3
Wireless Networking
WIFI232 module can be configured as both wireless STA and AP based on network
type. Logically there are two interfaces in WIFI232. One is for STA, and another is for AP.
When WIFI232 works as AP, other STA equipment are able to connect to wireless LAN
via WIFI232 mode. Wireless Networking with WIFI232 is very flexible. Following figure
shows the functional architecture of WIFI232 mode:
Figure 16 WIFI232 Functional Architecture