EasyManua.ls Logo

Townshend Computer Tools DAT-Link - B.5 Remote Control Files

Default Icon
208 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
B.5 Remote Control Files 127
The ASCI I les used to store this information contain lines of ones and zeroes. Each
line represents the binary enco ding of a single byte of data. The les consist of:
24 lines for the left channel status bytes, followed by,
24 lines for the rightchannel status bytes, and
avariable numb er of lines for the user bits. These are used as a single stream
across b oth left and rightchannels.
The leftmost bit on each line is the rst bit transmitted on the digital audio inter-
connect.
This format makes it convenient to examine and change individual bits of the chan-
nel status or user bits easily, using any text editor.
B.5 Remote Control Files
This section is intended for users that have unusual requirements for the remote
control subsystem of the
DAT-Link
. Normally, the interface provided by
rc
and
rctrain
are all that is needed to train and control devices.
B.5.1 Format of the Remote Control Files
When an infrared remote control is trained using the
rctrain
program, a le is
created on the host computer that contains the information needed to generate the
remote control sequences. The le is named:
INSTALLROOT/etc/rcf/device.rcf
where
INSTALLROOT
is the directory where the
DAT-Link
programs were installed
and
device
is the name of the device that was trained. Note that the
*.rcf
les
only need to be present on the machine with the
DAT-Link
connected. Other
machines on the network can be used to execute remote control commands using
the NetAudio server.
Infrared remote controls normally operate by mo dulating a carrier signal that is
used to drive an infrared LED. The imp ortant parameters are the carrier frequency,
its duty-cycle, and the mo dulation pattern, which are the same for all commands on
a given remote control unit. The commands dier only in the modulation pattern.
These parameters are captured in the description le. The following is an excerpt
from the b eginning of one of these les:
cdp203 100 100 5 1

Table of Contents