+29Mar01=======================================================================
+1. add better tracking of AGW circuits (possibly)
+2. add set and unset/agwmonitor (ing) [for all the notice it seems to take]
28Mar01=======================================================================
1. AGW engine stuff now accepts incoming calls and at least attempts to do
outgoing ones. YMMV.
--- /dev/null
+#
+# set AGW engine monitoring
+#
+# $Id$
+#
+
+my $self = shift;
+return (1, $self->msg('e5')) if $self->priv < 9;
+if ($AGWMsg::monitor == 0) {
+ AGWMsg::_sendf('m');
+ $AGWMsg::monitor = 1;
+ return (1, $self->msg('mone'));
+}
+return (1);
+
+
+
--- /dev/null
+#
+# unset AGW engine monitoring
+#
+# $Id$
+#
+
+my $self = shift;
+return (1, $self->msg('e5')) if $self->priv < 9;
+if ($AGWMsg::monitor == 1) {
+ AGWMsg::_sendf('m');
+ $AGWMsg::monitor = 0;
+ return (1, $self->msg('mond'));
+}
+return (1);
$ypolltime = 10;
# time between polls of Mheard
-$hpolltime = 120;
+$hpolltime = 300;
1;
$noports = 0;
$lastytime = $lasthtime = time;
$ypolltime = 10 unless defined $ypolltime;
-$hpolltime = 120 unless defined $hpolltime;
+$hpolltime = 300 unless defined $hpolltime;
%circuit = ();
sub init
msgu => 'usage: msg <cmd> <msgno> data...',
merge1 => 'Merge request for $_[1] spots and $_[2] WWV sent to $_[0]',
moon => 'Location Rise Set Azim Elev RGain dB',
+ mond => 'Monitoring Disabled',
+ mone => 'Monitoring Enabled',
namee1 => 'Please enter your name, set/name <your name>',
namee2 => 'Can\'t find user $_[0]!',
name => 'Your name is now \"$_[0]\"',