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

Test again<br />

OK<br />

<strong>AT</strong>+CMGD=1<br />

OK<br />

<strong>AT</strong>+CMGL=“ALL”<br />

+CMGL: 2,“REC READ”,“+861358888xxxx”,<br />

“08/01/30,20:45:12+00”<br />

Test again<br />

OK<br />

Delete an SMS message.<br />

List all SMS messages to show message has<br />

been deleted.<br />

23.2 TCP/IP commands<br />

23.2.1 TCP server<br />

<strong>Commands</strong> and Responses<br />

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

Network opened<br />

OK<br />

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

OK<br />

<strong>AT</strong>+LISTCLIENT<br />

NO.0 client : 10.71.34.32 80<br />

NO.1 client : 10.71.78.89 1020<br />

OK<br />

<strong>AT</strong>+ACTCLIENT = 0<br />

OK<br />

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

>ABCDEFGH<br />

+TCPWRITE: 8, 8<br />

OK<br />

Send ok<br />

<strong>AT</strong>+CLOSECLIENT=0<br />

OK<br />

<strong>AT</strong>+NETCLOSE<br />

Network closed<br />

OK<br />

Comments<br />

Activate the specified socket’s PDP context<br />

and Create a socket.<br />

For Tcp Server,it starts a<br />

Passive open for connections.<br />

List all of clients’ information.<br />

Activate the specified client.<br />

Send data to an active client.<br />

Close the specified client.<br />

Close all of clients and<br />

Deactivate the specified socket’s PDP context.<br />

23.2.2 TCP client<br />

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

1/13/2011

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

Saved successfully!

Ooh no, something went wrong!