5 sms handling, 1 sms device setup, 1 select sms format type – Telit Wireless Solutions GE863 User Manual

Page 54: Sms handling, Sms device setup, At+cmgf=<mode><cr

Advertising
background image





GE863-GPS Software User Guide

1vv0300724 Rev. 2 - 24/01/07

3.5 SMS handling


The Telit GE863-GPS supports the Short Message Service, it is possible to store, delete, write, send
and receive a SMS, which is a short text message up to 160 characters long.

3.5.1 SMS device setup

Before accessing the Short Message Service, the device has to be properly set up.

3.5.1.1 Select SMS format type.

The GE863-GPS supports SMS in two different formats:
• PDU

• Text
The difference is that in the PDU mode the device returns and receives SMS encoded in the format
ready to be sent to the network; in TEXT mode the device converts automatically the read PDU into
text and viceversa. By using TEXT mode the PDU data encoding knowledge is not needed and
operations are easier. For this reason, we will use the TEXT mode to explain how to operate with
SMS. If you are familiar with PDU encoding then you can operate with PDU by selecting that format
and using appropriate command syntax.

• Send command

AT+CMGF=<mode><cr>

where:
<mode> is the SMS format type:

0 – PDU
1 – Text


• wait for response

OK

TIP: This setting is stored and remains until the device is turned off. Hence, there's no need to
issue it more than one time. For TEXT mode use <mode>=1.

For example:
1- Let's assume you want to set TEXT format for the SMS:
command:
AT+CMGF=1<cr>
response:
OK

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 54 of 109

Advertising