# Channel extensions

This extensions allows to set some device specific channel settings for AnyTone devices. There are some general settings, valid for FM and DMR channels as well some FM and DMR specific settings.

## Examples of the AnyTone extensions for FM and DMR channels.

    channels:
      - dmr:
        name: Example DMR channel
        # ...
        anytone:
          frequencyCorrection: 0
          handsFree: false
          adaptiveTDMA: false
          throughMode: false
      - fm:
        name: Example FM channel
        # ...
        anytone:
          frequencyCorrection: 0
          handsFree: false
          rxCustomCTCSS: false
          txCustomCTCSS: false
          customCTCSS: 0.0
          squelchMode: Carrier
          scrambler: false

This section describes the common channel attributes. These attributes are shared between FM and DMR channels.

frequencyCorrection

- Specifies some sort of correction to the frequency in some unknown units. Consider contacting me, if you know more details about it.

handsFree

- If true, the hands-free feature is enabled for this channel. The actual configuration of the hands-free feature happens in the general settings extension. This setting is only applicable to the AT-D578UV device.

fmAPRSFrequency

- Optional alternative FM APRS frequency specified in the AnyTone extension to the APRS settings.

aprsPTT

- Enables/specifies if and when the position is send via APRS whenever the PTT is pressed. Possible values are Off, Start and End.

  If a DMR APRS system is associated with this channel, Start and End are synonymous. If and FM APRS system is associated with this channel, the position is send at the beginning (Start) or end (End) of a transmission. If Off is set, the position will not be send along with every transmission. In this case, the position might be send periodically, depending on the settings of the position reporting system.

These attributes are only valid for FM channels.

rxCustomCTCSS

- If true, the custom CTCSS frequency (see customCTCSS) is used to control the squelch.

txCustomCTCSS

- If true, the custom CTCSS frequency (see customCTCSS) is transmitted.

customCTCSS

- Specifies a custom CTCSS frequency in Hz. The frequency can be specified with a resolution of 0.1Hz.

squelchMode

- Specifies the squelch mode. Must be one of Carrier, SubTone, OptSig, SubToneAndOptSig or SubToneOrOptSig.

scrambler

- If true, the analog scrambler is enabled. It is not legal to use scramblers in HAM radio.

This section describes the attributes, applicable to DMR channels on AnyTone devices.

adaptiveTDMA

- If true, the adaptive TDMA mode is enabled. This makes only sense, if simplexTDMA is enabled too. In this case, the radio is able to receive both simplex TDMA as well as normal simplex DMR on the channel.

throughMode

- If true, the through mode is enabled. What ever that means. If you know more about it, consider extending this section.