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

YES<br />

Vendor<br />

Syntax<br />

Test Command<br />

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

Read Command<br />

<strong>AT</strong>+SMTPBCH<br />

Write Command<br />

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

Responses<br />

+SMTPBCH: ”CHARSET”<br />

OK<br />

Responses<br />

+SMTPBCH: <br />

OK<br />

Responses<br />

OK<br />

Defined values<br />

<br />

E-mail body character, string with double quotes. By default, it is “utf-8”. The maximum length is<br />

30 bytes.<br />

Examples<br />

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

+SMTPBCH: “CHARSET”<br />

OK<br />

<strong>AT</strong>+SMTPBCH=”gb2312”<br />

OK<br />

<strong>AT</strong>+SMTPBCH<br />

+SMTPBCH: “gb2312”<br />

OK<br />

21.1.8 <strong>AT</strong>+SMTPFILE Select attachment<br />

Description<br />

The synchronous <strong>command</strong> is used to select file as e-mail attachment. If the process of sending an<br />

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

Read <strong>command</strong> returns current all selected attachments with full path.<br />

Execute <strong>command</strong> will clear all attachments.<br />

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

be cleared. The same file can’t be selected twice.<br />

<strong>AT</strong>+SMTPFILE= is used to delete the relevant attachments.<br />

SIM PIN References<br />

YES Vendor<br />

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

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!