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

0 – Disable STK<br />

1 – Enable STK<br />

Examples<br />

<strong>AT</strong>+STK=1<br />

OK<br />

21 Internet Service Command<br />

21.1 Simple mail transfer protocol service<br />

21.1.1 <strong>AT</strong>+SMTPSRV SMTP server address and port number<br />

Description<br />

The synchronous <strong>command</strong> is used to set SMTP server address and server’s port number. SMTP<br />

client will initiate TCP session with the specified server to send an 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 SMTP server address and port number.<br />

Execution <strong>command</strong> will clear SMTP server address and set the port number as default value.<br />

NOTE After an e-mail is sent successfully or unsuccessfully, SMTP server address and port<br />

number won’t be cleared.<br />

SIM PIN References<br />

YES Vendor<br />

Syntax<br />

Test Command<br />

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

Read Command<br />

<strong>AT</strong>+SMTPSRV<br />

Write Command<br />

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

[, ]<br />

Execution Command<br />

<strong>AT</strong>+SMTPSRV<br />

Responses<br />

+SMTPSRV: (list of supported s)<br />

OK<br />

Responses<br />

+SMTPSRV: , <br />

OK<br />

Responses<br />

OK<br />

Responses<br />

OK<br />

Defined values<br />

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

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!