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

P>,<br />

ERROR<br />

+CME ERROR: <br />

Defined values<br />

<br />

a numeric parameter that identifies a connection. the range of permitted values is 0 to 9.<br />

<br />

a string parameter that identifies the type of transmission protocol.<br />

TCP Transfer Control Protocol<br />

UDP User Datagram Protocol<br />

<br />

A string parameter that identifies the IP address of server.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 TCP server, the range of permitted values is 0 to<br />

65535.<br />

<br />

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

Examples<br />

<strong>AT</strong>+CIPOPEN=0,"TCP","116.228.221.51",100<br />

Connect ok<br />

OK<br />

<strong>AT</strong>+CIPOPEN=?<br />

+CIPOPEN: (0-9), ("TCP", "UDP")<br />

OK<br />

<strong>AT</strong>+CIPOPEN?<br />

+CIPOPEN: 0, "TCP", "116.228.221.51", 100<br />

+CIPOPEN: 1<br />

+CIPOPEN: 2<br />

+CIPOPEN: 3<br />

+CIPOPEN: 4<br />

+CIPOPEN: 5<br />

+CIPOPEN: 6<br />

+CIPOPEN: 7<br />

+CIPOPEN: 8<br />

+CIPOPEN: 9<br />

OK<br />

<strong>AT</strong>+CIPOPEN=0,"TCP","www.google.cn",80<br />

Connect ok<br />

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

1/13/2011

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

Saved successfully!

Ooh no, something went wrong!