Multi-Tech Systems GPRS (MTSMC-G) Network Router User Manual


 
Chapter 8 – Phonebook Commands
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 50
+CPBW Command Table Continued
Command Possible responses
AT+CPBW=5,”01290917”,129,”Jacky”
Note: Overwrite location 5
OK
Note: Location 5 overwritten
AT+CPBW=6,”01292349”,129,”8000410042”
Note: write location 6 (UCS2 format for the <text> field)
OK
Note: Location 6 is written
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”
Note: write an extended entry
+CME ERROR: 3
Note: Error because +WCOS: 0
AT+WCOS=1
Note: Phonebook extended
OK
AT+CPBW=5,”01290917”,129,”Jacky”1
Note: Write an extended entry
OK
AT+WCOS=0
Note: Phonebook not extended
OK
AT+CPBS=”ME”
Note: ME Phonebook
OK
AT+CPBS?
Note: How many entries are used
+CPBS: “ME”,2,500
Note: in ME phonebook, 2 locations are used
and 500 locations are available.
AT+CPBW=1,”0123456798”,129,”first entry”
Note: Write a not extended entry
OK
AT+CPBW=1,”0123456798”,129,”first
entry”,”9876543210”,129
Note: Write an extended entry
+CME ERROR: 3
Note: Error because +WCOS: 0
AT+CPBR=1
Note: Read the first entry
+CPBR: 1,”0123456798”,129,”first entry”
AT+WCOS=1
Note: Phonebook extended
OK
AT+CPBW=1,”0123456798”,129,”first entry”
Note: Write an entry not extended
OK
AT+CPBW=2,”9876543210”,129,”second
entry”,”6543210987”,129
Note: Write an extended entry
OK
AT+CPBR=1,2
Note: Read entry 1 and 2
+CPBR: 1,”0123456798”,129,”first entry”
AT+CPBW=13,”+331290909”,145,”Fred”,
”0141284549”,129,“0600003210”,129,”0141280000”,
129,“019876543210”,129,
fred@mail_address.com, “Becker Street London”,1
Note: Write location with Contact and Phonebook
Group n1
OK
Note: Location 13 is written
AT+CPBW=,”+33145221100”,145,”SOS”
Note: Write at the first location available
OK
Note: First location available is written
AT+CPBW=,”+0345221100”,145,”SOS”
Note: Write at the first location available
+CME ERROR: 20
Note: Phonebook full
AT+CPBW=57,”112”,129,”WM”
Note: Write at location 57 (wrong)
+CME ERROR: 21
Note: Invalid index
AT+CPBW=7,”012345678901234567890”,129,”WAVE”
Note: Write at location 7 a phone number exceeding
the limit (21 digits)
+CME ERROR: 26
Note: Phone number too long
AT+CPBW=7,”0122334455”,129,”WAVECOMTEL”
Note: Write at location 7 along text (11 characters)
+CME ERROR: 24
Note: Text too long
AT+CPBS=”SM”
Note: ADN phonebook
OK
AT+WCOS? +WCOS: 1
OK
Note: Extended phonebook
AT+CPBR=1
+CPBR:1,”0123456”,129,”test”
OK
AT+CPBW=1,”0123456,,”test”,1
Note: Add an extended entry in SIM with group
number 1
OK