projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new keepalive system + timings for PC92 C recs
[spider.git]
/
perl
/
DXProtout.pm
diff --git
a/perl/DXProtout.pm
b/perl/DXProtout.pm
index 4f4da1e50677953c3d1a8235703f0e22849abff2..ec9abaa0b0f2c41e945fd205bb24c6dc7dc883e5 100644
(file)
--- a/
perl/DXProtout.pm
+++ b/
perl/DXProtout.pm
@@
-380,6
+380,7
@@
sub _gen_pc92
my $s = "PC92^$main::mycall^" . gen_pc9x_t() . "^$sort";
for (@_) {
$s .= "^" . _encode_pc92_call($_, $ext);
my $s = "PC92^$main::mycall^" . gen_pc9x_t() . "^$sort";
for (@_) {
$s .= "^" . _encode_pc92_call($_, $ext);
+ $ext = 0; # only the first slot has an ext.
}
return $s . '^H99^';
}
}
return $s . '^H99^';
}
@@
-415,6
+416,12
@@
sub pc92c
return _gen_pc92('C', 1, @_);
}
return _gen_pc92('C', 1, @_);
}
+# send a keep alive
+sub pc92k
+{
+ return _gen_pc92('K', 1, @_);
+}
+
# send a 'find' message
sub pc92f
{
# send a 'find' message
sub pc92f
{