Chapter 12 – Phone Book Commands

Return Selected Phonebook Locations +CPBU

Description: This command returns information about the currently selected phonebook. This includes the starting entry location, the total number of locations, maximum length of the phone number, the TON/NPI value range, and the maximum number of characters for the text portion of each entry.

The format of the returned data for the “MT” phonebook is different. It is a combination of the “ME” and “SM” phonebooks with values that describe each.

Syntax:

Command syntax: AT+CPBU?

 

 

Command

Possible Responses

 

AT+CPBS=”ME”

OK

 

Note: Select the ME phonebook.

Note: ME phonebook selected

 

AT+CPBU?

+CPBU: (1 –100),32,(0-255),12

 

 

OK

 

Note: Display ME phonebook

Note: 100 locations starting at 1, 32 digits maximum, TON/NPI

 

information.

value range is 0-255, and 12 characters for the text.

 

AT+CPBS=”MT”

OK

 

Note: Select the MT phonebook.

Note: MT phonebook selected

 

AT+CPBU?

+CPBU: (1-100,101-180),(32,20),(0-255),(12,12)

 

 

OK

 

Note: Display MT phonebook

Note: 100 locations starting at 1 for the ME phonebook, 80

 

information.

locations starting at 101 for the SM phonebook, 32 digits maximum

 

 

for the ME phonebook and 20 digits maximum for the SM

 

 

phonebook, TON/NPI value range is 0-255, and 12 characters for

 

 

the text in both the ME and SM phonebooks.

Find Phonebook Entries +CPBF

Description: This command returns the first ten phonebook entries with alphanumeric fields starting with a given string. The user can use a string that is more exact to ensure that the entry they are looking for is found. The string search is case sensitive.

When the “MT” phonebook is selected, the find operation searches the “ME” portion first followed by the “SM” portion. The returned values may be a combination of entries from both the “ME” and “SM” phonebooks.

 

Note: This command is functional for the “ME”, “EN”, “SM”, and “MT” phonebooks only.

Syntax:

Command syntax: AT+CPBF=”string”

 

 

Command

Possible Responses

 

AT+CPBF=”TES”

+CPBF: 1,”6195551212”,145,”test1”

 

 

OK

 

 

Note: Displays location starting with “TES”

 

AT+CPBF=”NEXT”

+CME ERROR: 22

 

Note: Find entries that start with “NEXT”

Note: Entry not found

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

83

Page 83
Image 83
Multi-Tech Systems CDMA Wireless Modem manual Return Selected Phonebook Locations +CPBU, Find Phonebook Entries +CPBF