30.06.2014 Views

MC52i AT Command Set

MC52i AT Command Set

MC52i AT Command 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.

<strong>MC52i</strong> <strong>AT</strong> <strong>Command</strong> <strong>Set</strong><br />

<br />

10.12 Examples of how to Configure and Use Internet Service Profiles<br />

^SISR: 1, 578<br />

<strong>Command</strong> response indicates that 578 bytes are<br />

available for reading.<br />

Return-Path: <br />

X-Original-To: subscriber1@testdomain.com<br />

Delivered-To: subscriber2@testdomain.com<br />

Received: from 10.10.0.132 (unknown [10.10.0.132])<br />

by testdomain.com (Postfix) with SMTP id 379321D004<br />

for ; Tue, 20 Dec 2005 08:00:07 +0100 (CET)<br />

To: subscriber2@testdomain.com<br />

Cc:<br />

From: subscriber1@testdomain.com<br />

Subject: TestMail<br />

Message-Id: <br />

Date: Tue, 20 Dec 2005 08:00:07 +0100 (CET)<br />

X-UIDL: &lL"!(Z6"!^cl!!1+%"!<br />

Status: RO<br />

Hallo Tom!Bye Bye Tom!<br />

. Dot indicates end of mail according to RFC 2821.<br />

OK<br />

at^sisr=1,1000<br />

^SISR: 1,-2<br />

Try to read 1000 bytes once again.<br />

No more data available to read, i.e. the service has<br />

finished.<br />

OK<br />

at^sisi=1 Check the connection state of service profile 1.<br />

^SISI: 1,6,578,0,0,0<br />

The command response indicates that the POP3<br />

OK<br />

service is in state "6" (Down) and that 578 bytes have<br />

been retrieved.<br />

at^sise=1 Check error status of service profile 1.<br />

^SISE: 1,0<br />

The command response confirms that no error<br />

occurred.<br />

OK<br />

at^sisc=1<br />

OK<br />

Close the service.<br />

10.12.14 HTTP POST (Polling Mode)<br />

at^siss=1,srvType,"Http"<br />

Select service type HTTP.<br />

OK<br />

at^siss=1,conId,1 Select connection profile 1.<br />

OK<br />

at^siss=1,hcMethod,1<br />

Select "Post" method.<br />

OK<br />

at^siss=1,address,"http://192.168.1.3/datafiles/dummy/dummy.txt"<br />

OK<br />

at^siss=1,hcContLen,180<br />

Try to upload 180 bytes.<br />

OK<br />

at^siso=1<br />

Open the service.<br />

OK<br />

at^sisw=1,100<br />

Send the first 100 bytes.<br />

^SISW: 1, 100, 0<br />

OK<br />

at^sisw=1,100<br />

Try to send again 100 bytes.<br />

^SISW: 1, 80, 0<br />

80 bytes are sent.<br />

OK<br />

at^sisw=1,40<br />

Try to write data once again.<br />

<strong>MC52i</strong>_<strong>AT</strong>C_V01.201 Page 273 of 551 4/16/10<br />

Confidential / Released

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

Saved successfully!

Ooh no, something went wrong!