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

SIM5215_SIM5216 <strong>AT</strong> Command Manual<br />

20 Internet Service Command<br />

20.1 Simple mail transfer protocol service<br />

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

Description<br />

The synchronous command 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 command will return “ERROR” directly.<br />

Read command returns current SMTP server address and port number.<br />

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

<br />

SMTP server address, non empty string with double quotes, mandatory and ASCII text string up to<br />

128 characters.<br />

<br />

Port number of SMTP server in decimal format, from 1 to 65535, and default port is 25 for SMTP.<br />

Examples<br />

<strong>AT</strong>+SMTPSRV="smtp.server.com",25<br />

OK<br />

SIM5215_SIM5216_<strong>AT</strong> Command Manual_V1.13 321<br />

1/13/2011

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

Saved successfully!

Ooh no, something went wrong!