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.

SMS<br />

SMS<br />

Managing Stored Messages in the H24 Memory<br />

<strong>AT</strong>+CPMS="me"<br />

//Select NVM as preferred memory storage using the +CPMS<br />

command<br />

+CPMS: 11,61,11,61,2,20<br />

OK<br />

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

// move to TEXT mode<br />

OK<br />

<strong>AT</strong>+CMGL="ALL"<br />

//List all messages in memory storage<br />

+CMGL: 225,"STO UNSENT","054565132"<br />

<br />

+CMGL: 223,"STO UNSENT","4565029" //Example of H24 response<br />

<br />

+CMGL: 222,"STO SENT","054565029"<br />

<br />

+CMGL: 221,"STO SENT","054565132"<br />

<br />

+CMGL: 220,"STO UNSENT",""<br />

<br />

OK<br />

<strong>AT</strong>+CMGL="STO UNSENT" //List all messages of a certain type (for example, stored<br />

unsent messages)<br />

+CMGL: 225,"STO UNSENT","054565132"<br />

<br />

+CMGL: 223,"STO UNSENT","4565029"<br />

<br />

+CMGL: 220,"STO UNSENT",""<br />

<br />

OK<br />

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

//Read any message from the list using its index<br />

+CMGR: "STO UNSENT","054565132"<br />

<br />

OK<br />

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

+CMS ERROR: invalid index<br />

<strong>AT</strong>+CPMS="sm"<br />

+CPMS: 2,20,11,61,2,20<br />

OK<br />

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

+CMGR: "REC UNREAD","+97254565132",,"05/02/18,"21:22:23+08"<br />

<br />

OK<br />

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

OK<br />

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

+CMGR: "REC UNREAD","+97254565132",,"05/02/18,"21:22:23+08",145,4,0,0,"+<br />

97254120032",145,<br />

<br />

OK<br />

4-8 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> April 15, 2010

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

Saved successfully!

Ooh no, something went wrong!