1vv0301515 Rev.1
Page 47 of 59
2018-07-18
2.11.4.
Write Phonebook Entry
Use the following AT command to write a Phonebook entry:
AT+CPBW=[<index>][,<number>[,<type>[,<text>]]]
Examples
Select the "SM" phonebook:
AT+CPBS="SM"
OK
Read the current phonebook storage
AT+CPBS?
+CPBS: "SM", 3, 50
OK
Write a new record on the first free position of the selected "SM" phonebook:
AT+CPBW=,"1234567890",129,"New3Record"
OK
Read the current phonebook storage
AT+CPBS?
+CPBS: "SM", 4, 50
OK
Check where the New record has been written (case sensitive):
AT+CPBF="New"
+CPBF: 2, "1234567890", 129, "New1Record"
+CPBF: 3, "1234567890", 129, "New2Record"
+CPBF: 4, "1234567890", 129, "New3Record"
+CPBF: 1, "1234567890", 129, "NewRecord"
OK
Write another record
AT+CPBW=,"1234567890",129,"NEW4Record"
OK
Check where the NEW record has been written (case sensitive):
AT+CPBF="NEW"
+CPBF: 5, "1234567890", 129, "NEW4Record"
OK