28.04.2015 Views

AT Commands Set

AT Commands Set

AT Commands Set

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SIM5215_SIM5216 <strong>AT</strong> Command Manual<br />

0 network close (deactivated)<br />

1 network open(activated)<br />

<br />

a numeric parameter that module is used which mode.At present, it supports three mode,such as<br />

single-client, tcp-server and multi-client.if is 1,then and are ignored.<br />

0 single-client or tcp-server<br />

1 multi-client<br />

<br />

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

Examples<br />

<strong>AT</strong>+NETOPEN=”TCP”,80<br />

Network opened<br />

OK<br />

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

+NETOPEN: ("TCP", "UDP"), (0-65535), (0-1)<br />

OK<br />

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

+NETOPEN: 1, 1<br />

OK<br />

18.6 <strong>AT</strong>+TCPCONNECT Establish TCP connection<br />

Description<br />

The command establishes TCP connection with TCP server.<br />

SIM PIN<br />

YES<br />

References<br />

Vendor<br />

Syntax<br />

Test Command<br />

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

Responses<br />

OK<br />

ERROR<br />

+CME ERROR: <br />

Write Command<br />

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

, <br />

Responses<br />

Connect ok<br />

OK<br />

+IP ERROR: <br />

ERROR<br />

Connect fail<br />

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

1/13/2011

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

Saved successfully!

Ooh no, something went wrong!