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
|
<!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>Usage of web interface</h1>
<p>It is possible to use anyremote2html package to organize web interface for anyRemote. With help of this
interface any device which contains web browser and which can connect to PC with anyRemote by TCP/IP (GPRS, Wi-Fi, ...)
could be used as remote control.
<p>This feature was tested on Motorola-V220, Nokia-E61 and Nokia-N800.
<p>
To run web interface it needs to:
<ul>
<li>install anyremote2html package.
<li>run anyRemote with "-s socket:_some_port_" parameter. It needs to use Server-mode cfg.files.
<li>run anyremote2html which will work as HTTP server
</ul>
<p>Parameters of anyremote2html:
<ul>
<li>-w "web-port" - use specified port for HTTP server, default is 5550
<li>-a "anyRemote port" - use specified port to connect to anyRemote, default is 5000
<li>-i "directory with icons", default is /usr/share/pixmaps/anyRemote2html/
<li>-r no|smart|"refresh rate" - set refresh rate for web page, "no" means no refresh, "smart" means dynamic refresh rate, default is value is "no"
<li>--width "integer" - assume screen width is equals to specified value, default is 800
</ul>
<p>For example:
<ul type="disc"><pre class="screen">
<span><strong class="command">anyremote -f "some cfg.file" -s socket:5000 -http</strong></span>
<span><strong class="command">anyremote2html -w 5550 -a 5000 -i /usr/share/pixmaps/anyremote2html/</strong></span>
</pre></ul>
<p>anyremote2html supports only subset of Set() commands. The following commands does not supported and will be skipped by anyremote2html:
<ul type="disc"><pre class="screen">
<span><strong class="command">Set(filemanager, ...)</strong></span>
<span><strong class="command">Set(fullscreen, ...)</strong></span>
<span><strong class="command">Set(image, ...)</strong></span>
<span><strong class="command">Set(parameter, ...)</strong></span>
<span><strong class="command">Set(repaint, ...)</strong></span>
<span><strong class="command">Set(skin, ...)</strong></span>
<span><strong class="command">Set(vibrate, ...)</strong></span>
<span><strong class="command">Set(volume, ...)</strong></span>
</pre></ul>
<p>Command Set(iconlist, ...) interpreted as Set(list, ...)
</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="getstarted.html">Getting started</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>
</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@mail.ru">anyRemote</a><br>
</div>
</body></html>
|