30.06.2014 Views

MC52i AT Command Set

MC52i AT Command Set

MC52i AT Command Set

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<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 />

10.12.12 Retrieving Email (URC Mode)<br />

This example uses the service profile described in Section 10.12.11.<br />

at^siso=1<br />

OK<br />

^SISR: 1, 1<br />

at^sisr=1,500<br />

^SISR: 1, 500<br />

Open the service that was created to retrieve email<br />

number 2 from the POP3 server.<br />

The "^SISR" indicates that data is available for reading.<br />

Try to read 500 bytes.<br />

<strong>Command</strong> response indicates that 500 bytes will be<br />

transferred, i.e. there will be no other URC since the<br />

requested length equals the confirmed length.<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<br />

OK<br />

at^sisr=1,500<br />

at^sisr=1,78<br />

(CET)<br />

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

Status: RO<br />

Try to read another 500 bytes.<br />

<strong>Command</strong> response indicates that only 78 bytes will<br />

transferred.<br />

Hallo Tom!Bye Bye Tom!<br />

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

OK<br />

^SISR: 1, 2<br />

Parameter of the "^SISR" URC<br />

confirms that all data is transferred successfully.<br />

at^sisc=1<br />

Close the service.<br />

OK<br />

10.12.13 Retrieving Email (Polling Mode)<br />

This example uses the service profile described in Section 10.12.11.<br />

at^siso=1<br />

OK<br />

at^sisr=1,1000<br />

^SISR: 1, 0<br />

OK<br />

at^sisr=1,1000<br />

^SISR: 1, 0<br />

OK<br />

at^sisr=1,1000<br />

Open the service that was created to retrieve email<br />

number 2 from the POP3 server.<br />

Try to read 1000 bytes.<br />

<strong>Command</strong> response indicates that currently no data<br />

is available.<br />

Again, try to read 1000 bytes.<br />

<strong>Command</strong> response indicates that currently no data<br />

is available.<br />

Again, try to read 1000 bytes.<br />

<strong>MC52i</strong>_<strong>AT</strong>C_V01.201 Page 272 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!