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

Create successful ePaper yourself

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

<strong>SIM5218</strong> Serial <strong>AT</strong> Command Set<br />

The <strong>command</strong> starts up TCP server, and the server can receive the request of TCP client. After the<br />

<strong>command</strong> executes successfully, an unsolicited result code is returned when a client tries to connect<br />

with module and module accepts request.The unsolicited result code is +CLIENT:<br />

:.<br />

NOTE: If the module is as a server, <strong>this</strong> need the Operators to support.<br />

SIM PIN References<br />

YES Vendor<br />

Syntax<br />

Test Command<br />

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

Responses<br />

OK<br />

ERROR<br />

Read Command<br />

Responses<br />

<strong>AT</strong>+SERVERSTART +SERVERSTART: <br />

OK<br />

+IP ERROR: <br />

ERROR<br />

Write Command<br />

Responses<br />

<strong>AT</strong>+SERVERSTART= +IP ERROR: <br />

ERROR<br />

Execution Command Responses<br />

<strong>AT</strong>+SERVERSTART +IP ERROR: <br />

ERROR<br />

OK<br />

Defined values<br />

<br />

A string parameter that identifies the IP address of client.<br />

<br />

The port to listen on. This parameter can only be used when <strong>AT</strong>+NETOPEN=”TCP” is launched.<br />

<br />

The state of the server socket:<br />

- LISTENING<br />

- NOT LISTENING<br />

<br />

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

Examples<br />

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

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!