At+Cnum Read Own Numbers; At+Cpbr Read From Phonebook - Multi-Tech MultiModem EDGE Reference Manual

Wireless edge modems
Table of Contents

Advertisement

15.2 AT+CNUM Read Own Numbers

Description:
Test Command Syntax:
Response(s):
Exec Command Syntax:
Response(s):
Parameter Descriptions:
<alpha>
Optional alphanumeric string associated with <number>.
<number>
Phone number in format specified by <type>.
<type>
Type of address octet, see also: AT+CPBR <type>.
Note:
Users should be aware that when using this AT command quickly after SIM PIN authentication, the SIM data
may not yet be accessible, resulting in a short delay before the requested AT command response is returned.
See Section 20.1, Restricted Access to SIM Data after SIM PIN Authentication.

15.3 AT+CPBR Read from Phonebook

Description:
Test Command Syntax:
Response:
Write Command Syntax:
Response:
Parameter Description:
<location1>
The first (lowest) location number within phonebook memory where to start reading. The maximum range
supported by the current phonebook is given in the test command response.
If <location1> exceeds the upper bound <maxloc> (as indicated by the test command), command will respond
with "+CME ERROR: invalid index".
<location2>
The last (highest) location number within phonebook memory where to stop reading. The maximum range
supported by the current phonebook is given in the test command response.
If both <location1> and <location2> are in the range indicated by the test command parameter <maxloc> the list
of entries will be output and terminated with "OK".
If <location2> exceeds the range indicated by the test command parameter <maxloc>, the list of entries will be
output but terminated with "+CME ERROR: invalid index".
The maximum value of <location2> is 255, regardless of the phonebook type and its range indicated by
Note:
<maxloc>. If a value greater than 255 is used the query returns no phonebook records, and only "+CME
ERROR: invalid index" is shown.
<number>
Phone number in format specified by <type>, it may be an empty string.
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371G)
AT+CNUM returns the subscribers own number(s) from the SIM.
AT+CNUM=?
OK
AT+CNUM
[+CNUM: [<alpha>], <number>, <type>]
[+CNUM: ... ]
OK
ERROR
+CME ERROR: <err>
AT+CPBR serves to read one or more entries from the phonebook selected with
AT+CPBS.
The test command returns the location range supported by the current phonebook
storage, the maximum length of <number> field and the maximum length of <text> field.
Length information may not be available while SIM storage is selected. If storage does not
offer format information, the format list contains empty parenthesizes.
The write command determines the phonebook entry to be displayed with <location1> or
a location range from <location1> to <location2>. Hence, if no <location2> is given only
the entry at <location1> will be displayed. If no entries are found at the selected location
"OK" will be returned.
AT+CPBR=?
+CPBR: (1-<maxloc>), <nlength>, <tlength>
OK
+CME ERROR
AT+CPBR=<location1>[, <location2>]
[+CPBR: <location1>, <number>, <type>, <text>]
[+CPBR: <location2>, <number>, <type>, <text>]
OK
+CME ERROR
Chapter 15 – Phonebook Commands
228

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MultiModem EDGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents