Specifications
3GPP
3GPP TS 27.007 V6.3.0 (2003-
06)
10
4
Release 6
AT+COPS?
+COPS: 0,0,"RADIOLINJA" (get the operator name)
OK
AT+CMEC=1,0,0 (take over the keypad, leave display to MT)
OK
AT+CDIS=?;+CIND=? (query display text and indicator formats)
+CDIS: 10,10,10,6,6
+CIND: ("memory",(0-2)),("call",(0,1)),("data",(0,1)),("roam",(0,1)),
("alpha",(0,1)),("message",(0,1)),("index1",(0-11)),("index2",(0-11)),
("index3",(0-11)),("signal",(0-5)),("service",(0,1)),("sel1",(0,1)),
("sel2",(0,1)),("sel3",(0,1)),("battchg",(0-5))
OK
AT+CSCS="IRA" (set TE character set for display text results)
OK
AT+CMER=1,0,2,2,0 (return display text and indicator result codes when
OK in command state, in data mode discard them)
AT+CDIS?;+CIND? (read current state of display texts and indicators)
+CDIS: "",""," 12345","Menu","Memory" (user had pressed number buttons before
+CIND: 1,0,0,0,0,1,0,0,0,3,1,0,0,0,5 TE took control with +CMEC)
OK
AT+CKPD="C",20 (clear main display text '12345' by holding the
OK 'clear' button down two seconds)
+CDEV: 3,"1234" (first only one character deleted)
+CDEV: 3,"" (while holding continues, whole display is cleared)
+CDEV: 1,"RADIOLINJA" (operator name comes to the display)
The start of the previous example could go as follows when MT has already been powered on but is waiting for the
PIN:
AT+CMEE=2;+CREG=1 (use verbose <err> values; report registration)
OK
AT+CPAS (query MT status)
+CPAS: 0 (MT is ready to receive commands)
OK
AT+CPIN? (is MT asking passwords?)
+CPIN: SIM PIN (yes, SIM PIN required)
AT+CPIN="4321"
OK (correct PIN)
One of the most regular operations done through the MT user interface is phonebook control. To lessen the workload of
the TE, some direct commands for phonebook reading and writing are practical. Command Select Phonebook Memory
Storage +CPBS query version returns supported phonebook memories, read version returns current settings, and set
version selects the memory. For GSM, the normal storages are SIM, MT and TA.
Read Phonebook Entries (+CPBR) can be used to read either one or many phonebook locations at the same time. A
regular phonebook entry consists of three elements: memory index number, the phone number and its alphanumeric
equivalent given by the user. Query version of this returns supported index values of the selected memory, and the
maximum lengths of the number and alphanumeric elements. The query version of the Write Phonebook Entry
command (+CPBW) is similar, but the action version sets or clears an entry in the phonebook. Find Phonebook Entries
(+CPBF) may be used to search alphanumeric entries starting with specific string. An example where the whole
phonebook of the MT is read, index number four is cleared, and number three is written:
AT+CPBS=?
+CPBS: ("ME","SM") (MT and SIM have phonebooks)
OK
AT+CPBS="ME" (select MT memory)
OK
AT+CPBR=? (read index range and element lengths)
+CPBR: (1-99),30,30
OK
AT+CPBR=1,99 (read all entries but only the ones set are returned)
+CPBR: 1,"931123456",129,"Ilkka"
+CPBR: 2,"9501234567",129,""
+CPBR: 4,"901234567",129,"Hesari"
OK
AT+CPBW=4;+CPBW=3,"921123456",,"TS" (clear index 4 and write index 3)
OK