Technical data

WMO2 G900 / G1800 / G1900
WCOM/GSM/WMO2/WMO2ATDOC Friday 21 May 1999
WAVECOM confidential © 44
4.5 Phonebook commands
4.5.1 Select phonebook memory storage +CPBS
This command selects phonebook memory storage. The available
phonebooks are the ADN (SIM), FDN (SIM fixdialling, restricted phonebook),
and MSISDN (SIM own numbers) phonebooks.
Application to GSM AT+CPBS= "SM" Select ADN phonebook
GSM to application OK ADN phonebook is selected
Application to GSM AT+CPBS=? Possible values
GSM to application +CPBS: ("SM",”FD”,”ON”)
OK
ADN, FDN, MSISDN phonebooks supported
Application to GSM AT+CPBS ? Status
GSM to application +CPBS: "SM",10,20
OK
ADN phonebook selected, 10 used locations, 20
locations available
The ADN phonebook could not be selected is FDN is active.
4.5.2 Read phonebook entries +CPBR
This command returns phonebook entries for a location range from the
current phonebook memory storage selected with +CPBS.
Application to GSM AT+CPBR=? Test command
GSM to application +CPBR: (1-50), 20,10
OK
50 locations (from 1 to 50), max
length of 20 for phone 10 characters
max for the associated text
Application to GSM AT+CPBR=12,14 Read entries from 12 to 14
GSM to application +CPBR: 12,"112",129,"Emergency"
+CPBR: 13,"+331290909",145, "Fred"
+CPBR: 14, "0146290808",129, "Zazi"
OK
Display locations 12,13,14 with
Location, Number, Type (TON/NPI),
Text
Application to GSM AT+CPBR=10 Read entry 10
GSM to application +CPBR:10,"0146290921",129,"Rob"
OK
Display location 10
Application to GSM AT+CPBR=52 Read entry 52 (wrong)
GSM to application +CME ERROR: 21 Invalid index
4.5.3 Find phonebook entries +CPBF
This command returns phonebook entries which alphanumeric field start
with a given string. The AT+CPBF= "" command can be used to display all
phonebook entries sorted in alphabetical order.
Application to GSM AT+CPBF=? Test command
GSM to application +CPBF: 20,10
OK
max length of 20 for phone 10
characters for the text
Application to GSM AT+CPBF= "E" Read entries with "E"
GSM to application +CPBF: 12,"112",129,"Emergency"
+CPBF: 15,"+331290101",145, "Eric"
OK
Display locations with text field
starting with "E"
Application to GSM AT+CPBF="H" Read entries with "H"
GSM to application +CME ERROR: 22 Entry not found