Multi-Tech Systems GPRS (MTMMC-G) User Manual

Page of 203
Chapter 8 – Phonebook Commands  
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 
55 
 
Using mode 4 and 5 with +CPBF command and CPBW: 
Command 
Possible responses
AT+CPBF=”Er” 
Note: Find ”Er” in phonebook 
+CPBF: 15,”+331290101”,145,”Eric” 
OK 
Note: Display the location 
AT+CPBN=2 
Note: Read the next location 
+CPBN: 5,”+33147658987”,145,”Frank” 
OK 
Note: Display the following location 
AT+CPBF=”Er” 
Note: Find ”Er” in phonebook 
+CPBF: 15,”+331290101”,145,”Eric” 
OK 
Note: Display the location 
AT+CPBN=4 
Note: Get the last location read 
+CPBF: 15,”+331290101”,145,”Eric” 
OK 
Note: Display the last location read 
AT+CPBW=,”0146290800”,129,”WM” 
Note: Write an item at the first location 
available 
OK 
Note: No information about this location 
AT+CPBN=4 
Note: Get the last location read 
+CPBF: 15,”+331290101”,145,”Eric” 
OK 
Note: Display the last location read 
AT+CPBN=5 
Note: Display the last item written with 
its location 
AT+CPBN=38,”0146290800,129,”WM” 
Note: Display the last item written with its location 
AT+CPBN=4 
Note: Get the last item read 
AT+CPBN=38,”0146290800,129,”WM” 
Note: Now the last item read is the last written item too 
AT+CPBF=”800041FFFF” 
Note: Find”800041” in phonebook 
+CPBF: 15,”+3312345”,145,”8000414339FFFF” 
OK 
Note: Display this location 
AT+CPBN=4 
Note: Get the last location read 
+CPBF: 15,”+3312345”,145,”8000414339FFFF” 
OK 
Note: Display the last location read 
Note:
   The 
AT+CPBN=5 command is useful after an AT+CPBW command is used without a location. 
 
 
Subscriber Number   +CNUM 
Description: 
This command returns the subscriber MSISDN(s). If the subscriber has different MSISDNs for different 
services, each MSISDN is returned in a separate line. 
Values: 
<alphax> 
optional alphanumeric string associated with <numberx> 
 <numberx>  string type phone number with format as specified by <typex> 
 <typex> 
type of address byte in integer format 
Syntax: Command 
syntax: AT+CNUM 
 Response 
syntax: 
+CNUM: <alpha1>, <number1>, <type1> <CR><LF> +CNUM: <alpha2>, 
<number2>,
 <type2> …. 
Command 
Possible responses
AT+CNUM 
 
Note: Get MSISDN(s) 
+CNUM:”Phone”, “0612345678”,129 
+CNUM:”Fax”, “0687654321”,129 
+CNUM: “80001002FFFF”, “+0183773”, 145 (UCS2 format) 
OK 
Note: MSISDNs 
AT+CNUM=? OK