<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\subsection{Repeater (0x08)}

A CATS station may want to articulate repeater information. For instance, a user may want to transmit the repeaters they are monitoring, or a ham radio club may wish to transmit a list of repeaters for their local area. Hypothetically, a CATS-compliant radio could listen to these repeater whiskers and automatically program them into its own memory. \textbf{A valid CATS packet may contain zero or more repeater whiskers.}

Each repeater whisker represents a single repeater.

\subsubsection{Structure}

{\def\arraystretch{1.3}
\begin{tabular}{|l|l|l|l|}
  \hline
  \textbf{Byte offset} &amp; \textbf{Length} &amp; \textbf{Value} &amp; \textbf{Description} \\
  \hline
  0 &amp; 1 &amp; 0x08 &amp; Whisker type \\
  \hline
  1 &amp; 1 &amp; $N$ &amp; Whisker length in bytes \\
  \hline
  2 &amp; 4 &amp; &amp; Uplink frequency (unsigned integer, Hz) \\
  \hline
  6 &amp; 4 &amp; &amp; Downlink frequency (unsigned integer, Hz) \\
  \hline
  10 &amp; 1 &amp; &amp; Modulation type (See simplex whisker) \\
  \hline
  11 &amp; 3 &amp; &amp; Tone information (See tones below) \\
  \hline
  14 &amp; 1 &amp; &amp; Power (unsigned integer, ${4 \over{\text{dBm}}} x$, 255 = unknown) \\
  \hline
  15 &amp; 2 &amp; &amp; Latitude (signed integer, ${2^{15} \over 90 \degree}x$) \\
  \hline
  17 &amp; 2 &amp; &amp; Longitude (signed integer, ${2^{15} \over 180 \degree}x$) \\
  \hline
  19 &amp; $N - 17$ &amp; &amp; Repeater name (UTF-8) \\
  \hline
\end{tabular}
}

\subsubsection{Tones}

Uplink and downlink tones are encoded in 3 bytes. CTCSS and DCS are both supported. The uplink tone is encoded in the 12 MSBs and the downlink tone is encoded in the 12 LSBs. \newline

\noindent
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}
  \hline
  MSB &amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp; LSB \\
  \hline
  23 &amp; 22 &amp; 21 &amp; 20 &amp; 19 &amp; 18 &amp; 17 &amp; 16 &amp; 15 &amp; 14 &amp; 13 &amp; 12 &amp; 11 &amp; 10 &amp; 9 &amp; 8 &amp; 7 &amp; 6 &amp; 5 &amp; 4 &amp; 3 &amp; 2 &amp; 1 &amp; 0 \\
  \hline
  $U_e$ &amp; $U_p$ &amp; \multicolumn{10}{|c|}{$U_v$} &amp; $D_e$ &amp; $D_p$ &amp; \multicolumn{10}{|c|}{$D_v$} \\
  \hline
\end{tabular} \\
\newline \noindent
Where:

\begin{itemize}
\item $U_e$ and $D_e$ represent the encoding type (0 for CTCSS, 1 for DCS)
\item $U_p$ and $D_p$ represent the DCS tone polarity
  \begin{itemize}
  \item If the type is CTCSS, this value is unused and must be set to 0
  \item If the type is DCS, then
    \begin{itemize}
    \item If the polarity is normal, this value is set to 0
    \item If the polarity is reversed, this value is set to 1
    \end{itemize}
  \end{itemize}
\item $U_v$ and $D_v$ represent the tone value
  \begin{itemize}
  \item If the type is CTCSS, the value is an unsigned integer from the CTCSS table (see below)
  \item If the type is DCS, the value is the DCS code, encoded as an unsigned integer
  \item To encode no tone, set the type to CTCSS (0) and set the value to 0
  \end{itemize}
\end{itemize}

\subsubsection{CTCSS Table}

\begin{tabular}{|l|l|l|l|l|l|l|l|}
  \hline
  \textbf{Tone ID} &amp; \textbf{PL tone (Hz)} &amp; &amp; \textbf{Tone ID} &amp; \textbf{PL tone (Hz)} &amp; &amp; \textbf{Tone ID} &amp; \textbf{PL tone (Hz)} \\
  \hline
  0 &amp; [No tone] &amp; &amp; &amp; &amp; &amp; &amp; \\
  \hline
  1 &amp; 67.0 &amp; &amp; 15 &amp; 107.2 &amp; &amp; 29 &amp; 173.8 \\
  \hline
  2 &amp; 69.3 &amp; &amp; 16 &amp; 110.9 &amp; &amp; 30 &amp; 179.9 \\
  \hline
  3 &amp; 71.9 &amp; &amp; 17 &amp; 114.8 &amp; &amp; 31 &amp; 186.2 \\
  \hline
  4 &amp; 74.4 &amp; &amp; 18 &amp; 118.8 &amp; &amp; 32 &amp; 192.8 \\
  \hline
  5 &amp; 77.0 &amp; &amp; 19 &amp; 123.0 &amp; &amp; 33 &amp; 203.5 \\
  \hline
  6 &amp; 79.7 &amp; &amp; 20 &amp; 127.3 &amp; &amp; 34 &amp; 206.5 \\
  \hline
  7 &amp; 82.5 &amp; &amp; 21 &amp; 131.8 &amp; &amp; 35 &amp; 210.7 \\
  \hline
  8 &amp; 85.4 &amp; &amp; 22 &amp; 136.5 &amp; &amp; 36 &amp; 218.1 \\
  \hline
  9 &amp; 88.5 &amp; &amp; 23 &amp; 141.3 &amp; &amp; 37 &amp; 225.7 \\
  \hline
  10 &amp; 91.5 &amp; &amp; 24 &amp; 146.2 &amp; &amp; 38 &amp; 229.1 \\
  \hline
  11 &amp; 94.8 &amp; &amp; 25 &amp; 151.4 &amp; &amp; 39 &amp; 233.6 \\
  \hline
  12 &amp; 97.4 &amp; &amp; 26 &amp; 156.7 &amp; &amp; 40 &amp; 241.8 \\
  \hline
  13 &amp; 100.0 &amp; &amp; 27 &amp; 162.2 &amp; &amp; 41 &amp; 250.3 \\
  \hline
  14 &amp; 103.5 &amp; &amp; 28 &amp; 167.9 &amp; &amp; 42 &amp; 254.1 \\
  \hline
\end{tabular}
</pre></body></html>