14.03.2015 Views

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Chapter 3: <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong><br />

OK<br />

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

OK<br />

<strong>AT</strong>+CMGW="1234"<br />

> This is message body // Ends the prompt text mode and returns to<br />

Regular <strong>AT</strong> command mode<br />

+CMGW: 0 // SMS-SUBMIT is stored in ME index 0<br />

OK<br />

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

+CPMS: "ME",1,23,"ME",1,23,"SM",0,20 // SMS-SUBMIT is stored in "ME" storage<br />

OK<br />

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

OK<br />

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

// Read the stored message<br />

+CMGR: "STO UNSENT","1234",,129,17,0,0,167,"+97254120032",145,20<br />

This is message body<br />

OK<br />

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

+CSMP: 17,167,0,0<br />

// Message values ,,,<br />

OK<br />

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

OK<br />

// Move to PDU mode<br />

<strong>AT</strong>+CMGW=10 // Write SMS-Submit message<br />

> 07917952120100951101048121430000A700<br />

+CMGW: 1<br />

// Message index 1 is stored in ME storage<br />

OK<br />

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

+CPMS: "ME",2,23,"ME",2,23,"SM",0,20<br />

OK<br />

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

// Read the stored message<br />

+CMGR: 2,,10<br />

07917952120100951101048121430000A700<br />

April 15, 2010 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> 3-87

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

Saved successfully!

Ooh no, something went wrong!