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

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

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

<strong>SIM5218</strong> Serial <strong>AT</strong> Command Set<br />

Syntax<br />

Test Command<br />

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

Responses<br />

OK<br />

ERROR<br />

+CME ERROR: <br />

Write Command<br />

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

IP_address>,<br />

data for send<br />

Responses<br />

OK<br />

+UDPSEND: , <br />

+IP ERROR: <br />

ERROR<br />

ERROR<br />

Defined values<br />

<br />

a numeric parameter which indicates the length of sending data, it must be between1 and 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 />

OK<br />

+UDPSEND: 12, 12<br />

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

Description<br />

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

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!