5 set text mode parameters (only in text mode) – Rainbow Electronics GE863-GPS low power User Manual
Page 64

GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved
page 64 of 122
For example:
1- Let's assume you want to eliminate all the unsolicited codes that may be sent when receiving SMS
& Status Report:
command:
AT+CNMI= 0,0,0,0,0
response:
OK
For example about a new message indication:
1- Let's assume you receive a new SMS delivery (AT+CNMI=1,1,0,0,0) and this new message is
stored on the SIM "SM" storage at the location number 7; the unsolicited code you will receive (if code
is enabled) is:
unsolicited code:
+CMTI: "SM",7
2- Let's assume you receive a new SMS Status Report delivery (AT+CNMI=1,0,0,2,0) and this new
message is stored on the SIM "SM" storage at the location number 8; the unsolicited code you will
receive is:
unsolicited code:
+CDSI: "SM",8
3.5.1.5 Set Text Mode Parameters (only in TEXT mode)
When the device is set to operate with Text SMS not with PDU, the SMS parameters that usually
reside on the header of the PDU must be set apart with the command +CSMP.
The parameters to be set are:
•
Message Format
•
Validity Period
•
Protocol Identifier
•
Data Coding Scheme
The meaning and format of the parameters is:
- Message format, like defined for the first octet of message according to GSM 3.40:
The format is an 8-bit parameter divided into 6 fields and then reported as an integer:
b7
b6
b5
b4
b3
b2
b1
b0
RP
UDHI
SRR
VPF
RD
MTI
where
MTI message type parameter:
0 1 - SMS Submit (only value supported)
RD reject duplicates parameter
0 - don't reject duplicates SMS in SC
1 - reject duplicates on SC