Specifications

3GPP
3GPP TS 27.007 V6.3.0 (2003-
06)
10
3
Release 6
OK
AT+CIND=,,,,,0
+CME ERROR: 10
The subparameter order in the command is defined by the query command order, not by the actual display order. The
zero value of an indicator means that it is off (or in state which can be identified as "off"-state), value one means that
the indicator is on (or in a state which is more substantial than "off"-state), value two is more substantial than one, and
so on.
To this point, only operating through the TE is covered. But when MT can be operated also through its keypad, or there
are changes in the status of the display elements, the information about these actions shall be given to the TE also. This
can be solved only with unsolicited result codes which return keypad, display text and indicator events. Each event
group has a result code of its own: +CKEV returns the key code and if the key pressed (1) or released (0), +CDEV
returns the display text field running number (as specified by command +CDIS) and the new status of the field, and
+CIEV returns the running number of the indicator (refer +CIND) and the new value of it. In the following example
number key 1 is pressed, updated on the display, released, and signal strength changes its state to five:
+CKEV: 49,1
+CDEV: 1,"1"
+CKEV: 49,0
+CIND: 10,5
Mobile Termination Event Reporting command (+CMER) has been specified for the purpose of controlling the sending
of these unsolicited result codes to the TE. Four ways are provided to handle the buffering of the result codes (see
figure 8). The first is to buffer them always. The second possibility is to discard them when in on-line data mode and
otherwise forward them directly to the TE. The third possibility is to buffer them in data mode and otherwise forward
them to the TE. The last possibility is to send them always to the TE (some inband technique - e.g. V.80 - shall be used
in data mode to send the result codes within the data). This is the first subparameter of +CMER command. Next three
subparameters are used to enable or disable each of the keypad, text field and indicator result codes. Sending codes can
be enabled either so that only events generated from the MT user interface are returned, or so that also events caused by
Keypad, Display and Indicator Control commands are returned. The fifth subparameter controls the flushing of the
buffer when the value of the first subparameter is changed to a value from one to three.
COMMAND
MODE
DATA MODE
Buffer
TE
MT
TA
MT events (inband)
0
1
2
3
+CMER first
subparameter
Figure 8: Mobile termination event reporting
An example of complete setup of the TA where TE takes the control of keypad, but does not want to write to display
nor control the indicators (in the start MT is powered off):
AT+CMEE=2;+CREG=1 (use verbose <err> values; report registration)
OK
AT+CPAS (query MT status)
+CPAS: 5 (MT is asleep)
OK
AT+CFUN=1 (set MT to full functionality state)
+CME ERROR: SIM PIN required (SIM requests PIN)
AT+CPIN="1234"
+CME ERROR: incorrect password (user entered wrong PIN)
AT+CPIN="4321"
OK (correct PIN)
AT+COPS=0,0 (ask for automatic operator selection and registration)
OK
+CREG: 1 (registered in the network)