At+csmp=<fo>,<vp>,<pid>,<dcs><cr – Rainbow Electronics GM862-QUAD-PY User Manual

Page 65

Advertising
background image





GM862-QUAD / PY Software User Guide

1vv0300747 Rev. 3 - 10/07/07

Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved

page 65 of 96

NOTE: Not all the DCS combinations described in the GSM 3.38 are supported, both by the
network and by the Telit GM862-QUAD / PY. 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.

12 hours + ((167 -143) x 30 min) = 24 hours

- Protocol ID implicit (SMS sent to a mobile terminal) corresponding to a value 0.
- DCS default value 0.

command:
AT+CSMP= 17,167,0,0

response:
OK

2- Let's assume you want to set the SMS parameters to the values:
- Message Format:

- SMS submit

- don't reject duplicates

- VP Format semi octet (absolute)

- status report requested

- No Header on PDU

- Reply path not set

Hence, the message format is the binary number 00111001 corresponding to the integer 57.
- Validity period format is absolute, hence it represents the expiration date of the message and the
desired expiration date is for example 29/06/02 at 02:20 in the time zone of Italy (+1).

Advertising