BPQ Home    BPQ32 Home

BPQtoAGW Driver for BPQ32 switch.

BPQtoAGW

This driver gives BPQ32 access to any comms hardware supported by AGW Packet Engines, such as sound card modems. Note that AGWPE acts simply as a KISS TNC, and is not involved in any AX25 level protocol. All timing is done by BPQ32. A PORT entry is required in BPQ32.cfg for each AGW port to be used by BPQ.

IOADDR is the TCP port that AGWPE listens on in HEX (1f41 hex = 8001 decimal). CHANNEL maps to AGWPE port number - A = port 1, B = Port 2, etc. The default TCP port for AGWPE is 8000, but if you are using AGWtoBPQ to allow AGW applications to use BPQ, you will need to change the port number used by AGWPE. This example assumes it has been set to 8001. To set AGWPE's port number right click the AGWPE task tray icon, select Setup Interfaces/Winsock Interface/ Setup TCP 8001 and click OK. The port change takes place immediately.

If you want to run BPQ and AGW on different machines, you also need to add additional configuration statements giving HostName or Address, Port, User, Password

User and Password need be specified only if AGWPE is configured to require them, but I recommend you use them if running over an open network.

Any Ports without a specific config will use 127.0.0.1 and port from BPQ32.cfg IOADDR field

Configuration BPQ32.cfg entries for the BPQtoAGW link.

;
;
PORT
	PORTNUM=2                        ;Optional but sets port number if stated
	ID=AGWPE Port 1 Soundcard Left   ;Text displayed by PORTS command
	TYPE=EXTERNAL                    ;Calls an external module
	DLLNAME=BPQtoAGW.dll             ;Uses BPQtoAGW.dll
 	IOADDR=1F41                      ;Interfaces with AGWPE via port 8001 decimal
	CHANNEL=A                        ;AGWPE's port 1
	QUALITY=192                      ;Setting to 0 stops node broadcasts on this port
	MAXFRAME=7                       ;Max outstanding frames (1 thru 7)
	FRACK=1000                       ;Level 2 timeout in milliseconds
	RESPTIME=250                     ;Level 2 delayed ack timer in milliseconds
	RETRIES=10                       ;Level 2 maximum retry value
	PACLEN=236                       ;Max = 236 if using NETROM links
; 
; Following only needed if using a remote host
;
	CONFIG
	gm8bpq.no-ip.com 8001 GM8BPQ fred
;
ENDPORT
;
PORT
	PORTNUM=3
	ID=AGWPE Port 2 Soundcard Right
	TYPE=EXTERNAL
	DLLNAME=BPQtoAGW.dll	
	IOADDR=1F41
	CHANNEL=B			;AGWPE's port 2
	QUALITY=192
	MAXFRAME=7
	FRACK=1000
	RESPTIME=250
	RETRIES=10
	PACLEN=236
; 
; Following only needed if using a remote host
;
	CONFIG
	gm8bpq.no-ip.com 8001 GM8BPQ fred
;
ENDPORT
    

John Wiseman G8BPQ
October 2010