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

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

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

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

Description<br />

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

+CME ERROR: <br />

Write Command<br />

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

data for send<br />

Responses<br />

+TCPWRITE: , <br />

OK<br />

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

1/13/2011

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

Saved successfully!

Ooh no, something went wrong!