package DXProt;
-@ISA = qw(DXProt DXChannel);
+@ISA = qw(DXChannel);
use DXUtil;
use DXM;
}
for (@_) {
$s .= '^' . _encode_pc92_call($_, $ext);
- $ext = 0; # only the first slot has an ext.
+ $ext = 0 unless $sort eq 'A'; # only the first slot has an ext.
}
return $s . '^H99^';
}
# add a local one
sub pc92a
{
- return _gen_pc92('A', 0, @_);
+ return _gen_pc92('A', 2, @_);
}
# delete a local one
# send a config
sub pc92c
{
- return _gen_pc92('C', 0, @_);
+ return _gen_pc92('C', 1, @_);
}
# send a keep alive