beautypg.com

3 message format - +cmgf – Rainbow Electronics GM862-QUAD-PY User Manual

Page 173

background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

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

page 173 of 434

+CPMS - Preferred Message Storage

SELINT 2

[,
[,]]


Parameters:
- memory from which messages are read and deleted
"SM" - SIM SMS memory storage
- memory to which writing and sending operations are made
"SM" - SIM SMS memory storage
- memory to which received SMs are preferred to be stored
"SM" - SIM SMS memory storage

The command returns the memory storage status in the format:

+CPMS: ,,,,,

where:
- number of SMs stored into
- max number of SMs that can contain
- number of SMs stored into
max number of SMs that can contain
- number of SMs stored into
- max number of SMs that can contain

Note: The only supported memory storage for reading, writing and
sending SMs is the SIM internal memory "SM":
==="SM".

AT+CPMS?

Read command reports the message storage status in the format:

+CPMS: ,,,,,,
,,


where , and are the selected storage
memories for reading, writing and storing respectively.

AT+CPMS=?

Test command reports the supported values for parameters ,
and

Example

AT+CPMS?

+CPMS: "SM",5,10,"SM",5,10,"SM",5,10

OK

(you have 5 out of 10 SMS SIM positions occupied)

M

S

M

O

D

E

=
1



#

S

M

S

M

O

D

E

=
1



#

S

M

S

M

O

D

E

=
1



Reference GSM

07.05

3.5.5.1.3 Message Format - +CMGF

+CMGF - Message Format

SELINT 0 / 1

AT+CMGF[=
[]]

Set command selects the format of messages used with send, list, read and
write commands.