30.06.2014 Views

MC52i AT Command Set

MC52i AT Command Set

MC52i AT Command 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.

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

<br />

10.3 <strong>AT</strong>^SISS<br />

address<br />

5. SMTP<br />

SMTP server TCP port number (numeric)<br />

Length: 0 ... 2 16 -1<br />

If this parameter is not set, SMTP default port number 25 is used.<br />

6. POP3<br />

POP3 server TCP port number (numeric)<br />

Length: 0 ... 2 16 -1<br />

If this parameter is not set, POP3 default port number 110 is used.<br />

String value, depending on the service type either a URL in the case of Socket,<br />

FTP and HTTP or an address in the case of SMTP and POP3:<br />

1. Socket<br />

- Socket type TCP client URL<br />

"socktcp://'host':'remote tcpPort'<br />

- Socket type TCP server URL<br />

"socktcp://listener:'local tcpPort' "<br />

- Socket type UDP client URL<br />

"sockudp://'host':'remote udpPort'[;size='byte'][;port='word']"<br />

Parameter "size" (optional):<br />

0: PDU size is variable (default).<br />

1 ... 1460: Fixed PDU size in bytes.<br />

Parameter "port" (optional):<br />

0: Port number will be assigned from service (default).<br />

1 ... 2 16 -1: defines the local port number for the UDP client.<br />

2. Transparent<br />

"'host':'remote TcpPort'[;timer=100][;etx=]"<br />

Parameter "timer" (optional): 20 ... 500 milliseconds in steps of 20. Default<br />

if parameter is not specified: 100ms. The parameter configures the Nagle<br />

algorithm, which is used in transparent access mode.<br />

Parameter "etx" (optional): Specifies the character used to change from<br />

transparent access mode to <strong>AT</strong> command mode.<br />

Range of : 1 ...15, 17 ... 255. 16 is not allowed because defined<br />

as DLE (0x10).<br />

If value is not set no escaping is configured, thus requiring either +++ or<br />

DTR ON-OFF transition for changing to <strong>AT</strong> command mode. If value is set,<br />

the transmitted bytes are parsed for the DLE (0x10) character followed by<br />

the specified value. If both characters are found the service<br />

returns to <strong>AT</strong> command mode without transmitting these two bytes. This<br />

behavior differs from +++ handling, where +++ is transmitted over the air.<br />

If you wish to send DLE characters as normal text string within your payload<br />

data the characters shall be doubled (DLE DLE).<br />

3. FTP<br />

- FTP client URL (get)<br />

"ftp://'user':'password'@'host':'tcpPort'/'url-path' [;type='a|i|d'] "<br />

Refer to "IETF-RFC 1738".<br />

- FTP client URL (put)<br />

"ftpput://'user':'password'@'host':'tcpPort'/'url-path'/'element name'<br />

[;type='a|i'][;mode='u|a|d'] "<br />

Used parameters:<br />

"host" is mandatory, all other parameters are optional.<br />

If "password" is set then "user" must be set as well.<br />

If "user" is omitted the string "anonymous" is selected for "user" and "password".<br />

If "password" is omitted the password request is served by an empty string.<br />

If "tcpPort" is omitted the service connects to the FTP default port 21.<br />

If "url-path" contains only the IP address a directory listing is requested.<br />

If "url-path" contains the IP address and has a slash '/' appended a detailed<br />

directory listing is requested.<br />

"type": [a)scii | i)mage | d)irectory]<br />

<strong>MC52i</strong>_<strong>AT</strong>C_V01.201 Page 237 of 551 4/16/10<br />

Confidential / Released

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

Saved successfully!

Ooh no, something went wrong!