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

Connect fail<br />

ERROR<br />

ERROR<br />

Defined values<br />

<br />

A string parameter that identifies the IP address of TCP 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 />

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 string parameter that displays the cause of occurring error.<br />

Examples<br />

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

OK<br />

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

Connect fail<br />

ERROR<br />

<strong>AT</strong>+TCPCONNECT=”www.google.cn”,80<br />

OK<br />

19.11 <strong>AT</strong>+TCPWRITE Send TCP data<br />

Description<br />

The <strong>command</strong> sends TCP data when the TCP connection is established.<br />

SIM PIN<br />

YES<br />

References<br />

Vendor<br />

Syntax<br />

Test Command<br />

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

Responses<br />

OK<br />

ERROR<br />

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

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!