Sunday, February 19, 2012

UI-View TNC Config File for 96UHF


The UI-View program works well with the Kenwood D7 HT.   So well, it even sets the frequency at startup time.   The beauty of this is that it allows setting up different configuration files for different channels and, it turns out, for different baud rates.

Editing the stock file to create a new configuration file for 145.01 was trivial and only a matter of changing the frequency setting.

Moving to 96UHF, where not only the frequency but also the band and baud rate changes, was a bit trickier.

Fortunately, before I had to spend too much time discovering the silly little things that thrive on eatting our minutes, I found the SV1BSX  web page were he already had it figured out.

  http://www.qsl.net/sv1bsx/APRS/d7-9k6.html


This is working for me now.  I'm sure there will be future tweaks..

Here is the text for a 96UHF.cmd file to be saved in the ui-view\cmd folder:


;This is a TNC initialisation file for use with
;the Kenwood TH-D7 on the NWAPRS 96UHF 9600 baud APRS on 440.800 MHz.
;
;TH-D7.ORG will allow you to revert to the default
;version of this file, if you edit it and mess it up!

[SETUP]
;DON'T alter anything in this section unless you are
;sure you know what you are doing!
COMMAND_PROMPT=cmd:
COMMAND_CHARACTER_CODE=3
ESCAPE_CHARACTER_CODE=
CONV_COMMAND=CONV
MYCALL_COMMAND="MYCALL "
UNPROTO_COMMAND="UNPROTO "
NO_BEACON_COMMAND=BEACON EVERY 0

[INIT_COMMANDS]
^C
AI 1!
;Control mode on.
TC 1!
;Select packet mode.
TNC 0!TNC 0
;Select band 'A'.
;sELECT band B for 9k6
BC 1!BC 1
;Set the frequency to 440.800.
FQ 00440800000,0!FQ 00440800000,0
;No shift.
SFT 0!SFT 0
;Select data band as 'A'.
DTB 1!DTB 1
;Open the TNC in packet mode. Wait for up to 4 seconds
;for PORTOUT to be seen in the response from the TNC.
TC 0!PORTOUT!4
;Send some TNC commands.
ECHO OFF
HBAUD 9600
AWLEN 8
BEACON EVERY 0
MON ON
MCOM ON
CONOK OFF
LTMON 10
LOC E 0
GPSTEXT $GPRMC

[EXIT_COMMANDS]
MON OFF
;Close the TNC.
TC 1



No comments: