$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)
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)
$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
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;
}
}