28.04.2015 Views

AT Commands Set

AT Commands Set

AT Commands Set

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

+CME ERROR: <br />

Write Command<br />

<strong>AT</strong>+UDPSEND=,<<br />

IP_address>,<br />

data for send<br />

Responses<br />

+UDPSEND: , <br />

OK<br />

+IP ERROR: <br />

ERROR<br />

ERROR<br />

Defined values<br />

<br />

a numeric parameter which indicates the length of sending data, it must less than 1024<br />

<br />

A string parameter that identifies the IP address of receiver.The IP address format consists of 4<br />

octets,separated by decimal point:”AAA.BBB.CCC.DDD”.In the latest software version,it already<br />

Supports DNS query,so it may be a string like “www.google.cn.”.<br />

<br />

A numeric parameter that identifies the port of receiver, the range of permitted values is 0 to 65535.<br />

<br />

a numeric parameter that requested number of data bytes to be transmitted.<br />

<br />

a numeric parameter that confirmed number of data bytes to be transmitted.<br />

-1 the connection is disconnected.<br />

0 own send buffer or other side’s congestion window are full.<br />

<br />

A string parameter that displays the cause of occurring error.<br />

Examples<br />

<strong>AT</strong>+UDPSEND=12,”192.168.0.1”,80<br />

>ABCDEFGHIJKL<br />

+UDPSEND: 12, 12<br />

OK<br />

18.9 <strong>AT</strong>+SERVERSTART Startup TCP server<br />

Description<br />

The command starts up TCP server, and the server can receive the request of TCP client. After the<br />

command executes successfully, an unsolicited result code is returned when a client tries to connect<br />

with module and module accepts request.The unsolicited result code is +CLIENT:<br />

:.<br />

SIM PIN References<br />

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

1/13/2011

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

Saved successfully!

Ooh no, something went wrong!