# Radio settings extension

This extension allows to set the device-specific general settings for TyT and Retevis radios. It extends the settings section of the codeplug.

## Radio settings extension example showing default values.

    settings:
      [...]
      tyt:
        montitorType: Open
        allLEDsDisabled: false
        talkPermitToneDigital: false
        talkPermitToneAnalog: false
        passwordAndLock: false
        channelFreeIndicationTone: true
        allTonesDisabled: false
        powerSaveMode: true
        wakeupPreamble: true
        bootPicture: true
        channelMode: true
        channelModeA: true
        channelModeB: true
        txPreambleDuration: 600
        channelHangTime: 3000
        groupCallHangTime: 3000
        privateCallHangTime: 3000
        lowBatteryWarnInterval: 120
        callAlertToneContinuous: false
        callAlertToneDuration: 0
        loneWorkerResponseTime: 1
        loneWorkerReminderTime: 10
        digitalScanHangTime: 1000
        analogScanHangTime: 1000
        backlightAlwaysOn: false
        backlightDuration: 10
        keypadLockManual: true
        keypadLockTime: 60
        powerOnPasswordEnabled: false
        powerOnPassword: 0
        radioProgPasswordEnabled: false
        radioProgPassword: 0
        pcProgPassword: null
        privateCallMatch: true
        groupCallMatch: true

## Radio settings fields

montitorType

- Specifies the monitor type. Possible values are Open and Silent. This setting only affects analog channels. If Open is specified, the squelch will open if monitoring is enabled.

allLEDsDisabled

- If enabled, all LEDs are disabled.

talkPermitToneDigital

- If enabled, a talk-permit tone will sound on digital channels.

talkPermitToneAnalog

- If enabled, a talk-permit tone will sound on analog channels.

passwordAndLock

- Enables and disables the passwords and keypad locks globally. They can also be enabled/disabled individually below.

channelFreeIndicationTone

- If enabled, a tone will sound after a transmission has ended to indicate that the channel is free again.

allTonesDisabled

- If enabled, all tones (talk permit, channel free, etc.) are disabled globally.

powerSaveMode

- Puts the radio is a sleep mode when in idle state (no traffic on the channels). This allows for some power saving. However, the radio will need some time to wake up. Consequently, all other radios in the network need to transmit a wake-up preamble.

wakeupPreamble

- Enables the transmission of a short wake-up preamble allowing receiving radios to wake-up in time for the actual transmission.

bootPicture

- If enabled, a picture is shown during boot rather than the boot text (see introLine1 and introLine2 in the general settings section).

channelMode, channelModeA, channelModeB

- Controls the mode of the radio, VFO A and VFO B. If channelMode is true, the entire radio operates in channel mode (memory mode). This also overrides the channelModeA and channelModeB settings. If channelMode is set to false, the channelModeA and channelModeB specify the mode for the VFO A and B, respectively.

txPreambleDuration

- Specifies the transmit preamble duration in milliseconds. If this preamble is the wake-up preamble, is unknown.

channelHangTime

- Specifies the channel hang time in milliseconds.

groupCallHangTime, privateCallHangTime

- Specifies the group-call hang time in milliseconds. This is the time a group or private call can be answered directly even if that group call is not the default contact of the channel. See also glHangTimehang time.

lowBatteryWarnInterval

- Specifies the period of the low-battery warn tone in seconds.

callAlertToneContinuous

- If enabled, a call-alert tone will sound until the operator reacts. This setting overrides the callAlertToneDuration setting.

callAlertToneDuration

- Specifies the call alert-tone duration in seconds. If callAlertToneContinuous is enabled, the alert tone will be continuous irrespective of this setting.

loneWorkerResponseTime

- Sets the lone-worker response time in minutes. See also glLoneWorkerlone worker.

loneWorkerReminderTime

- Sets the lone-worker reminder time in minutes. See also glLoneWorkerlone worker.

digitalScanHangTime, analogScanHangTime

- Specifies the time in milliseconds, the radio will continue monitoring a DMR or FM channel after the transmission on that channel ended.

backlightAlwaysOn

- If enabled, the backlight will stay on.

backlightDuration

- Specifies the backlight duration in seconds.

keypadLockManual

- If enabled, the keypad lock is enabled manually. If not, the keypad lock gets enabled automatically after a specified period (see keypadLockTime).

keypadLockTime

- Specifies the time, after which the keypad lock is engaged automatically unless keypadLockManual is enabled.

powerOnPasswordEnabled

- Enables the power-on password.

powerOnPassword

- Specifies the power-on password. An 8-digit number. This password must then be entered when booting the radio.

radioProgPasswordEnabled

- Enables the radio-programming password.

radioProgPassword

- Sets the radio-programming password. An 8-digit number. This password must then be entered when making any changes to the radio/channel settings through the keypad.

pcProgPassword

- Specifies the PC programming password. This password is then needed when programming the radio through the CPS. An empty string disables this password.

privateCallMatch, groupCallMatch

- If true, the private and group call IDs must match.