22.01.2015 Views

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

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>SIM5218</strong> Serial <strong>AT</strong> Command Set<br />

Read Command<br />

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

Write Command<br />

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

Responses<br />

+SMTPBODY: <br />

OK<br />

Responses<br />

OK<br />

Execution Command<br />

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

Responses<br />

Defined values<br />

<br />

E-mail body, string with double quotes, and printable ASCII text up to 512 or 5120 characters.<br />

NOTE In data mode, “BACKSPACE” can be used to cancel an ASCII character.<br />

Examples<br />

<strong>AT</strong>+SMTPBODY=”THIS IS A TEST MAIL FROM SIMCOM MODULE”<br />

OK<br />

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

+SMTPBODY: ”THIS IS A TEST MAIL FROM SIMCOM MODULE”<br />

OK<br />

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

>> This is a test mail.<br />

OK<br />

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

+SMTPBODY: ”This is a test mail.”<br />

OK<br />

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

>> This is a test mail.<br />

OK<br />

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

+SMTPBODY: “”<br />

OK<br />

21.1.7 <strong>AT</strong>+SMTPBCH E-mail body character set<br />

Description<br />

The synchronous <strong>command</strong> is used to set the body character set of e-mail. If the process of sending<br />

an e-mail is ongoing, the <strong>command</strong> will return “ERROR” directly.<br />

Read <strong>command</strong> returns current e-mail body character set.<br />

SIM PIN<br />

References<br />

<strong>SIM5218</strong>_Serial _<strong>AT</strong>C_V1.36 411<br />

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!