22
6195-2201
+CPBS – Select phonebook memory storage
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”)
ADN, FDN, MSISDN
OK
Phonebooks supported
Application to GSM
AT+CPBS?
Status
GSM to application
+CPBS: ”SM”,10,20
ADN phonebook selected,
OK
10 used locations, 20 locations
available
The ADN phonebook could not be selected is FDN is active.
+CPBR – Read phonebook entries
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
50 locations (from 1 to 50),
OK
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,
Display locations 12,13,14
”Emergency” +CPBR: 13,
with Location, Number,
”+331290909”,145, ”Fred”
Type (TON/NPI), Text
+CPBR: 14, ”0146290808”,
129, ”Zazi”
OK
Application to GSM
AT+CPBR=10
Read entry 10
GSM to application
+CPBR:10,”0146290921”,
Display location 10
129,”Rob”
OK
Application to GSM
AT+CPBR=52
Read entry 52 (wrong)
GSM to application
+CME ERROR: 21
Invalid index
Содержание GS-01
Страница 55: ......