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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

28.2.4 Multi client<br />

Commands and Responses<br />

<strong>AT</strong>+NETOPEN=,,1<br />

Network opened<br />

OK<br />

<strong>AT</strong>+CIPOPEN=0,”TCP”,”116.228.221.51”,<br />

100<br />

Connect ok<br />

OK<br />

<strong>AT</strong>+CIPOPEN=1,”UDP”,”116.228.221.51”<br />

,120<br />

OK<br />

<strong>AT</strong>+CIPSEND=0,7<br />

>SimTech<br />

Comments<br />

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

and Select in multi-client mode<br />

Establish a connection with TCP Server<br />

Establish a connection with UDP Server<br />

Send data in the connection of number 0<br />

+CIPSEND: 7, 7<br />

OK<br />

Send ok<br />

<strong>AT</strong>+CIPSEND=1,7<br />

>SimTech<br />

+CIPSEND: 7, 7<br />

OK<br />

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

OK<br />

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

OK<br />

Send data in the connection of number 1<br />

Close the connection of number 0<br />

Close all of connections and Deactivate<br />

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

28.3 Audio <strong>command</strong>s<br />

28.3.1 Sound record<br />

Commands and Responses<br />

<strong>AT</strong>+CQCPREC=0,amr<br />

C:/Audio/20080420_120303.amr<br />

OK<br />

<strong>AT</strong>+CQCPPAUSE<br />

Comments<br />

Start recording sound clips<br />

Pause sound recording<br />

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

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!