### Cabrillo Mode Definitions

When processing a log, TQSL can process both ADIF and Cabrillo format log files. ADIF is the preferred format for logs as it is better able to convey the details of a QSO, but Cabrillo is also supported.

One detail when processing Cabrillo logs is that the mode of a QSO is specified by a two-character encoding in a fixed field of the log. Traditionally, this permitted modes such as PH (Phone), CW, RY (RTTY). The designator "DG" is now permitted for Digital operations.

TQSL supports the following modes and translations:

Specifier | Resulting Mode
CW | CW
PH | SSB
FM | FM
RY | RTTY
DG | DATA

TQSL allows an operator to add or alter these mode "mappings" by use of a configuration file. This file is called cab_mode.dat and is stored in the TQSL working directory, which is either %AppData%\TrustedQSL (Windows) or $HOME/.tqsl (UNIX, OSX).

Create this file using a text editor with one mode specification per line, with the Cabrillo specification followed by the desired mode, with a comma separating the entries. For example, mapping can be specified to direct TQSL to upload DG QSOs as FT8 by making a cab_mode.dat file with the following content:

DG,FT8

Entries in the user's file will override any stock configuration and can add new mappings.

Be sure to use a plain text editor (such as Notepad), not a word processor, when creating or editing this file.