12.07.2015 Views

GM862-GPS Software User Guide - SemiconductorStore.com

GM862-GPS Software User Guide - SemiconductorStore.com

GM862-GPS Software User Guide - SemiconductorStore.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>GM862</strong>-<strong>GPS</strong> <strong>Software</strong> <strong>User</strong> <strong>Guide</strong>1vv0300729 Rev. 4 - 24/01/073.5 SMS handlingThe Telit <strong>GM862</strong>-<strong>GPS</strong> supports the Short Message Service, it is possible to store, delete, write, sendand receive a SMS, which is a short text message up to 160 characters long.3.5.1 SMS device setupBefore accessing the Short Message Service, the device has to be properly set up.3.5.1.1 Select SMS format typeThe <strong>GM862</strong>-<strong>GPS</strong> supports SMS in two different formats:• PDU• TextThe difference is that in the PDU mode the device returns and receives SMS encoded in the formatready to be sent to the network; in TEXT mode the device converts automatically the read PDU intotext and viceversa. By using TEXT mode the PDU data encoding knowledge is not needed andoperations are easier. For this reason, we will use the TEXT mode to explain how to operate withSMS. If you are familiar with PDU encoding then you can operate with PDU by selecting that formatand using appropriate <strong>com</strong>mand syntax.• Send <strong>com</strong>mand AT+CMGF=where: is the SMS format type:0 – PDU1 – Text• wait for response OKTIP: This setting is stored and remains until the device is turned off. Hence, there's no need toissue it more than one time. For TEXT mode use =1.For example:1- Let's assume you want to set TEXT format for the SMS:<strong>com</strong>mand:AT+CMGF=1response:OKReproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 55 of 111

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

Saved successfully!

Ooh no, something went wrong!