WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
127
17.4 Closing HTTP Connection: +HTTPCLOSE
Description
To close an HTTP connection
Format
AT+HTTPCLOSE<CR>
Parameter
N/A
Return Value
See the Example.
Example
AT+HTTPCLOSE
OK
+HTTPCLOSE:Link Closed
Close the HTTP connection.
Unsolicited report after connection is closed
successfully.
AT+HTTPCLOSE
OK
OK is returned
Remarks
After you run the
+HTTPCLOSE
command, the HTTP connection is closed
and the setting of
+HTTPPARA
is cleared.
Only OK is returned after running this command if the HTTP connection is
connecting.
This command is applicable to E9C33426 and later versions.
17.5 Receiving HTTP Data: +HTTPRECV
Description
To report the data received from the HTTP connection
Format
<CR><LF>HTTPRECV:<CR><LF><data>
Parameter
<data>: Data received through the HTTP connection
Return Value
See the Example.
Example
+HTTPRECV:
HTTP/1.1 200 OK
Cache-Control:private
Content-Length: 13842
Content-Type:text/html; charset=utf-8
Server:Microsoft-IIS/7.5
Set-
Cookie:ASP.NET_SessionId=pvlaai3fizxg44eyvyqsyenk;
path=/; HttpOnly
Report
the
data
received from the HTTP
connection.