File: setup-at.html

package info (click to toggle)
anyremote 4.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,236 kB
  • ctags: 819
  • sloc: ansic: 5,234; sh: 985; python: 86; makefile: 77
file content (190 lines) | stat: -rw-r--r-- 8,095 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <link rel="stylesheet" type="text/css" href="data/default.css">
    <title>anyRemote - control PC with Bluetooth cell phone</title>
    <link rel="stylesheet" type="text/css" href="data/default.css">
    <link rel="icon" href="data/anyRemote32.png" type="image/png">
    <link rel="shortcut icon" href="data/anyRemote16.png" type="image/png" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="description" content="anyRemote project page - Bluetooth remote control tool">
  </head>


<body><div id="body">

	<h1>Setup anyRemote to work in AT mode</h1>

	<h2>Be sure that ...</h2>

	<p>... bluetooth subsystem is working. Your bluetooth phone should be paired already.
        </p>
	<p>If You use IR connection, IrDA service should be configured and the phone should 
	be visible in output of <a href="http://www.linuxmanpages.com/man8/irdadump.8.php">irdadump</a> utility.
        </p> 
	<p>If You plans to use cable connection, be sure the cable is plugged-in :)).
	</p>
        
	<h2>Definition</h2>

	<p>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.
	</p>
    	<p>AT+CKPD command: AT command which emulate presing on phone keypad
        </p>
    	<p>AT+CMER command: AT command which enables/disables event reporting feature
        </p>
    	<p>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"
        </p>
    	<p>CKPD sequence - sequence of CKPD keys.
        </p>
	</p>
        
	<h2>Supported hardware</h2>
        
    	<p>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.
    	</p>
	
    	<p>Firstly it needs to verify will You phone works with anyRemote at all.
    	Cell phones known to work: 
    	<ul>
    	<li>Benq-Siemens EL71, S68</li>
    	<li>Motorola L6, V3i, V500 (Bluetoon and Cable), seems all Motorola V*** phones</li>
    	<li>Sagem-my700Xi, Sagem-my6X-2</li>
    	<li>SE-K700, K750 (Bluetooth and IR), it should works with T610/T630 and all modern non Symbian-based SE phones</li>
    	<li>Siemens S55, S65, CX75</li>
    	</ul>
    	Cell phones known not to work: 
    	<ul>
    	<li>Nokia 6310i, 6021 (6021 supported in Server mode)</li>
    	<li>Samsung S300</li>
    	<li>Siemens ME45</li>
    	</ul>
    	</p>
        <p>Some phone-specific details described <a href="phones.html">here</a>.
	</p>
                
        <h2>Bluetooth connection: /dev/rfcommX setup</h2>
        
        <p>Switch on bluetooth on cell phone and set it in discoverable mode.
        Run "<b>hcitool scan</b>" command. You will see somthing like: 
	<ul type="disc">
<pre class="screen">
<span><strong class="command">hcitool scan</strong></span>
<span><strong class="command">Scanning ...</strong></span>
<span><strong class="command">        00:07:3A:08:EE:74       Nokia</strong></span>
</pre>
	</ul>
        
        <p>Then run "<b>sdptool browse XX:XX:XX:XX</b>", where <b>XX:XX:XX:XX</b> is bluetooth address found at the previous step. 
        You will see something like: 
	<ul type="disc">
<pre class="screen">
<span><strong class="command">sdptool browse 00:07:3A:08:EE:74</strong></span>
<span><strong class="command">Browsing 00:07:3A:08:EE:74 ...</strong></span>
<span><strong class="command">Service Name: Dial-up networking</strong></span>
<span><strong class="command">Service RecHandle: 0x10000</strong></span>
<span><strong class="command">Service Class ID List:</strong></span>
<span><strong class="command">  "Dialup Networking" (0x1103)</strong></span>
<span><strong class="command">  "Generic Networking" (0x1201)</strong></span>
<span><strong class="command">Protocol Descriptor List:</strong></span>
<span><strong class="command">  "L2CAP" (0x0100)</strong></span>
<span><strong class="command">  "RFCOMM" (0x0003)</strong></span>
<span><strong class="command">    Channel: 1</strong></span>
<span><strong class="command">...</strong></span>
<span><strong class="command">Service Name: COM 1</strong></span>
<span><strong class="command">Service RecHandle: 0x10002</strong></span>
<span><strong class="command">Service Class ID List:</strong></span>
<span><strong class="command">  "Serial Port" (0x1101)</strong></span>
<span><strong class="command">Protocol Descriptor List:</strong></span>
<span><strong class="command">  "L2CAP" (0x0100)</strong></span>
<span><strong class="command">  "RFCOMM" (0x0003)</strong></span>
<span><strong class="command">    Channel: 3</strong></span>
<span><strong class="command">...</strong></span>
 </pre>
	</ul>
	
        <p>Search for "Serial Port" or "Dialup Networking" services and their channel numbers.
        
        <p>To setup <b>/dev/rfcommX</b>, execute:
	<ul type="disc">
<pre class="screen">
<span><strong class="command">su -c "rfcomm bind XX:XX:XX:XX Y"</strong></span>
</pre>
	</ul>
        <p>where <b>Y</b> is channel number obtained from <b>sdptool</b> output. Alternatively You can edit
        <b>/etc/bluetooth/rfcomm.conf</b> file.
        
        <p>To connect anyRemote to <b>/dev/rfcommX</b> it needs to run anyRemote
        with "<b>-s /dev/rfcommX</b> command line parameter or specify it in configuration file directly.

	<h2>Does the phone supports Event Reporting ?</h2>
        
        <p>You have to test, does the phone supports Event Reporting feature. 
        See details <a href="ev-reporting.html">here</a>. If phone does not support 
	Event Reporting then it could not be managed by anyRemote in AT mode.

	<h2>Does the phone supports keypad emulation events ?</h2>
        
        <p>You have to test, does the phone supports keypad emulation events. 
        See details <a href="ckpd-emulation.html">here</a>. If phone does not support 
	eypad emulation events then it still can be managed by anyRemote in AT mode, but 
        <b>SendCKPD(...)</b> command will not work.
        
</div>

<div id="sidebar">
<p class="section">Information</p>
<ul>
<li><a href="index.html">About</a></li>
<li><a href="dload.html">Download</a></li>
<li><a href="pre.html">Prerequisites</a></li>
<li><a href="docs.html">Documentation</a></li>
<li><a href="frontend.html">FrontEnds</a></li>
</ul>

<p class="section">Documentation</p>
<ul>
<li><a href="pre-setup.html">Before install</a></li>
<li><a href="install.html">Compilation and installation</a></li>
<li><a href="mode.html">Which mode to choose ?</a></li>
<li><a href="use.html">How to use anyRemote</a></li>
<li><a href="setup-server.html">Setup: Server mode</a></li>
<li><a href="setup-at.html">Setup: AT mode</a></li>
<li><a href="conf-server.html">Configurational file format: Server Mode</a></li>
<li><a href="conf-at.html">Configurational file format: AT Mode</a></li>
<li><a href="dcop.html">DCOP support</a></li>
<li><a href="web.html">Web interface</a></li>
<li><a href="faq.html">FAQ</a></li>
</ul>

<p class="section">AT mode</p>
<ul>
<li><a href="setup-at.html">Setup: AT mode</a></li>
<li><a href="conf-at.html">Configurational file format: AT mode</a></li>
<li><a href="ev-reporting.html">Event reporting feature</a></li>
<li><a href="ckpd-emulation.html">Keypad emulation events</a></li>
</ul>

</div>

<div id="hdr">
<div id="logo"><a href="index.html"><img src="data/anyRemote.png" alt="Home"></a></div>
<!--div id="banner"><img src="data/anyRemote.png" alt=""></div-->
<p class="none"></p>
<div id="hdrNav">
<a href="index.html">About</a> · 
<a href="dload.html">Download</a> · 
<a href="getstarted.html">Getting started</a> · 
<a href="contacts.html">Contacts</a> · 
</div>
</div>

<div id="copyright">
Maintained by <a href="mailto:anyremote&#64;mail&#46;ru">anyRemote</a><br>
</div>

</body></html>