13.02.2014 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.

SIM5320 <strong>AT</strong> Command <strong>Set</strong><br />

OK<br />

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

>ABCDEFGH<br />

+TCPWRITE: 8, 8<br />

OK<br />

Send ok<br />

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

Network closed<br />

OK<br />

+IPCLOSE: ,<br />

, , .<br />

+NETCLOSE: 1<br />

with the specified Tcp server.<br />

Send data to server.<br />

Disconnect the connection with server<br />

and Deactivate the specified socket’s<br />

PDP context.<br />

Disconnected by the server<br />

NOTE:<br />

Client_index: This value identifies the<br />

client index; When the mode is<br />

single-client, this value is 255.<br />

Close_reason: This value is the reason<br />

for close.<br />

Remote_IP: This value identifies the IP<br />

address of sever.<br />

Port: This value identifies the port of<br />

sever, the range of permitted values is 0<br />

to 65535<br />

26.2.3 UDP<br />

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

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

Network opened<br />

OK<br />

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

>ABCDEFGH<br />

+UDPSEND: 8, 8<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 />

Send data.<br />

Close the socket and Deactivate the specified<br />

socket’s PDP context.<br />

SIM5320_<strong>AT</strong>C_V1.24 492<br />

8/14/2012

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

Saved successfully!

Ooh no, something went wrong!