Huawei MG323 Recording Equipment User Manual


 
HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Commands for Short Messages
Issue 02 (2010-11-23)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
172
Parameter description:
<mem1>: string value, the preferred memory, which indicates the media on which the
operations of reading and deleting short messages are performed. Only “SM” that
indicates the SIM card is supported. It is saved upon power failure.
<mem2>: string value, which indicates the media on which the operations of writing
and sending short messages are performed. Value options of <mem2> are the same
as those of <mem1>. It is saved upon power failure.
<mem3>: string value, which indicates the media on which the operations of
receiving short messages are performed. Value options of <mem3> are the same as
those of <mem1>. It is saved upon power failure.
<total1>: integer value, which indicates the capacity of <mem1> for storing short
messages.
<total2>: integer value, which indicates the capacity of <mem2> for storing short
messages.
<total3>: integer value, which indicates the capacity of <mem3> for storing short
messages.
<used1>: integer value, which indicates the number of existing short messages in
<mem1>.
<used2>: integer value, which indicates the number of existing short messages in
<mem2>.
<used3>: integer value, which indicates the number of existing short messages in
<mem3>.
11.9.2 Reading the Status of Storage Location
Read
command
AT+CPMS?
Function
Reads the current status of storage location.
Response
z
In case of successful execution:
<CR><LF>+CPMS:
<mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<mem3>,<us
ed3>,<total3><CR><LF><CR><LF>OK<CR><LF>
z
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
z
In case of an error related to the MS: <CR><LF>+CMS ERROR:
<err><CR><LF>