Multi-Tech Systems GPRS (MTMMC-G) User Manual

Page of 203
Chapter 13 – Specific AT Commands  
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 
112 
 
Mobile Equipment Event Reporting   +CMER 
Description:  
This command enables or disables sending of unsolicited result codes in the case of a key press. 
Values:  
<keyp> (keypad)   
0   No keypad event reporting. 
1   Keypad event reportings are routed using unsolicited code: +CKEV: <key>, <press> only those 
key pressings, which are not caused by +CKPD are indicated. 
2   Keypad event reportings are routed using unsolicited code: +CKEV: <key>, <press> all key 
pressings are indicated. 
Note:
  As AT software does not manage the emulation of key press, the values 1 and 2 lead to the 
same results. 
<ind> 
0   No indicator event reporting 
1   Indicator event reporting using unsolicited result code. Only the indicator events not caused by 
+CIND shall be indicated by the TA to the TE. 
2 
Indicator event reporting using unsolicited result code. All indicator events shall be directed 
from TA to TE (DTE).
 
<key>   Keyboard map is (5,5) 
0 1 2 3 4 
5 6 7 8 9 
10 11 12 13 14 
15 16 17 18 19 
20 21 22 23 24 
<press> 
 
1   key press 
0   key release 
<indresp>   Indicator order number (as specified for +CIND) 
<value>  
 New value of the indicator 
Syntax: Command 
Syntax: 
AT+CMER=<mode>,<keyp>,<disp>,<ind>,<bfr> 
 Response 
Syntax: 
+CKEV: <key>, <press>  (key press event report)
 
 Response 
Syntax: 
+CIEV: <indresp>, <value> 
 (indicator event report) 
Command 
Possible responses
AT+CMER=1 
Note: Ask for key press event report 
OK 
 +CKEV:12,1 
+CKEV:12,0 
Note: Key 12 has been pressed and released 
AT+CMER? +CMER: 
3,1,0,0,0 
OK