Setup anyRemote to work in AT mode

Be sure that ...

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.

Supported hardware

anyRemote will try to determine phone model automatically, so just try any of configurational file from cfg-data/AT-mode directory. It should works out-of-the box for Motorola, Siemens and SE users. If You was not lucky please read further.

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

Cell phones known not to work:

Some phone-specific details described here.

Bluetooth connection

Switch on bluetooth on cell phone and set it in discoverable mode. Run hcitool scan command. You will see somthing like:

hcitool scan
Scanning ...
		00:07:3A:08:EE:74       Nokia

Then run sdptool browse XX:XX:XX:XX, where XX:XX:XX:XX is bluetooth address found at the previous step. You will see something like:

sdptool browse 00:07:3A:08:EE:74
Browsing 00:07:3A:08:EE:74 ...
Service Name: Dial-up networking
Service RecHandle: 0x10000
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
...
Service Name: COM 1
Service RecHandle: 0x10002
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
...

Search for "Serial Port" or "Dialup Networking" services and their channel numbers.

To connect anyRemote to the phone it needs to run it with -s rfcomm:XX:XX:XX:XX:Y command line parameter, where Y is the channel number.

Does the phone support Event Reporting?

You have to test, if the phone supports Event Reporting feature. See details here. If phone does not support Event Reporting then it cannot be managed by anyRemote in AT mode.

Does the phone support keypad emulation events?

You have to test, if the phone supports keypad emulation events. See details here. If phone does not support keypad emulation events then it still can be managed by anyRemote in AT mode, but SendCKPD(...) command will not work.