home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 3
/
hamradioversion3.0examsandprograms1992.iso
/
bbs
/
bpq402a
/
kissmode.doc
< prev
next >
Wrap
Text File
|
1990-03-09
|
2KB
|
40 lines
Using KISS Mode applications with the G8BPQ Switch.
The virtual TNC interface from the switch has now been modified to
emulate a KISS Mode TNC connected via a COMBIOS interface, as well as
the old TNC2 and PK232 Hostmode options. The TNC port definitions (
previously in TNCPORTLIST) have been extended to allow additional options.
The basic format is:
TNCPORT
COM=n ; COMBIOS port number
TYPE=TNC2 | KISS | PK232/AA4RE | PK232/UFQ
KISSMASK=nn ; Required only for KISS. Param is in HEX.
APPLMASK=nn ; Defaults to 1 (BBS)
APPLFLAGS=nn ; Used for TNC2 and Host Mode. Defaults to 6
ENDPORT
;
For KISS mode, you only need the COM, TYPE, and KISSMASK params. The latter
is a bit significant field which indicates which radio port(s) you want the
KISS interface to talk to, the low order bit being port 1, and so on.
If only one bit is set, it will work in 'normal' kiss mode, where the upper
4 bits of the kiss command byte are zero. If more than one bit is set, the
upper 4 bits of the command byte must contain the port number (the format
used by the KPC4 KISS inplementation). Anything sent to the tnc will be sent
directly to the radio port, and all frames received will be passed to the
KISS port, as well as being processed by the switch as usual. If you want
your KISS application to talk to the switch, then define an extra radio port
with TYPE=INTERNAL. This is a loopback port, so what you send on it is
received by the switch (and your KISS application).
Note that the the only buffering on the receive path is the 1k Virtual TNC
buffer, so the software must be reasonably fast to avoid losing frames.
For the moment, only Data frames are processed. The commands for setting
such thinks as TXDELAY, SLOTTIME, etc are ignored. Such params should be
entered in the PORT definition, as usual.