Chapter 12 – Phone Book Commands

Phonebook Read +CPBR

Description: This command returns phonebook entries from a range of locations from the currently selected phonebook.

When the “MT” phonebook is selected, a request for the range 95 through 105 will return locations 95 through 100 of the “ME” phonebook and locations 1 through 5 of the “SM” phonebook (“MT” phonebook locations 101 through 105).

 

Note: There are only 9 entries total in the Emergency Numbers phonebook (1 – 9).

Syntax:

Command syntax: AT+CPBR=<first>[,last]

 

 

Command

Possible Responses

 

AT+CPBR=1

+CPBR:1,”6185551212”,145,”test”

 

AT+CPBR=1,3

+CPBR:1,”6185551212”,145,”test1”

 

Note: Read location 1 to 3 and return and data they

+CPBR:2,”6185551212”,129,”test2”

 

may contain. Only 10 entries starting at the first entry

+CPBR:3,”6185551212”,115,”test3”

 

are displayed. User can enter command multiple

Note: The MSB of the TON/NPI is ALWAYS set high

 

times with different indices.

 

 

AT+CPBR=12,1

ERROR

 

Note: <x,y> where x<y

Note: Invalid range x>y

 

AT+CPBR=300

+CMEE:21

 

 

Note: Invalid index

Note 1: When the range is more than 10, only the first 10 hit entries will be displayed.

Note 2: For the LD, MC, and RC phonebooks, the TON/NPI number will not be displayed.

Phonebook Search +CPBP

Description: This searches the currently selected phonebook for a phone number match and returns the entry if found. The search looks for the exactly number string match.

When the “MT” phonebook is selected, the search operation searches the “ME” portion first followed by the “SM” portion.

Syntax:

Command syntax: AT+CPBP= ”<phone number>”

 

Command

Possible Responses

 

AT+CPBP= ”8585551212”

+CPBP=1,”8585551212”,145,”FullBook”

 

Note: Find ”8585551212” in

OK

 

current phonebook if it exists.

Note: ME phone book previously selected. Display the entry that

 

 

matches.

 

AT+CPBP=”123”

+CME ERROR: 22

 

 

Note: Entry not found

Note: The phone number to search should match that stored in phone book. Partial number searching is not supported and will return an error.

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

85

Page 85
Image 85
Multi-Tech Systems CDMA Wireless Modem Phonebook Read +CPBR, Phonebook Search +CPBP, Command syntax AT+CPBR=first,last