Setup anyRemote to work in AT mode

Be sure that ...

... bluetooth subsystem is working. Your bluetooth phone should be paired already.

If You use IR connection, IrDA service should be configured and the phone should be visible in output of irdadump utility.

If You plans to use cable connection, be sure the cable is plugged-in :)).

Definition

Mobile Equipment Event Reporting functionality means what cell phone is able to send the unsolicited result codes for key presses, display changes, and indicator state changes.

AT+CKPD command: AT command which emulate presing on phone keypad

AT+CMER command: AT command which enables/disables event reporting feature

CKPD key: CKPD command has the following format AT+CKPD="X", where "X" is key-kode for button to emulate. So, CKPD key is "X"

CKPD sequence - sequence of CKPD keys.

Supported hardware

anyRemote will try to determine phone model automatically it is good idea to try any of configurational file from cfg-examples/AT-mode directory. I hope it will works out-of-the box for Motorola, Siemens and SE users. If you was not lucky please read further.

Firstly it needs to verify will You phone works with anyRemote at all. Cell phones known to work:

Cell phones known not to work:

Some phone-specific details described here.

How to check

Run terminal emulator (Minicom or cu) and estabhlish connection with the phone.

For example(Bluetooth):

or (IR):

or (cable):

It should answers

Enter AT or ATZ and get answer "OK"

Enter AT+CMER=? and get something like:

or just

If You got "ERROR" on "AT+CMER=..." seems Your cell phone will not work with anyRemote in AT-mode. Try to use Server-mode.

Also, it seems phone does not support event reporting for key presses if answer looks like (second item is "(0)"):

Enter

and get answer or

If You got "OK" - did You see "1" on the screen of Your cell phone ? (Sagem users should use AT+CKPD="49" instead)

If You got "ERROR" on "AT+CKPD=..." Your will not be able to send keyboard emulation command to Your phone from anyRemote.

I hope You've got "OK" on both of these questions :)

Now it is the time to determine exact format of "AT+CMER=x,x,x,x,x" command

This command enables/disables event reporting feature. In two words, if this feature is on, then phone will starts to send codes of pressed keys over bluetooth.

So, enter, say:

AT+CMER=3,1,0,0,0 and get "OK",then press button "1" on the phone keyboard.

You should in terminal emulator see something like:

or

Try to find variant of "CMER=..." command which will work fo You.

Seems command which disables event reporting feature is similar for all phones (at least for Motorola, Siemens, Sagem and SE), it is

The value You've found should be specified in configuration file. anyRemote will try to determine model of the phone upon connecting, and can use predefined "CMER=..." commands for Motorola, Sagem, Siemens and SE phones.

At the end, it is a good idea to create "dictionary" of key codes.

One-by-one press all keys on the phone keyboard and inspect corresponding +CKEV codes in terminal emulator window. That codes will be used in configuration file. There are exists such files for SE, Motorola, Siemens, Benq-Siemens and Sagem phones. That files could be found in keymaps/ directory.

About · Download · Documentation · FrontEnds · Contacts ·