Multi-Tech Systems GPRS (MTMMC-G) Benutzerhandbuch

Seite von 203
Chapter 8 – Phonebook Commands  
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 
53 
 
Phonebook Phone Search   +CPBP 
Description:  
This command orders the product to search the phonebook for an item with the same phone number as 
that defined in the parameter. 
 
The searched phone number is the FIRST one that the user can enter with AT+CPBW. For example, 
with this command strin, we can search only the phone number (+331290909): 
AT+CPBW=13,”+331290909”,145,”Fred”,”0141284549”,129,“0600003210”,129,”0141280000”, 129, 
“019876543210”,129,fred@mail_address.com, “Becker Street London”,0 
Values:       
<PhoneNumber>    Phone number (coded according to any GSM 07.07 or GSM 07.05 phone number) 
 <loc> 
Location number 
<num> 
Phone number 
<type> 
TON/NPI (type of address octet in integer format)
 
 
<contact> 
Contact structure 
Syntax:       
Command Syntax:  AT+CPBP=<PhoneNumber>  
 Response 
Syntax: 
• 
The entry is stored in the ADN phonebook and AT+WCOS=0 
<CR><LF> +CPBP=<loc>,<num>,<type>,<name> 
• 
The entry is stored in the ADN phonebook with AT+WCOS=1 
 <CR><LF> 
+CPBP=<loc>,<num>,<type>,<name>,<Phb_group> 
• 
The entry is stored in the Mobile Equipment phonebook with AT+WCOS=0 
 <CR><LF> 
+CPBP=<loc>,<num>,<type>,<name> 
• 
The entry is stored in the Mobile Equipment phonebook with AT+WCOS=1 
 <CR><LF> 
+CPBP=<loc>,<num>,<type>,<name>,<Contact>,<Phb_group> 
Command 
Possible responses
AT+CPBP=? 
Note: Test command 
+CPBP: (1-50),20,10 
OK                   Note: 50 locations (from 1 to 50), maximum length for phone 
number is 20 digits, 10 characters maximum for the text. 
AT+CPBP=”+331290101” 
Note: Search entries corresponding 
to this phone number 
+CPBP: 15,”+331290101”,145,”Eric” 
OK 
Note: Display the entry corresponding to the specified phone number 
AT+CPBP=”+331290101” 
Note: Search entries corresponding 
to this phone number 
+CPBP: 15,”01290101”,129,”Eric” 
OK 
Note: Display the entry corresponding to the specified phone number 
AT+CPBP=”01290202” 
Note: Search entries corresponding 
to this phone number 
+CPBP: 15,”+331290202”,145,”David” 
OK 
Note: Display the entry corresponding to the specified phone number 
AT+CPBP=”+331288575” 
Note: Search entries corresponding 
to this phone number 
+CPBP: 15,”+331290101”,145,”8045682344FFFF”  
OK 
Note: Display entry corresponding to the specified phone number (UCS2 format) 
AT+CPBP=”0129” 
Note: Search entries corresponding 
to this phone number 
+CME ERROR: 22 
Note: Entry not found 
AT+CPBS=”SM” 
Note: ADN phonebook 
OK 
AT+WCOS=0 
Note: Phonebook not extended 
OK 
 
AT+CPBP=”0123456789” 
Note: Search entries correspondeing 
to this phone number 
+CPBP: 1,”0123456789”,129,”Test ADN” 
Note: Display the entry corresponding to the specified phone number 
AT+WCOS=1 
Note: Phonebook extended 
OK 
 
AT+CPBP=”0123456789” 
Note: Search entries correspondeing 
to this phone number 
+CPBF: 1,”0123456789”,129,”Test ADN”,0 
Note: Display locations with text field starting with “Test”, extended entry. 
AT+CPBS=”ME” 
Note: ADN phonebook 
OK 
AT+WCOS=0 
Note: Phonebook not extended 
OK 
 
AT+CPBP=”0123456789” 
Note: Search entries correspondeing 
to this phone number 
+CPBP: 1,”0123456789”,129,”Test ME” 
Note: Display locations with text field starting with “Test” 
Continued on next page