HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for the Phone Book

13.3.2 Reading the Current Memory of the Phone Book

Read AT+CPBS? command

Function Reads the current memory of the phone book.

Response z In case of successful execution:

<CR><LF>+CPBS:

<storage>[,<used>,<total>]<CR><LF><CR><LF>OK<CR><LF>

zIn case of an error during command execution: <CR><LF>ERROR<CR><LF>

zIn case of an error related to the MT: <CR><LF>+CME ERROR: <err><CR><LF>

Parameter description

<used>: integer value, which indicates the number of used entries in the currently selected memory.

<total>: integer value, which indicates the maximum number of entries in the currently selected memory.

13.3.3 Setting the Memory Type of the Phone Book

Write

AT+CPBS=<storage>

command

 

Function

Sets the memory type of the phone book.

Response

z In case of successful execution: <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 MT: <CR><LF>+CME ERROR:

 

<err><CR><LF>

13.3.4 Examples

Example 1:

AT+CPBS=?

+CPBS: (“FD”,”SM”,”ON”,”LD”,”MC”,”RC”,”EN”)

OK

Example 2:

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

189

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 206
Image 206
Huawei MG323 Reading the Current Memory of the Phone Book, Setting the Memory Type of the Phone Book, At+Cpbs=?, Crlf+Cpbs