User manual
Wavecom GSM Modem
This confidential document is the property of WAVECOM and may not be copied or circulated without permission
27
4.13. 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, 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.14. Find phonebook entries +CPBF
This command returns phonebook entries wich alphanumeric field start
with a given string.
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