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

<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 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>+CIPSEND=0,1<br />

> S<br />

OK<br />

+CIPSEND: 1, 1<br />

Send ok<br />

<strong>AT</strong>+CIPSEND=1,1,”116.236.221.75”,6775<br />

> S<br />

OK<br />

+CIPSEND: 1, 1<br />

Send ok<br />

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

+CIPSEND: (0-9), (1-1024)<br />

OK<br />

19.23 <strong>AT</strong>+CIPCLOSE Close connection in Multi-client mode<br />

Description<br />

The <strong>command</strong> closes a specified connection in multi-client mode.<br />

SIM PIN References<br />

YES Vendor<br />

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

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!