At+csmp=<fo>,<vp>,<pid>,<dcs><cr – Rainbow Electronics GM862-GPS User Manual
Page 66

GM862-GPS Software User Guide
1vv0300729 Rev. 5 - 05/07/07
Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved
page 66 of 120
for simplicity, we report only the most useful DCS, for further Schemes refer to GSM 3.38
b7
b6
b5
b4
b3
b2
b1
b0
1
1
1
1
0
Alpha
bet
Class
where
Alphabet
0 - default Alphabet
1 - 8 bit
Class
0 0 - Class 0
0 1 - Class 1
1 0 - Class 2
1 1 - Class 3
TIP: The default value for DCS = 0 represents the default SMS sent by a mobile. If you don't
need any particular data coding scheme use DCS=0.
NOTE: Not all the DCS combinations described in the GSM 3.38 are supported, both by the
network and by the Telit GM862-GPS. Some features may be not implemented at network level
or at device level, resulting in a +CMS ERROR: 303 (operation not supported) result code. If
this happens then use a different DCS.
•
send command
AT+CSMP=<fo>,<vp>,<pid>,<dcs><cr>
where:
<fo>: Message format
<vp>: Validity Period
<pid>: Protocol Identifier
<dcs>: Data coding Scheme
•
wait for
OK
For example:
1- Let's assume you want to set the SMS parameters to the values:
- Message Format:
- SMS submit
- don't reject duplicates
- VP Format integer (relative)
- status report not requested
- No Header on PDU
- Reply path not set
Hence, the message format is the binary number 00010001 corresponding to the integer 17.
- Validity period 24 hours corresponding to an integer value 167.