22.01.2015 Views

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>SIM5218</strong> Serial <strong>AT</strong> Command Set<br />

Read Command<br />

<strong>AT</strong>+CHTPSERV<br />

Responses<br />

+CHTPSERV:"",,<br />

[,"",]<br />

…<br />

+CHTPSERV:"",[,"",< proxy_port>]<br />

OK<br />

OK (if HTP server not setted)<br />

Write Command<br />

<strong>AT</strong>+CHTPSERV=<br />

"",""[,<<br />

port>,<br />

[,"",]]<br />

Responses<br />

OK<br />

ERROR<br />

Defined values<br />

<br />

The <strong>command</strong> to operate the HTP server list.<br />

“ADD”: add a HTP server item to the list<br />

“DEL”: delete a HTP server item from the list<br />

<br />

If the is “ADD”, <strong>this</strong> field is the same as , needs quotation marks; If the is<br />

“DEL”, <strong>this</strong> field is the index of the HTP server item to be deleted from the list, does not need<br />

quotation marks.<br />

<br />

The HTP server address.<br />

<br />

The HTP server port.<br />

<br />

The HTTP version of the HTP server:<br />

0- HTTP 1.0<br />

1- HTTP 1.1<br />

<br />

The proxy address<br />

<br />

The port of the proxy<br />

<br />

The HTP server index.<br />

Examples<br />

<strong>AT</strong>+CHTPSERV=”ADD”,”www.google.com”,80,1<br />

OK<br />

<strong>SIM5218</strong>_Serial _<strong>AT</strong>C_V1.36 462<br />

5/15/2012

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!