44
6196-2220
+CPBW Write phonebook entry
Description:
This command writes a phonebook entry in location number <index> in the current
phonebook memory storage. “RC” and “MC” phonebooks could be only erased by
+CPBW. Adding field and/or modifying field is not allowed for these phonebooks.This
command is not allowed for “EN”, “LD”, “MC”, “RC”, “MT”, “SN” phonebooks, which can
not be written.
Syntax:
AT+CPBW=<index>[,<number>[,<type>[,<text>]]]
Command example
Possible responses
Note
AT+CPBW=? +CPBW: (1-50),20,
Test
command, 50
loca-
(129,145),10
tions, phone number =
OK
20 digits max,TON/NPI
of 129 or 145,
text length = 10
AT+CPBW= 3
OK
Erase location 3, location
3 erased
AT+CPBW=5,”112”,129,
Write at location 5,
”SOS”
OK
location 5 written
AT+CPBW=5,”01290917”,
Overwrite location 5,
129,”Jacky”
OK
location 5 overwritten
AT+CPBW=6,”01292349”,
Write location 6 (UCS2
129,”8000410042”
OK
format for the <text>
field), location 6 is
written
AT+CPBW=,”+3314522
Write at the first location
1100”,145,”SOS”
OK
available, first location
available is written
AT+CPBW=,”0345221100”,
Write at the first location
129,”SOS”
+CME ERROR: 20
available, phonebook full
AT+CPBW=57,”112”,129,
Write at location 57
”WM”
+CME ERROR: 21
(wrong), invalid index
AT+CPBW=7,”0123456789
Write at location 7 a
01234567890”,129,
phone number
”WAVE”
+CME ERROR: 26
exceeding the limit
(21 digits), phone number
too long
AT+CPBW=7,”012233
Write at location 7 along
4455”,129,”WESTERMO
text (11
TEL”
characters),Text too long
+CME ERROR: 24
Summary of Contents for GD-01 TCP
Page 147: ...147 6196 2220...