13.02.2014 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.

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

<strong>AT</strong>+SMTPSUB<br />

OK<br />

Defined values<br />

<br />

E-mail subject, string with double quotes, and ASCII text up to 512 characters. will be<br />

present in the header of the e-mail sent by SMTP client in the field: “Subject: ”. For write<br />

command, if the subject contains non-ASCII characters, this parameter should contain a prefix of<br />

{non-ascii}.<br />

Examples<br />

<strong>AT</strong>+SMTPSUB?<br />

+SMTPSUB: “”<br />

OK<br />

<strong>AT</strong>+SMTPSUB=”THIS IS A TEST MAIL”<br />

OK<br />

<strong>AT</strong>+SMTPSUB={non-ascii}”E6B58BE8AF95E982AEE4BBB6”<br />

OK<br />

<strong>AT</strong>+SMTPSUB?<br />

+SMTPSUB: “THIS IS A TEST MAIL”<br />

OK<br />

18.1.6 <strong>AT</strong>+SMTPBODY E-mail body<br />

Description<br />

The command is used to set e-mail body, which will be sent to SMTP server with text format.<br />

Read command returns current e-mail body. If the process of sending an e-mail is ongoing, the<br />

command will return “ERROR” directly.<br />

Execute command will switch the serial port from command mode to data mode, so TE can enter<br />

more ASCII text as e-mail body (up to 5120), and CTRL-Z (ESC) is used to finish (cancel) the<br />

input operation and switch the serial port back to command mode.<br />

NOTE After an e-mail is sent successfully, the body will be cleared, if unsuccessfully, it won’t be<br />

cleared. When execute command <strong>AT</strong>+SMTPBODY, and display “>>”, the prevenient body will be<br />

cleared.<br />

SIM PIN References<br />

YES Vendor<br />

Syntax<br />

Test Command<br />

<strong>AT</strong>+SMTPBODY=?<br />

Responses<br />

OK<br />

SIM5320_<strong>AT</strong>C_V1.24 368<br />

8/14/2012

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

Saved successfully!

Ooh no, something went wrong!