;This is a copy of the default version of TH-D7.CMD.
;
;This is a sample TNC initialisation file for use with
;the Kenwood TH-D7.

[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'.
BC 0!BC 0
;Set the frequency to 144.800.
FQ 00144800000,0!FQ 00144800000,0
;No shift.
SFT 0!SFT 0
;Select data band as 'A'.
DTB 0!DTB 0
;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
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
