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

^SISW: 9, 1<br />

The "^SISW" URC indicates that email data can be<br />

transferred.<br />

at^sisw=9,87<br />

The email to be sent has 87 bytes.<br />

^SISW: 9,87,87<br />

The write command response confirms that 87 bytes<br />

are available for transmission.<br />

Good Morning everyone, we are delighted to Write the message text.<br />

announce our next meeting on Sunday morning.<br />

OK<br />

at^sisw=9,0,1<br />

<strong>Set</strong> the to mark the end of the email<br />

body.<br />

^SISW: 9,0,0<br />

The is accepted by the service.<br />

^SISW: 9,2<br />

The "^SISW" URC confirms that all data is sent successfully.<br />

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

^SISI: 9,6,0,87,0,0<br />

The command response confirms that the SMTP<br />

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

been transferred.<br />

at^sisc=9<br />

Close the service.<br />

OK<br />

10.12.10 Sending Email (Polling Mode)<br />

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

at^siso=9<br />

Open the service, i.e. start to send the email.<br />

OK<br />

at^sisw=9,10<br />

Try to write 10 bytes.<br />

^SISW: 9, 10, 0<br />

The service response indicates that 10 bytes can be<br />

written.<br />

Hallo Tom!<br />

Write 10 bytes.<br />

OK<br />

at^sisw=9,10<br />

Try to write 10 bytes.<br />

^SISW: 9, 0, 0<br />

The service response indicates that the service<br />

refuses to accept any data at the moment.<br />

OK<br />

at^sisw0=9,12<br />

Try to write 12 bytes.<br />

^SISW: 9, 12, 0<br />

The service response indicates that 12 bytes can be<br />

written.<br />

Bye Bye Tom!<br />

Write 12 bytes.<br />

OK<br />

at^sisw=9,0,1<br />

<strong>Set</strong> the to mark the end of the email<br />

body.<br />

^SISW: 9,0,0<br />

The is accepted by the service.<br />

OK<br />

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

^SISI: 9,5,0,22,0,0<br />

The command response confirms that the SMTP<br />

OK<br />

service is in state "5" (Closing) and that 22 bytes<br />

have been written.<br />

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

^SISI: 9,6,0,22,0,0<br />

The command response confirms that the SMTP<br />

OK<br />

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

been written.<br />

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

^SISE: 9,0<br />

The command response confirms that no error<br />

occurred.<br />

OK<br />

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