From: djk Date: Sat, 10 Jun 2000 18:04:35 +0000 (+0000) Subject: changed power and rx sensitivity in sh/muf X-Git-Tag: R_1_40~1 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=512ad102c88b3bd56a3435c72ad5288822af20fa;p=spider.git changed power and rx sensitivity in sh/muf added a log message to DXMsg --- diff --git a/cmd/show/muf.pl b/cmd/show/muf.pl index 5487ea0d..0c96764f 100644 --- a/cmd/show/muf.pl +++ b/cmd/show/muf.pl @@ -76,7 +76,7 @@ $theta=$theta+2.*$pi if( $theta <= -$pi); $theta=$theta-2.*$pi if( $theta >= $pi); my ($lats, $lons); # subsolar coordinates (rad) -my $dB1 = 20; # transmitter output power (dBW) +my $dB1 = 26; # transmitter output power (dBW) my $delay; # path delay (ms) my $psi; # sun zenith angle (rad) @@ -90,7 +90,7 @@ my $beta1; # elevation angle (rad) my $dhop; # hop great-circle distance (rad) my $height; # height of F layer (km) my $time; # time of day (hour) -my $rsens = -123; # RX sensitivity +my $rsens = -128; # RX sensitivity my @freq = qw(1.8 3.5 7.0 10.1 14.0 18.1 21.0 24.9 28.0 50.0); # working frequencies (MHz) diff --git a/perl/DXMsg.pm b/perl/DXMsg.pm index 0bfdfefb..b9e4a63e 100644 --- a/perl/DXMsg.pm +++ b/perl/DXMsg.pm @@ -193,6 +193,7 @@ sub process $ref->{stream} = $stream; $ref->{count} = 0; # no of lines between PC31s dbg('msg', "new message from $f[4] to $f[3] '$f[8]' stream $stream\n"); + Log('msg', "Incoming message $f[4] to $f[3] '$f[8]'" ); $work{"$f[2]$stream"} = $ref; # store in work $busy{$f[2]} = $ref; # set interlock $self->send(DXProt::pc30($f[2], $f[1], $stream)); # send ack @@ -281,8 +282,8 @@ sub process if ($ref->{subject} eq $m->{subject} && $ref->{t} == $m->{t} && $ref->{from} eq $m->{from} && $ref->{to} eq $m->{to}) { $ref->stop_msg($self->call); my $msgno = $m->{msgno}; - dbg('msg', "duplicate message to $msgno\n"); - Log('msg', "duplicate message to $msgno"); + dbg('msg', "duplicate message from $ref->{from} -> $ref->{to} to $msgno"); + Log('msg', "duplicate message from $ref->{from} -> $ref->{to} to $msgno"); return; } }