Users Manual IRTrans Version 2.12
13
The following command line parameters are supported by irserver (and irtranstray):
-daemon
Start irserver in the background (only LINUX). Using Windows
irserver can be started via the autostart folder. See Chapter 4.3
-debug_code
All received codes are logged
-hexdump
The server prints the complete communication between Server and
Hardware. This can be used to debug codes or to record the
communication to use the IRTrans with other systems.
-hexfile <file>
The server prints the complete communication between server and
device into <file>. This can be used to record the communication to
use the IRTrans with other systems.
-baudrate <baud> Use this baudate to communicate with an RS232 module
-http_port <port>
Activate the integrated Webserver at port <port>
-learned_only
Only Codes that have been learned are transmitted to the Network
clients. NOTE: This option will become default in later versions of the
irserver.
-logfile <file>
Location of the logfile
-loglevel
Sets the loglevel for debugging
0
No messages
1
Only fatal errors
2
Only errors
3
Show informational messages
4
Show Debug information
-netmask <mask> Access control for networked clients. When this option is used at least
once, only clients within the specified netmask are allowed to access
the Server. The format is ip/bits. That means 192.168.12.0/24 defines
a standard class C network. This option can be used more then once
to define different networks. A single host can be defined with IP/32.
The defined netmasks are used for all IRTrans and LIRC clients.
-no_lirc
Disable the integrated LIRC Client Interface
-no_reconnect
The server does not try to reconnect to the IRTrans device when the
device was removed (USB devices only)
-set_id <ID>
Is used to set the Bus ID for new IRTrans Modules. Normally the
standard setting “0” is used here. Only in special cases a different
address is needed. This setting is stored in the IRTrans Module
permanently.
-stat_timeout <to> Sets the timeout (in s) after that the Cache for the device status is
reread from the devices.
-version
Shows the version and the minimum needed version of the IRTrans
Firmware
-xap
Enables the built in xAP Interface. It sends and receives standard
xAP IR Messages.
Users Manual IRTrans Version 2.12
14
4.2. Using and testing the software
To make the first Tests, the Server can be started in the Debug Mode. In
the Debug Mode it displays detailed Information about all Parameters
and the received IR Codes. To achieve that the Server has to be started
via
irserver –loglevel 4 –debug_code <device>
. During startup the
Server displays Information about the IR Database. Now the receiving of
IR Codes can be tested by pressing buttons of different Remote Controls.
The Server will show the decoded IR Data. If the command is found in
the IR Database the Server will show the Name of the Remote &
Command.
Furthermore the Debug Mode is very helpful when there is a
problem learning certain IR Commands.
If the server on Windows is started in the tray bar using the
irtranstray, this debug information can be accessed via the context
menu of the irtranstray utility.
4.3. Starting the Server automatically
After everything has been installed, most users want the server to be
started automatically in the Background.
Using LINUX
that is done via entries in so called rc Files. The
Commandline Parameter
–daemon
(Option only available on LINUX) is
used to start the Server in the Background. The
–loglevel
Option is used
to indicate, where the Logfiles are to be stored by the Server.
On Windows Systems
simply copy the correct irtranstray Startmenu
Item (in the Menu folder IRTrans) to the Autostart folder. If needed, the
Options used to start the server can be modified.