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

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

NOTE: When open port as TCP, the port must be the opened TCP port;<br />

When open port as UDP, the port may be any port.<br />

But, for Qualcomm, connecting the port 0 is as an invalid operation.<br />

<br />

a numeric parameter that identifies the port of local socket, 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=1,"UDP",,,8080<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 />

OK<br />

19.22 <strong>AT</strong>+CIPSEND Send data in multi-client mode<br />

Description<br />

The <strong>command</strong> sends some data to remote host in mult-client mode.<br />

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

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!