beautypg.com

Notification of sms, Reading messages, Listing messages – Sony Ericsson GM47 User Manual

Page 88

background image

GM47/GM48 INTEGRATOR’S MANUAL

88

LZT 123 7263 R1C

+CMGS: 204

Confirmation that the SMS has been sent

sdfjldjfl

successfully

OK

Note the following points:
1. Once the CSDH, CSMP and CMGF commands have been carried

out they will not need to be initialized for this session.

2. These parameters are saved in NVRAM using the &W command.

Notification of SMS

New message indications are similar to the PDU mode as shown below:

AT+CNMI=3,1
OK

+CMTI: “SM”,2

AT+CNMI=3,2
OK

+CMT: “+447747008670”,“Matt
L”,“02/11/19,09:58:42+00”,145,36,0,0,“+447785016005”
,145,8
Test sms

Please note that currently the CMT indication does not have a CR/LF
appended to the end of the SMS data. If the SMS contains one it will be
displayed. Otherwise the application will need to recognize the CMT
line and the length character, in this case 8 and count the characters into
its input buffer.

Reading messages

Reading messages is performed as in PDU mode.

AT+CMGR=2
+CMGR: “REC UNREAD”,“+447747008670”,“Matt L”,“02/11/
19,09:57:28+00”,145,36,0,0,“
+447785016005”,145,8
Test sms

OK

Listing messages

In PDU mode numbers are used as parameters. In text mode letters are
used instead and these must be upper case as the module does not accept
lower case commands. See the example below:

This manual is related to the following products: