;   For Version 4.07a Eprom Version ve3kr
;
;
;    CONFIGURATION FILE FOR G8BPQ SWITCH SOFTWARE
;
;    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
;
;    
DESQVIEW=0
;    For Data Engine Leave at 127

HOSTINTERRUPT=127
 
;
;    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.
;
;    It seems to work ok when used with Desqview, at least on my
;    AST, but it is primarily intended for use with AA4RE BBS, which
;    needs a great deal of space.
;
;    For Data Engine leave at 0
EMS=0                    ; dont use EMS RAM
;
;
;    Station Identification.
;
;    The Data Engine version of the switch only uses the NODECALL and 
;    NODEALIAS, but as the same version BPQCFG.EXE is used for both versions,
;    you must also define a BBS call and Alias, even though they are not used.
;
 
NODECALL=VE3MUS-13               ; NODE CALLSIGN
NODEALIAS=#LNK
 
; For Data Engine set bbsalias and BBSCALL the same as ABOVE
BBSCALL=VE3MUS-13                ; BBS CALLSIGN 
BBSALIAS=#LNK                   ; BBS ALIAS
 
;
;    'ID' MESSAGE - SENT EVERY IDINTERVAL MINS
;
;    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:
High Speed Network Node Huntsville 
***
;
UNPROTO=MAIL             ; DEFAULT UNPROTO ADDR
 
;    'I' COMMAND TEXT
;
;    Note that the bit about needing a port param in connects is only
;    necessary if you are running more that one (radio) port.
;
INFOMSG:
  VE3MUS Packet Switch, Huntsville Ontario Can
	 Kantronics Data Engine running BPQ code in EPROM
	 For FBB BBS connect to BBSMUS:VE3MUS-2
	 For Telpac Winlink 2K connect to TLPAC:VE3MUS-10
	 BBSMUS is compatible with the Outpost Packet Manager 
	 Sysop: VE3KR @ BBSMUS 
***
;
;       CTEXT - 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 the VE3MUS Packet backbone switch located near Huntsville Ont.
	 Type ? for list of available commands.
***
 
FULL_CTEXT=0            ; Dont send CTEXT to connects to callsign
;
; 
;    Network System Parameters
;
OBSINIT=5                ; INITIAL OBSOLESCENCE VALUE
OBSMIN=4                 ; MINIMUM TO BROADCAST
NODESINTERVAL=10         ; 'NODES' INTERVAL IN MINS
IDINTERVAL=30            ; 'ID' BROADCAST INTERVAL (UK Regs require
			 ; an AX25 ID every 15 mins)
;
BTINTERVAL=0             ; NO BEACONS
L3TIMETOLIVE=25          ; MAX L3 HOPS
L4RETRIES=10             ; LEVEL 4 RETRY COUNT
;
;    I have seen suggestions that L4TIMEOUT should be increased to very
;    high values (even as long as seven mins). Although 60 may be a bit 
;    shor4t 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=60             ; LEVEL 4 TIMEOUT
L4DELAY=10               ; LEVEL 4 DELAYED ACK TIMER (Was 10)
L4WINDOW=4               ; DEFAULT LEVEL 4 WINDOW
;
MAXLINKS=30              ; MAX LEVEL 2 LINKS (UP,DOWN AND INTERNODE)
MAXNODES=175             ; MAX NODES IN SYSTEM
MAXROUTES=30             ; MAX ADJACENT NODES
MAXCIRCUITS=50           ; NUMBER OF L4 CIRCUITS
MINQUAL=20               ; MINIMUM QUALITY TO ADD TO NODES TABLE
     
BBSQUAL=255              ; 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 to encourage you
			 ; to think about a suitable value. Max is 255
			 ; Data Engine leave at 255
BUFFERS=255              ; PACKET BUFFERS - 255 MEANS ALLOCATE AS MANY
			 ; AS POSSIBLE - NORMALLY ABOUT 130, DEPENDING
			 ; ON OTHER TABLE SIZES
;
;    TNC DEFAULT PARAMS
;
PACLEN=236               ; MAX 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 the 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 SEC
;
;    Level 2 Parameters
;
; T1, T2 and N2 are now int the PORTS section
;
T3=180                    ; LINK VALIDATION TIMER (3 MINS)
; 
IDLETIME=900              ; IDLE LINK SHUTDOWN TIMER (15 MINS)   
;
;
;    Configuration Options
;
BBS=0                    ; Not used in Data Engine version
NODE=1                   ; INCLUDE SWITCH SUPPORT
;
HIDENODES=1              ; IF SET TO 1, NODES STARTING WITH # WILL 
			 ; ONLY BE DISPLAYED BY A NODES * COMMAND
;
;       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=Y                 ; CONTROLS PROCESSING OF *** LINKED COMMAND
				; Y ALLOWS UNRESTRICTED USE
				; A ALLOWS USE BY APPLICATION PROGRAM
				; N (OR ANY OTHER VALUE) DISABLE
;
;
;
;
;
;    'COMBIOS' Port definitions.
;
;    This section defines the virtual TNC's that the code supports.
;
;    The Data Engine only allows one TNC2-Like Virtual TNC
; 
;
TNCPORT
     COM=1
     APPLMASK=2
ENDPORT
 
;
;    AX25 PORT DEFINITIONS
;
;    Note that these are NOT related to the Virtual TNC ports defined
;    in TNCPORTLIST above. These define the external links - normally
;    to radios, but possibly to other computers, modems, etc. You can
;    have several TNC ports, but only one radio link, or even several
;    radio links and only one TNC port.
;
; 
;    See file PORTS.DOC for full details of all available parameters
;
;
PORT
    ID=9600 Baud Port  ; Port 1 (A) Setup Aug. 17th 2008 by ve3kr
    TYPE=DE56
    PROTOCOL=HDLC
    IOADDR=0H       ; A Radio port
    INTLEVEL=3      ; Always use 3
    SPEED=0         ; Use 0 if 19.2 Modem Used
    CHANNEL=A
    QUALITY=236
    MAXFRAME=4
    TXDELAY=200      ; use 30 for 19.2 modem speed, 300 for 1200b
    SLOTTIME=100
    PERSIST=234
    FULLDUP=0
    SOFTDCD=0
    FRACK=2000
    RESPTIME=1000
    RETRIES=10
    PACLEN=236
  ; VALIDCALLS=ve3lsr,ve3rek,va3bal,ve3kr,ve3yra
  ; CWID=
;
;   NEW FIELDS IN VER 3.55
;
;    DIGIFLAG=0         ; DIGIPEAT FLAG - 0 = DISABLE 1 = ENABLE
		       ; 255 = DIGI UI FRAMES ONLY
 
;    DIGIPORT=0         ; PORT TO RELAY DIGI'ED FRAMES ON -
		       ; 0 = THIS PORT, N = PORT N
 
    USERS=0            ; LIMIT ON L2 SESSIONS ON THIS PORT -
		       ; 0 = UNLIMITED
 
ENDPORT
;
PORT
    ID=19.2 Link           ; Port 2 (B)
    TYPE=DE56              ; Use DE56 for Data Engine
    PROTOCOL=HDLC          ; Always use HDLC for DEngine
    IOADDR=0H              ; Always use 0H
    INTLEVEL=3
    SPEED=0                ; 0 for RUH 19.2 Modem
    CHANNEL=B     
    QUALITY=236
    MAXFRAME=4
    TXDELAY=40             ; 30 for 19.2 and 300 for 1200b
    SLOTTIME=100
    PERSIST=234
    FULLDUP=0
    SOFTDCD=0
    FRACK=2000
    RESPTIME=1000
    RETRIES=5
    PACLEN=236
  ; VALIDCALLS=
  ; CWID=
;    DIGIFLAG=0             ; DIGIPEAT FLAG - 0 = DISABLE 1 = ENABLE
			   ; 255 = DIGI UI FRAMES ONLY
    USERS=0                ; 0 is unlimited users
;
ENDPORT
;
PORT                       ; Serial Port 3 (C)
    ID=To Matrix
    TYPE=ASYNC             ; Serial port use ASYNC
    PROTOCOL=NETROM
    IOADDR=0E0H            ; Use 0E0H for Serial Port
    INTLEVEL=1             ; Always use 1
    SPEED=9600             ; 38400 is maximum speed for DE serial port
    CHANNEL=C
    QUALITY=236
    MAXFRAME=4
    TXDELAY=100
    SLOTTIME=100
    PERSIST=128
    FULLDUP=0
    FRACK=2000
    RESPTIME=1000
    RETRIES=10
    PACLEN=236
  ; VALIDCALLS=
  ; KISSOPTIONS=CHECKSUM,POLLED,ACKMODE
    USERS=0
;
ENDPORT
 
ROUTES:
;
;    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.
;
;
;VE3MUS-12,225,2
;VE3MUS,225,2
;VE3MUS-10,225,3
;VE3MUS-6,225,3
;VE3MUS-7,225,3
;VE3MUS-2,192,2
;VE3MUS,192,2
***
;
;    APPLICATIONS SUPPORTED
;
;    UP TO 8 ENTRIES OF UP TO 12 BYTES 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 'VALID COMMANDS' DISPLAY
;
APPLICATIONS=,,*SYSOP
;
