; CONFIGURATION FILE FOR G8BPQ SWITCH SOFTWARE VERSION 4.05f
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;
;       The program which converts this text file to binary form is currently
;       very crude - be VERY careful when editing this file!
;
;       The order of parameters in not important, but they all must be
;       specified - there are no defaults.
;
;   Station Identification
;   ~~~~~~~~~~~~~~~~~~~~~~
;
;       If a user connects to the NODE Callsign or Alias, he is linked to the
;       switch code, and can use normal NetRom/TheNet commands.
;
;       If he connects to the BBS Callsign or Alias he will be connected
;       directly to a BBS port. If none are available, the connect will be
;       rejected.
;
;       Note that of you are running only a NODE (ie BBS=0), or or just a BBS
;       (NODE=0), then you must still put in two pairs of calls, but they MUST
;       be the SAME. If you are running both, the calls MUST be different.
;
;       Cambiar donde dice LU8APG por su licencia
NODECALL=LU8APG-4       ; Node callsign.
NODEALIAS=XXNODE        ; Node alias.
;
BBSCALL=LU8APG          ; BBS callsign.
BBSALIAS=XXBBS          ; BBS alias.
;
;   Configuration Options
;   ~~~~~~~~~~~~~~~~~~~~~
;
BBS=1                   ; Include BBS support.
NODE=1                  ; Include switch support.
;
HIDENODES=0             ; If set to 1, nodes starting with # will only be
                        ; displayed by a NODES * command.
;
HOSTINTERRUPT=127       ; Sets the Interrupt used to access BPQ Host Mode. Will
                        ; normally be 127, but may be changed if this clashes
                        ; with other software. BTRIEVE seems to use 127, so if
                        ; you are using it, try INTERRUPT=126 instead.
;
;       Memory Usage. If EMS=1, the system will attempt to put its
;       data area into EMS Memory. At the moment it makes no attempt 
;       to manage sharing of the EMS window, so you must not run any other
;       software using EMS.
;
;       Setting EMS=1 seems to cause problems with Desqview. I suggest it
;       is only used with non-DV installations.
;
EMS=0         ; Don't use EMS RAM.
;
;       I seem to have problems with systems not using DESQVIEW - especially
;       NNA BBS's. The DV calls SHOULD be ignored if DV is not loaded, but
;       just in case, if you set DESQVIEW=0, the 'Release Timeslice' call
;       wont be used. MAKE SURE that you set DESQVIEW=1 if using DV, or
;       performance will be seriously affected.
;
DESQVIEW=0
; 
;       'ID' message - sent every idinterval mins, and will be addressed from
;       the port callsign (if defined) else from the node call.
;
;       The following format allows KA nodes to include your system in
;       their 'Nodes' lists.
;
IDMSG:
Network node (ALNODO)
***
;
UNPROTO=MAIL            ; Default unproto address.
;
;   INFO - I command text
;   ~~~~~~~~~~~~~~~~~~~~~
;       Note that the bit about needing a port parameter in connects is only
;       necessary if you are running more that one (radio) port, or are using
;       the BAYCOM modem and its driver.
;
INFOMSG:
LU8APG Packet Switch.

Commands are basically the same as NET/ROM, but to connect to another normal
station (not another node), you must specify a port number before the callsign.
Use PORTS command to list available ports. The PMS command connects you to the
associated Mailbox.

***
;
;   CTEXT - Connection text
;   ~~~~~~~~~~~~~~~~~~~~~~~
;       Normally will only be sent when someone connects to the NODE ALIAS at
;       level 2. If FULL_CTEXT is set to 1, it will be sent to all connectees.
;       Note that this could confuse BBS forwarding connect scripts.
;
CTEXT:
Welcome to LU8APG's Packet Switch.
Type ? for a list of available commands.

***

FULL_CTEXT=0            ; Send ctext only to L2 connectees to alias

;   Network System Parameters
;   ~~~~~~~~~~~~~~~~~~~~~~~~~

OBSINIT=5               ; Initial obsolescence value.
OBSMIN=4                ; Minimum to broadcast.
NODESINTERVAL=60        ; 'NODES' interval in minutes.
IDINTERVAL=15           ; 'ID' broadcast interval (UK Regs require an AX25 ID
                        ; every 15 mins).
BTINTERVAL=0            ; No beacons.
L3TIMETOLIVE=25         ; Max L3 hops
L4RETRIES=3             ; Level 4 retry count
;
;       I have seen suggestions that L4TIMEOUT should be increased to very high
;       values (even as long as 7 mins). Although 60 may be a bit short in some
;       cases, I STRONGLY advise that you dont go much above 120 secs unless
;       you understand ALL the implications.
;
;       I've set TTL and TIMEOUT to the values agreed by the latest SYSOPS
;       meeting - this does not imply that I agree with them!
;
L4TIMEOUT=120           ; Level 4 timeout.
L4DELAY=10              ; Level 4 delayed ACK timer.
L4WINDOW=4              ; Default level 4 window.
MAXLINKS=30             ; Max L2 links (up, down and internode).
MAXNODES=120            ; Max nodes in system.
MAXROUTES=35            ; Max adjacent nodes.
MAXCIRCUITS=64          ; Number of L4 circuits.
MINQUAL=10              ; Minimum quality to add to nodes table.
;
BBSQUAL=250             ; BBS Quality relative to NODE - used to limit 'spread'
                        ; of BBS through the network to your required service
                        ; area. I've been asked to set a low default so as to
                        ; encourage you to think about a suitable value. The
                        ; maximum is 255.
;
BUFFERS=255             ; Packet buffers - 255 means allocate as many as
                        ; possible - normally about 130, depending on other
                        ; table sizes
;
;   TNC default parameters
;   ~~~~~~~~~~~~~~~~~~~~~~
;
PACLEN=127              ; Maximum packet size
;
;       PACLEN is a problem! The ideal size depends on the link(s) over which a
;       packet will be sent. For a session involving another node, we have no
;       idea what is at the far end. Ideally, each node should have the
;       capability to combine and then refragment messages to suit each link
;       segment - maybe when there are more of my nodes about than 'real' ones,
;       I'll do it.
;
;       When the node is accessed directly, things are a bit easier, as we know
;       at least something about the link. So, from Version 3.11 onwards, there
;       are two PACLEN params, one here and one in the PORTS section. This one
;       is used to set the initial value for sessions via other nodes, and for
;       sessions initiated from here. The other is used for incoming direct
;       (Level 2) sessions.
;
;       In all cases the TNC PACLEN command can be used to override these
;       defaults.
;
;       The main reason for changing this now was a request from someone wanting
;       to run an HF port.
;
TRANSDELAY=1            ; Transparent mode send delay - 1 second.
;
;   Level 2 Parameters
;   ~~~~~~~~~~~~~~~~~~
;       T1, T2 and N2 are now in the PORTS section
;
T3=180                  ; Link validation timer (3 minutes)
IDLETIME=900            ; Idle link shutdown timer (15 minutes)    
;
;       The *** linked command is intended for use by gateway software, and
;       concern has been expressed that it could be misused. I recommend that
;       it is disabled if not needed.
;
ENABLE_LINKED=A         ; Controls processing of *** linked command:
                        ; Y allows unrestricted use,
                        ; A allows use by application program,
                        ; N (or any other value) disables it.
;
;   'COMBIOS' Port definitions
;   ~~~~~~~~~~~~~~~~~~~~~~~~~~
;
;       This section defines the virtual TNC's that the code supports.
;
;       The basic format is:
;
;           TNCPORT
;               COM=n           ; COMBIOS port number
;               APPLMASK=nn     ; Defaults to 1 (BBS)
;               APPLFLAGS=nn    ; Defaults to 6 
;           ENDPORT
;
;       See APPLS.DOC for details on use of APPLFLAGS and APPLMASK
; 
;       Only TNC2 applications are supported through this interface.  For
;       information on using KISS or DEDHOST applications, see the file
;       DRIVERS.DOC
;
;       Dont try to define more than 16 ports.
; 
TNCPORT
        COM=1
ENDPORT
;
;       COM2 used for the mouse driver, so must NOT be listed in this file.
;
;   AX25 PORT DEFINITIONS
;   ~~~~~~~~~~~~~~~~~~~~~
;
;       These define the external links - normally to radios, but possibly to
;       other computers, modems, etc.
;
;       The hardware type and protocol are now defined separately, but at the
;       moment only a limited number of combinations are possible.
;
;       Interrupt levels may be shared by any cards with suitable hardware.
;       Examples are all but the earliest DRSI cards, and a MS400 modified as
;       described by AA4RE in his MBBIOS documentation.
;
;       There is a significant overhead in using the shared interrupt feature -
;       try to use it on relatively low speed links, and wath out for TX
;       underruns/RX overuns.
;
;       See file PORTS.DOC for full details of available paramters.
;
;       Note that all timer values are in ms intervals. Most TNC's use
;       different units for the various timers, so be careful!
;
;       The timings are all derived from the PC's timer interrupt, whose
;       frequency is about 18.2 HZ, so the resolution is only to approx 50ms.
;
PORT
        ID=Baycom Modem
        PORTNUM=2
        TYPE=EXTERNAL
        PROTOCOL=KISS
        IOADDR=3F8H
        INTLEVEL=96     ; Note - this is decimal, -i above given in hex
        SPEED=9600
        CHANNEL=A
        QUALITY=0       ; Set to 0 for an L3 node, and 10 for an L4 node.
        MAXFRAME=3
        TXDELAY=1000
        SLOTTIME=100
        PERSIST=50
        FULLDUP=0
        FRACK=7000
        RESPTIME=2000
        RETRIES=15
        PACLEN=125
        CWID=G0MEJ
        DIGIFLAG=1
        DIGIPORT=0
        USERS=0
        UNPROTO=MAIL
        MHEARD=Y
ENDPORT
;
;   Routes to lock in
;   ~~~~~~~~~~~~~~~~~
;
;       Specify Callsign, Quality and Port. You can now also specify MAXFRAME,
;       FRACK, PACLEN (in that order) to override the port defaults.
;
ROUTES:
***
;
;   Applications supported
;   ~~~~~~~~~~~~~~~~~~~~~~
;
;       Up to 8 entries of up to 12 characters each.
;
;       The first 3 are reserved for BBS, Host, and Remote Sysop. You can
;       define the others as you like.
;
;       For compatibility with earlier versions, just enter
;
;           APPLICATIONS=BBS
;
;       Names starting with * are not included in the 'valid commands' display.
;
APPLICATIONS=PMS,*USER,*SYSOP
;
;   End of configuration file
;   ~~~~~~~~~~~~~~~~~~~~~~~~~
