Technical data
WMO2 G900 / G1800 / G1900
WCOM/GSM/WMO2/WMO2ATDOC Friday 21 May 1999
WAVECOM confidential © 45
4.5.4 Write phonebook entry +CPBW
This command writes phonebook entry in location number <index> in the
current phonebook memory storage.
Application to GSM AT+CPBW=? Test command
GSM to application +CPBW: (1-50),20,(129,145),10
OK
50 locations, phone
length=20, TON/NPI of 129 or
145, text length=10
Application to GSM AT+CPBW=3 Erase location 3
GSM to application OK Location 3 erased
Application to GSM AT+CPBW=5,"112",129 ,"SOS" Write at location 5
GSM to application OK Location 5 written
Application to GSM AT+CPBW=5,"01290917",129,"Jacky" Overwrite location 5
GSM to application OK Location 5 is overwritten
Application to GSM AT+CPBW=,"+33145221100",145,
"SOS"
Write at the first free location
GSM to application OK Free location is written
Application to GSM AT+CPBW=,"0345221100",129,"SOS" Write at the first free location
GSM to application +CME ERROR: 20 Phonebook full
Application to GSM AT+CPBW=57,"112",129 ,"WM" Write at loc 57 (wrong)
GSM to application +CME ERROR: 21 Invalid index
Application to GSM AT+CPBW=7,"012345678901234567890",
129 ,"WAVE"
Write at loc 7 a long Phone
number (21 digits)
GSM to application +CME ERROR: 26 Phone too long
Application to GSM AT+CPBW=7,"0122334455",129 ,
"WAVECOM TEL"
Write at loc 7 a long Text (11
characters)
GSM to application +CME ERROR: 24 Text too long
When the fixed dialling phonebook (FDN) is locked , this command is not
allowed. Moreover , when FDN is unlocked , PIN2 is required to write in
the FDN phonebook.
But if PIN2 authentification has been done during the current cession ,
+CPBW command with FDN is allowed .
Application to GSM AT+CPBS=”FD” Choose FDN
GSM to application OK
Application to GSM AT+CPBW=5,"01290917",129,"Jacky" write in FDN at location 5
GSM to application +CME ERROR:17 SIM PIN2 is required
Application to GSM AT+CPIN?
GSM to application SIM PIN2 SIM PIN2 is required
Application to GSM AT+CPIN=5678 Enter SIM PIN2
GSM to application OK
Application to GSM AT+CPBW=5,"01290917",129,"Jacky" write in FDN at location 5
GSM to application OK Now writing in FDN is allowed