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 _gen_pc92('C', 1, @_);
}
+# send a keep alive
+sub pc92k
+{
+ my $nref = shift;
+ my $s = "PC92^$main::mycall^" . gen_pc9x_t() . "^K";
+ $s .= "^" . _encode_pc92_call($nref, 1);
+ $s .= "^" . scalar $nref->nodes;
+ $s .= "^" . scalar $nref->users;
+ return $s . '^H99^';
+}
+
# send a 'find' message
sub pc92f
{