... 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 :)).
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.
anyRemote will try to determine phone model automatically it is good idea to try any of configurational file from cfg-data/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:
Some phone-specific details described here.
Run terminal emulator (Minicom or cu) and estabhlish connection with the phone.
For example(Bluetooth):
cu -l /dev/rfcomm0 -s 19200
or (IR):
cu -l /dev/ircomm0 -s 19200
or (cable):
cu -l /dev/ttyACM0 -s 19200
It should answers
Connected
Enter AT or ATZ and get answer "OK"
AT OK
Enter AT+CMER=? and get something like:
AT+CMER=? +CMER: (0,3),(0,1,2),(0),(0,1,2),(0) OK
or just
AT+CMER=? ERROR
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)"):
+CMER: (0,3),(0),(0),(0,1,2),(0)
Enter
AT+CKPD="1"
and get answer
OK
or
ERROR
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:
+CKEV: "1",1 +CKEV: "1",0
or
+CKEV: 1,1 +CKEV: 1,0
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
CMER=3,0,0,0,0
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.