Remote Control.

The !clear command

These commands are the restricted domain of the owner of a DIGI_NED digi and similar commands from other users are rejected. The '!out' command is related to the telemetry functionality in DIGI_NED and the '!clear' command is used with the DX functionality.

The !out command.

With Telemetry you can read out analog and digital values. It is also possible to set binary values. For this the up to three LPT devices can be used. Each LPT device supports 8 TTL level outputs, which can be set using an "!OUT" message to the digipeater. These TTL outputs are D0 to D7 (pin 2 to pin 9 on the parallel port).

The !OUT message needs 2 parameters. The first is the LPT port number (1, 2 or 3), the second is the bit-pattern you want to output.

You can specify 1 to 8 bits. Each bit can be '0' to change the bit into logical low, '1' to change the bit to logical high, 'p' will toggle the indicated bit for 1 second. Can be used as 'reset' pulse. The value 'x' or '/' can be used to leave a bit unchanged.The allocation is as follows:

!OUT 1 10xxPx11

The '/' character does the same as 'x' and its supported because it is conveniently located below the ASCII '0' which makes it easier for a TH-D7 user.

On the !OUT command you don't have to specify all 8 bits, if you only want to change the output on D0 then you can leave out the specification of all other bits. The bits which are not specified keep their current value.

In response to the "!OUT" command the digipeater will tell if the command was accepted and the resulting pattern on the LPT port. This bit pattern is arranged the same way as the on the !OUT command, so first D0, then D1, D2...D7.

Since this function is experimental, the !OUT command is only accepted from the digipeater owner specified with the "digi_owner:" rule. More owners for a DIGI are allowed, see the sample digi_ned.ini file.

The !ptt command.

The digi-owner can send a message with the command "!ptt 111011x1". The commands disables or enables transmission on a port. The left most digit is for port 1, then port 2 up to port 8. Binary "0" means disabled, binary "1" means enabled. In the example transmission on port 4 is disabled. Values "x" and "/" are used as "don't change". With the previous example port 7 doesn't change value, if it was "0" it will stay "0", if it was "1' it will stay "1". If you only need to provide the number of digits for the ports you have or want to change. For example to change only port 2 to "1" you may want to use "!ptt x1"; the not mentioned ports will not change.

P.S. note that if you shut-off the PTT bit for the port you are using to send this command also an ack will not be send back! You can still send messages however because the receiver is still active! Since the reciever is active it will still digipeat received data to other ports if the rules define this.

Tip: with the "command:" rule you can make a port read-only immediately at startup.