Specifications
3GPP
3GPP TS 27.007 V6.3.0 (2003-
06)
10
2
Release 6
that the activity status may change at any time after the execution of +CPAS, and hence the returned value may be
obsolete. Detachment of the MT from the TA is indicated with a special final result code that indicates all errors related
to the operation of the MT. Result code is +CME ERROR: <err>, where <err> is an integer or verbose value giving
useful information about the reason for the command failure (refer subclause "Mobile Termination error result code
+CME ERROR").
Set Phone Functionality (+CFUN) can be used to reset the MT or set the power consumption level of the MT by
disabling certain parts of the MT (e.g. the transmit and receive RF circuits). Mobile Termination Control Mode
(+CMEC) is a command which manages access sharing between the MT and the TE to operate the user interface of the
MT. It has three subparameters which describe the access to keypad, display and indicators. Each subparameter has
values for restricting the operation of the corresponding user interface part only to the MT or only to the TE, or to give
the access for both of them.
Keypad Control command (+CKPD) is used to operate the keypad of the MT. Here lies the problem of different keypad
types between manufacturers, and also between their MT models. The keypresses are sent to the MT as a string type
subparameter of this command. Each character in that string represents a key which will be logically pressed. A special
character (colon) followed by any character can be used by manufacturers (or TE application programmers) to represent
a key which is not defined in this profile. An escape character (semicolon) for direct string entering is also defined. All
text between single semicolon characters is treated as an alphanumeric entry and is not converted to keypressings. All
semicolon characters inside the text shall be duplicated in the TE and stripped back to one before entering them to the
MT. Command has also optional second and third parameters which can be used to alter the time to strike each key, and
the pause to wait between keystrokes (in tenths of a second). A special pause character (W or w) may be added in the
string type subparameter for an extra pause of the same length as given by the third subparameter. In the following
example alphanumeric mode is entered and a person predefined in the MT phonebook, "Ilkka", is called; each key is
struck for half a second and pauses between strokes are a tenth of a second:
AT+CKPD="@:Ilkka:S",5,1
OK
Display Control command (+CDIS) is used both for writing to the display text fields and for reading the current status
of the fields. Mobile termination usually have a character set of their own, so the TA shall be able to do a conversion
between the TE and the MT character sets. TE can have several character sets and the TA must be informed of the
character set in use before starting to write or read the display. Character set is set with general command Select TE
Character Set +CSCS. The +CDIS=? query command is a way to get information about the length of the fields. In the
following example an MT is first queried about the supported conversions and the lengths of the fields. The response
shows there are three ten character long and two six character long fields. Then the TE character set is set to be IRA and
the current status of the display is read. The last command writes the text "Hello, I'm writing to display" in the three
fields, and keeps the contents of the two other fields same (the last two commas could also be left out).
AT+CSCS=?;+CDIS=?
+CSCS: ("IRA","PCCP850","8859-1")
+CDIS: 10,10,10,6,6
OK
AT+CSCS="IRA"
OK
AT+CDIS?
+CDIS: "RADIOLINJA","","","Menu","Memory"
OK
AT+CDIS="IRA","Hello, I'm","writing to","display",,
OK
The writing is possible only when it is permitted by the Mobile Termination Control Mode command (and by the
manufacturer). If a certain field is not writable (but is readable), writing to it should be ignored. The order of the text
fields should be determined by manufacturers and follow the rule: first field is in the upper left corner, second in the
next field to the right, and so on, until to the last field in the lower right corner.
Indicators can be handled with Indicator Control command (+CIND). Its query command returns a short description
(abbreviation) of the purpose of the indicators and the supported values for each indicator. The setting and reading is
done similarly as with Display Control command. In the following example the indicators of a phone are queried, their
current value is read, and the value of message indicator is tried to set (but it is forbidden):.
AT+CIND=?
+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+CIND?
+CIND: 1,0,0,0,0,1,0,0,0,3,1,0,0,0,5