Rainbow Electronics MG260 User Manual

Page 174

Advertising
background image

FLYFOT-MG260-MODULE

Page: 174 / 246

This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.

18.3 Mobile Equipment event reporting +CMER

Description :

This command enables or disables sending of unsolicited result codes in the case of a key press.

Syntax :

Command Syntax: AT+CMER=<mode>,<keyp>,<disp>,<ind>,<bfr>
Response syntax (key press event report) : +CKEV : <key>, <press>
Response syntax (indicator event report) : +CIEV: <indresp>,<value>.
Command

Possible responses

AT+CMER=,1
Note : Ask 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

Defined values :

Important note : The parameters <mode>, <disp> and <bfr> are not handled.

<keyp> (keypad) :
0 : No keypad event reporting.
1 : Keypad event reporting are routed using unsolicited code. Only the key pressings not caused by
+CKPD are indicated.
2 : Keypad event reporting are routed using unsolicited code. 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

Advertising