WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
122
17.2 Setting Up HTTP Connection: +HTTPSETUP
Description
To set up an HTTP connection
Format
AT+HTTPSETUP<CR>
Parameter
N/A
Return Value
See the Example.
Example
AT+HTTPSETUP
OK
HTTP SETUP OK
Set up an HTTP connection
Successful
AT+HTTPSETUP
OK
+DNS:FAILED
Set up an HTTP connection
Failed to translate DNS.
AT+HTTPSETUP
OK
+HTTPSSETUP:FAIL
Set up an HTTP connection
Failed because port is not set before
setting up the HTTP connection.
AT+HTTPSETUP
ERROR
Set up an HTTP connection
failed
AT+HTTPSETUP
+HTTPCLOSE:Link Closed
HTTP parameter is set incorrectly.
Remarks
The connection is set up successfully only after you set the destination
address and port ID correctly.
Ensure that the PPP connection has been set up successfully (AT+XIIC=1)
before setting an HTTP connection.
This command is applicable to E9C33426 and later versions.
17.3 Executing HTTP Request: +HTTPACTION
Description
To execute an HTTP request
Format
AT+HTTPACTION=<mode>[,<length>]<CR>