Chapter 12 – Phone Book Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C 83
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”
Note: Select the ME phonebook.
AT+CPBU?
Note: Display ME phonebook
information.
OK
Note: ME phonebook selected
+CPBU: (1 –100),32,(0-255),12
OK
Note: 100 locations starting at 1, 32 digits maximum, TON/NPI
value range is 0-255, and 12 characters for the text.
AT+CPBS=”MT”
Note: Select the MT phonebook.
AT+CPBU?
Note: Display MT phonebook
information.
OK
Note: MT phonebook selected
+CPBU: (1-100,101-180),(32,20),(0-255),(12,12)
OK
Note: 100 locations starting at 1 for the ME phonebook, 80
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”
Note: Find entries that start with “NEXT”
+CME ERROR: 22
Note: Entry not found