Motorola G24 Guide Developer's Manual page 184

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

SMS
The following table shows the +CPMS parameters.
<Parameter>
<mem1>
<mem2>
<mem3>
"BM"
"ME"
"MT"
"SM"
Note:
Example
AT+CPMS="SM"
+CPMS: 5,20,5,59,5,20
OK
AT+CPMS?
+CPMS: "SM",5,20,"ME",5,59,"SM",5,20
OK
AT+CPMS="ME"
+CPMS: 5,59,5,59,5,20
OK
AT+CPMS?
+CPMS: "ME",5,59,"ME",5,59,"SM",5,20
OK
3-100
Table 3-52: +CPMS Parameters
memory from which messages are read and deleted.
Supported values are: "MT","SM","ME","BM".
The default value at power-up is "MT".
memory to which writing operation is made.
Supported value is: "ME".
The default value at power-up is "ME".
memory to which received SMS are stored (unless forwarded directly to TE).
Supported value is: "SM".
The default value at power-up is "SM".
broadcast message storage
ME message storage
All storages
SIM message storage
The value 'Total' is the total number of messages, of maximal size, that can be stored in
the corresponding 'mem': Total1 for mem1, Total2 for mem2, and Total3 for mem3.
The 'Total' values are not fixed. They are recalculated after any change in message storage
contents. Calculated value is 'size of free storage' divided by 'maximal size of message'.
The maximal message size includes the maximal size of message contents, and the
maximal size of all header fields.
For example, if message storage is empty, the output will be as follows:
AT+CPMS?
+CPMS: "MT",0,76,"ME",0,56,"SM",0,20
When writing five new messages, five characters long each, the output will be as follows:
AT+CPMS?
+CPMS: "MT",5,79,"ME",5,59,"SM",0,20.
In the first example, the 'Total2' value was 56. In the second example, the 'Total2' value
is 59. Because new messages are shorter, more memory is available for additional
messages.
AT Commands Reference Manual
Description
December 31, 2007

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents