AT Command

Description

AT+HTTPPARA AT command sets up HTTP parameters for the HTTP call. This is a proprietary AT command from SIMCOM.

The format is,
AT+HTTPPARA=,

The parameters that can be set with AT+HTTPPARA AT command are,
CID, URL, proxy server, port of HTTP proxy server, conetne


Support

Simcom Module Tutorial

Examples

AT+HTTPPARA="CID",1
OK
AT+HTTPPARA="URL",%22http://www.cnn.com/%22
OK
AT+HTTPPARA="BREAK",2000
OK

KeywordsAT+HTTPPARA syntax, examples, parameters, error, input, response.

AT+HTTPPARA AT command is used to setup HTTP parameters such as URL, CID, HTTP proxy server and port, any HTTP re-direction controls, timeout values etc.
With AT Command Tester tool, you can test Simcom HTTP feature.

Send batch of AT commands in the script mode,

//Check the registration status
AT+CREG?

//Check whether bearer 1 is open.
AT+SAPBR=2,1

//Enable bearer 1
AT+SAPBR=1,1

//Wait untial bearer is activated
WAIT=6

//Initialize HTTP service
AT+HTTPINIT

//Set the HTTP URL
AT+HTTPPARA="URL","https://www.m2msupport.net/m2msupport/http_get_test.php"

//Set the context ID
AT+HTTPPARA="CID",1

//Set up the HTTP action
AT+HTTPACTION=0

//Do a HTTP read
AT+HTTPREAD

//Wait for the HTTP response
WAIT=6

//Terminate the HTTP service
AT+HTTPTERM