d10control.pl File Reference

Go to the source code of this file.

Functions

use POSIX qw (:termios_h)
use Time::HiRes qw (usleep ualarm gettimeofday tv_interval)
 for ($i=0;$i< $#ARGV;$i++)
 if ($#ARGV< 0)
 while ($#ARGV >=0)
 exit (0)

Variables

use FileHandle
 $version = "1.2"
 $verbose = 0
 $retry_count = 4
 $baudrate = "9600"
 $serport = "/dev/ttyS0"
 $box_type = "RCA"
 $clear_osd_delay = .2
 pkt_decode
 terminal
 cmds
 keymap
 keymap_200
 keymap_HD300
 boxes
 keymap_extra
 cmd_extra
 chan_change_key
my $chan_change_key_param
my $serial
my $i


Function Documentation

use POSIX qw ( :termios_h   ) 

use Time::HiRes qw ( usleep ualarm gettimeofday  tv_interval  ) 

for (  ) 

if (  ) 

Definition at line 244 of file d10control.pl.

while ( $#ARGV >=  0  ) 

Definition at line 248 of file d10control.pl.

Referenced by audio_read_packet(), get_avi(), smc_decode_stream(), and unzReadCurrentFile().

exit (  ) 


Variable Documentation

Definition at line 47 of file d10control.pl.

$version = "1.2"

Definition at line 49 of file d10control.pl.

$verbose = 0

Definition at line 54 of file d10control.pl.

$retry_count = 4

Definition at line 59 of file d10control.pl.

$baudrate = "9600"

Definition at line 65 of file d10control.pl.

$serport = "/dev/ttyS0"

Definition at line 66 of file d10control.pl.

$box_type = "RCA"

Definition at line 71 of file d10control.pl.

$clear_osd_delay = .2

Definition at line 77 of file d10control.pl.

Initial value:

("0xF0" => "START PKT",
             "0xF1" => "ERR 1",
             "0xF2" => "GOT EXTENDED",
             "0xF4" => "END PKT",
             "0xF5" => "ERR 2",
             "0xFB" => "PROMPT")

Definition at line 79 of file d10control.pl.

Initial value:

("0xF1" => -1,
           "0xF4" => 1,
           "0xF5" => -1)

Definition at line 87 of file d10control.pl.

Initial value:

("on" => \&on,
      "off" => \&off,
      "text" => \&text,
      "hide" => \&hide,
      "get_channel" => \&get_channel,
      "get_signal" => \&get_signal,
      "get_datetime" => \&get_datetime,
      "get_info" => \&get_info,
      "enable_remote" => \&enable_remote,
      "disable_remote" => \&disable_remote,
      "set_system_datetime" => \&set_system_datetime,
      "key" => \&key,
      "delay" => \&delay,
      "port" => \&port,
      "baudrate" => \&baudrate,
      "box_type" => \&box_type,
      "retries" => \&retries,
      "channel_change_type" => \&channel_change_type,
      "setup_channel" => \&setup_channel,
      "version" => \&version,
      "verbose" => \&set_verbose,
      "quiet" => \&clear_verbose
      )

Definition at line 95 of file d10control.pl.

Referenced by DiSEqCDevSwitch::ExecuteLegacy(), and JobQueue::ProcessQueue().

Initial value:

(right => "0xa8",
          left => "0xa9",
            up => "0xa6",
          down => "0xa7",
      favorite => "0x9e",
        select => "0xc3",
         enter => "0xc3",  # Doesn't have separate enter?
          exit => "0xc5",
             9 => "0xc6",
             8 => "0xc7",
             7 => "0xc8",
             6 => "0xc9",
             5 => "0xca",
             4 => "0xcb",
             3 => "0xcc",
             2 => "0xcd",
             1 => "0xce",
             0 => "0xcf",         
         ch_up => "0xd2",
         ch_dn => "0xd3",
         power => "0xd5",
          jump => "0xd8",
         guide => "0xe5",
          menu => "0xf7")

Definition at line 120 of file d10control.pl.

Definition at line 146 of file d10control.pl.

Initial value:

 (
# it seems that the HD300 has a limited keymap
         right => "0x9a",
          left => "0x9b",
            up => "0x9c",
          down => "0x9d",
        select => "0xc3",
         enter => "0xc3",  # enter/select/info 
          exit => "0xc5",  # power on
         power => "0xd5",  # power toggle
         guide => "0xe5",
          menu => "0xf7"
# Code 0xfa also brings up the menu
)

Definition at line 182 of file d10control.pl.

Initial value:

("RCA" => \%keymap,
        "D10-100" => \%keymap_200,
        "D10-200" => \%keymap_200,
        "HD300" => \%keymap_HD300
)

Definition at line 199 of file d10control.pl.

Initial value:

("RCA" => ["0x00", "0x00"],
           "D10-100" => ["0x00", "0x01"],
           "D10-200" => ["0x00", "0x01"],
           "HD300"   => ["0x00", "0x00"]
)

Definition at line 206 of file d10control.pl.

Initial value:

("RCA" => undef,
           "D10-100" => undef, 
           "D10-200" => "0x0d",
           "HD300" => undef
)

Definition at line 213 of file d10control.pl.

Initial value:

("RCA" => 0,
                  "D10-100" => 1,
                  "D10-200" => 1,
                  "HD300" => 0
)

Definition at line 222 of file d10control.pl.

my $chan_change_key_param

Definition at line 228 of file d10control.pl.

my $serial

Definition at line 231 of file d10control.pl.

my $i

Definition at line 232 of file d10control.pl.

Referenced by $line(), MythTV::BackendRows(), Services_JSON::decode(), for(), if(), and sajax_export().


Generated on Sat Dec 18 05:15:51 2010 for MythTV by  doxygen 1.5.5