28.04.2015 Views

AT Commands Set

AT Commands Set

AT Commands Set

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

SIM5215_SIM5216 <strong>AT</strong> Command Manual<br />

The HTTP server port.<br />

<br />

The length of HTTP data in the packet.<br />

<br />

The error code of HTTP operation.<br />

Examples<br />

<strong>AT</strong>+CHTTPACT=”www.mywebsite.com”,80<br />

+CHTTPACT: REQUEST<br />

GET http://www.mywebsite.com/index.html HTTP/1.1<br />

Host: www.mywebsite.com<br />

User-Agent: MY WEB AGENT<br />

Content-Length: 0<br />

<br />

OK<br />

+CHTTPACT: D<strong>AT</strong>A, 249<br />

HTTP/1.1 200 OK<br />

Content-Type: text/html<br />

Content-Language: zh-CN<br />

Content-Length: 57<br />

Date: Tue, 31 Mar 2009 01:56:05 GMT<br />

Connection: Close<br />

Proxy-Connection: Close<br />

<br />

test<br />

<br />

Test body<br />

<br />

+CHTTPACT: 0<br />

<strong>AT</strong>+CHTTPACT=”www.mywebsite.com”,80<br />

+CHTTPACT: REQUEST<br />

POST http://www.mywebsite.com/mydir/test.jsp HTTP/1.1<br />

Host: www.mywebsite.com<br />

User-Agent: MY WEB AGENT<br />

Accept: */*<br />

Content-Type: application/x-www-form-urlencoded<br />

Cache-Control: no-cache<br />

Accept-Charset: utf-8, us-ascii<br />

Pragma: no-cache<br />

Content-Length: 29<br />

SIM5215_SIM5216_<strong>AT</strong> Command Manual_V1.13 354<br />

1/13/2011

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

Saved successfully!

Ooh no, something went wrong!