Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual
Page 361
Phonebooks Commands
Write Phonebook Entry +CPBW
©Restricted
Page:
15 / 202
This document is the sole and exclusive property of Wavecom. Not to be distributed or divulged without
prior written agreement.
WM_DEV_OAT_UGD_049 - 001
VOLUME 3
August 23, 2007
16.3.5
Examples
Command
Responses
AT+CPBS="SM"
Note: ADN phonebook
OK
AT+CPBS?
Note: Get current memory storage
+CPBS:"SM",1,10
OK
Note: ADN phonebook is selected, 1 location is used
and 10 locations are available
AT+WCOS=0
Note: Phonebook not extended
OK
AT+CPBW=?
Note: Test command
+CPBW: (1-50),20,(129,145),10
OK
Note: 50 locations, phone number = 20 digits max,
TON/NPI = 129 or 145, text length = 10 character
max
AT+CPBW=5,"112",129,"SOS"
Note: Write at location 5
OK
Note: Location 5 written
AT+CPBR=5
Note: Read the entry at location 5
+CPBR: 5,"112",129,"SOS"
OK
AT+CPBS?
Note: Get current memory storage
+CPBS: "SM",2,10
OK
Note: ADN phonebook is selected, 2 locations are
used and 10 locations are available
AT+CPBW=5,"01290917",129,"Jacky"
Note: Overwrite location 5
OK
Note: Location 5 overwritten
AT+CPBW=6,"01292349",129,"80004100
42"
OK
Note: Write location 6 (UCS2 format for the
AT+CPBW=8,"01292349",129,"80xyz"
Note: Write location
OK
Note: Location 8 is written. The string has a wrong
UCS2 format, it is therefore considered as an ASCII
string.
AT+CPBW=5,"01290917",129,"Jacky",1
+CME ERROR: 3
Note: Write an extended entry
Note: Error because +WCOS: 0