Multi-Tech Systems GPRS (MTSMC-G) ユーザーズマニュアル

ページ / 203
Chapter 8 – Phonebook Commands  
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 
58 
 
Read a Phonebook Group  +WPGR 
Description: 
This commands reads the phonebook group entries, the phonebook group name or the number or used 
records in a group. 
Values: <mode> 
 
Read the name of one phonebook group 
Read the names of all phonebook groups 
List all entries of one phonebook group 
Read the number of used records in a phonebook group 
 <index> 
 
 
Index of the group (for use with mode = 3 or mode = 4) 
Syntax:    
Command Syntax:  AT+WPGR=<mode>,<index> 
Command 
Possible responses
AT+WPGR=? 
Note: Test command 
+WPGR: (1-4),(1-10) 
OK          
Note: 10 possible groups 
AT+WPGR=1,1 
Note: Read the name of phonebook group 1 
+WPGR: 1,”group 1”         
OK 
AT+WPGR=2 
Note: Read the name of all phonebook groups 
+WPGR: 1,”group 1”         
+WPGR: 2,”group 2”  
OK 
AT+WCOS=0 
Note: Phonebook not extended 
OK 
 
AT+WPGR=3,1 
Note: List all entries of phonebook group 1 
+WPGR: 1,”+33123456789”,145,”John”         
+WPGR: 2,”+33567891234”,145,”Elvis” 
+WPGR: 31,”+331290909”,145,”Fred” 
+WPGR: 32,”+0123456789”,129,”Test” 
OK 
Note: SIM entries: index 1 and 2; Flash entries; index 31 
and 32 (The SIM supports 30 entries in this example) 
AT+WCOS=1 
Note: Phonebook extended 
OK 
AT+WPGR=3,1 
Note: List all extended entries of phonebook 
group 1 
+WPGR: 1,”+33123456789”,145,”John”, 1 
+WPGR: 2,”+33567891234”,145,”Elvis”,1 
+WPGR: 31,”+331290909”,145,”Fred”,”0141284549”, 
129,”060003210”,129,”0141280000”,129, 
”019876543210”,129,fred@mail_address.com, 
”Becker Street London”,1 
+WPGR: 32,”+0123456789”,129,”Test”,0141284549”, 
129,”0600003210”,129,0141280000”,129, 
”6549873210”,129,test@mail_address.com,””,1 
OK 
Note: SIM entries: index 1 and 2; Flash entries; index 31 
and 32 (The SIM supports 30 entries in this example) 
Note: The entries list displayed with AT+WPGR=3,1 contains records from both the Mobile Equipment and 
the SIM phonebooks (MT phonebook).