File: set-parameter.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 (200 lines) | stat: -rw-r--r-- 9,146 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
191
192
193
194
195
196
197
198
199
200
<!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>Set(parameter, ... ) commands</h1>

	<h2></h2>

	<p>This command used to tune Java client in some aspects (which could be hardware-dependent). 
<p>
<b>Format: Set(parameter, _parameter_name_ , _parameter_value_ )</b>
<p>It is useful to add Set(parameter, ...) command to <a href="conf-server.html#sec-connect">(Connect)</a> event handler
to set parametes automatically upon connection to the phone.

<p><b>Set(parameter,debug,on|off)</b>
<p>Switch on/off debug information printing in Java Client. Useful for debugging. Default value is "off". 
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,debug,on);</strong></span>
</pre>
</ul>

<div><a name="sec-lazy_repaint"></a></div>
<p><b>Set(parameter,lazy_repaint,on|off)</b>
<p>Useful to avoid flickering screen of java client. Default value is "off". If You use long commands like Set(title,a1);Set(status,a2);Set(icons,SAME,...);... 
then if this parameter is set to "off" then screen of java client will be repainted after <i>each</i> command. If this parameter set to "on"
then screen of java client will be repainted only if <a href="set.html#sec-repaint">Set(repaint)</a> command will be issued.
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,lazy_repaint,on);</strong></span>
</pre>
</ul>

<div><a name="sec-fr"></a></div>
<p><b>Set(parameter,full_repaint,on|off)</b>
<p>Useful to fix some mismatches in Java realization in phones. Default value is "off". Try to set this option to "on" if something goes wrong 
with repainting of java client.
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,full_repaint,on);</strong></span>
</pre>
</ul>

<div><a name="sec-se"></a></div>
<p><b>Set(parameter,fix_se,on|off|auto)</b>
<p>Useful to fix mismatches in SE-K750's Java realization. Default value is "auto". If You use other SonyEricsson phone try to set 
this option to "on" if something goes wrong with repainting of java client.
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,fix_se,on);</strong></span>
</pre>
</ul>

<div><a name="sec-siemens"></a></div>
<p><b>Set(parameter,fix_siemens,on|off|auto)</b>
<p>Useful to fix mismatches in Siemens-S65's Java realization. Default value is "auto". If You use Siemens/BenqSiemens phone try to set 
this option to "on" if something goes wrong with java client.
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,fix_siemens,on);</strong></span>
</pre>
</ul>

<p><b>Set(parameter,fix_joystick,auto|off)</b>
<p>Useful if java client handle joystick buttons incorrectly. In general should be used in conjunction with Set(parameter,joystick_*,_keycode_).
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,fix_joystick,auto);</strong></span>
</pre>
</ul>

<p><b>Set(parameter,joystick_up,_keycode_)</b>
<p><b>Set(parameter,joystick_down,_keycode_)</b>
<p><b>Set(parameter,joystick_left,_keycode_)</b>
<p><b>Set(parameter,joystick_right,_keycode_)</b>
<p><b>Set(parameter,joystick_push,_keycode_)</b>
<p>Useful if java client handle joystick buttons incorrectly. Allows to set keycodes which will be interpreted as joystick keycodes. 
No default values. To determine real keycodes of joystick keys add Set(parameter,debug,on) command to
(Connect) line of cfg. file and then inspect log file.
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,joystick_up,-1);</strong></span>
<span><strong class="command">(Connect)=Set(parameter,joystick_down,-2);</strong></span>
<span><strong class="command">(Connect)=Set(parameter,joystick_left,-3);</strong></span>
<span><strong class="command">(Connect)=Set(parameter,joystick_right,-4);</strong></span>
<span><strong class="command">(Connect)=Set(parameter,joystick_push,-5);</strong></span>
</pre>
</ul>

<div><a name="sec-fix_nokia_push"></a></div>
<p><b>Set(parameter,fix_nokia_push,on|off|auto)</b>
<p>Useful on some Nokia phones if push joystick do not works. Adds "Push" menu item which should be mapped to push joystick.
Default value is "auto" (set to "on" for all Nokia phones, except Exx and Nxx).
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,fix_nokia_push,on);</strong></span>
</pre>
</ul>

<p><b>Set(parameter,fix_nokia40_repaint,on|off|auto)</b>
<p>Useful on some Nokia series 40 phones if screen is not redrawed properly and remains white in some cases. Default value is "auto" (set to "on" for all Nokia phones).
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,fix_nokia40_repaint,on);</strong></span>
</pre>
</ul>

<p><b>Set(parameter,fix_nokia60_repaint,on|off|auto)</b>
<p>Useful on some Nokia series 60 phones if screen is not redrawed properly and remains white in some cases. Default value is "auto" (set to "on" for Exx and Nxx).
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,fix_nokia60_repaint,on);</strong></span>
</pre>
</ul>

<p><b>Set(parameter,fix_nokia_exit_btn,on|off|auto)</b>
<p>Useful on some Nokia phones if "Exit" menu item is absent in main screen. Adds "Exit" to the menu. 
Default value is "auto" (set to "on" for E61).
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,fix_nokia_exit_btn,on);</strong></span>
</pre>
</ul>

<p><b>Set(parameter,fix_motorola_menu,on|off|auto)</b>
<p>Useful on some Motorola phones (at least on RIZR Z3) if menu items is not repainted and remains empty. Default value is "auto".
<ul type="disc"><pre class="screen">
<span><strong class="command">(Connect)=Set(parameter,fix_motorola_menu,on);</strong></span>
</pre>
</ul>
<p>Unfortunately this does not solve all the issues. It could still happen on List or FileManager screen with active ticker.
If this happens on processing of long command sequence, try to move Set(menu, ...) command to the head of this command sequence. 
Sometimes this can solve the issue. Also, You can force to stop ticker in List or FileManager screen by pressing "0" button.
    
</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">Server mode</p>
<ul>
<li><a href="setup-server.html">Setup: server mode</a></li>
<li><a href="conf-server.html">Configurational file format: server mode</a></li>
<li><a href="conf-server-ex.html">Configurational file examples: server mode</a></li>
</ul>

<p class="section">Set() command</p>
<ul>
<li><a href="set.html">Common usage of Set()</a></li>
<li><a href="set-icons.html">Set(icons, ...)</a></li>
<li><a href="set-fm.html">Set(filemanager, ...)</a></li>
<li><a href="set-list.html">Set(list, ...)</a></li>
<li><a href="set-menu.html">Set(menu, ...)</a></li>
<li><a href="set-parameter.html">Set(parameter, ...)</a></li>
<li><a href="set-text.html">Set(text, ...)</a></li>
<li><a href="set-window.html">Set(image, ...)</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="docs.html">Documentation</a> · 
<a href="frontend.html">FrontEnds</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>