libdrmconf 0.13.3
A library to program DMR radios.
Loading...
Searching...
No Matches
D578UVCodeplug::GeneralSettingsElement Class Reference

Represents the general config of the radio within the D578UV binary codeplug. More...

#include <d578uv_codeplug.hh>

Inheritance diagram for D578UVCodeplug::GeneralSettingsElement:
Collaboration diagram for D578UVCodeplug::GeneralSettingsElement:

Classes

struct  TimeZone
 Device specific time zones. More...
struct  Offset
 Some internal offsets. More...

Public Member Functions

 GeneralSettingsElement (uint8_t *ptr)
 Constructor.
bool keyToneEnabled () const override
 Returns true, if the key tone is enabled.
void enableKeyTone (bool enable) override
 Enables/disables the key-tone.
virtual unsigned transmitTimeout () const
 Returns the transmit timeout in seconds.
virtual void setTransmitTimeout (unsigned tot)
 Sets the transmit timeout in seconds.
virtual AnytoneDisplaySettingsExtension::Language language () const
 Returns the UI language.
virtual void setLanguage (AnytoneDisplaySettingsExtension::Language lang)
 Sets the UI language.
virtual Frequency vfoStepSize () const
 Returns the VFO step size.
virtual void setVFOStepSize (const Frequency &f)
 Sets the VFO step size.
AnytoneSettingsExtension::VFOScanType vfoScanType () const override
 Returns the VFO scan type.
void setVFOScanType (AnytoneSettingsExtension::VFOScanType type) override
 Sets the VFO scan type.
unsigned int dmrMicGain () const override
 Returns the mirophone gain.
void setDMRMicGain (unsigned int gain) override
 Sets the microphone gain.
bool vfoModeA () const override
 Returns true if the VFO A is in VFO mode.
void enableVFOModeA (bool enable) override
 Enables/disables VFO mode for VFO A.
bool vfoModeB () const override
 Returns true if the VFO B is in VFO mode.
void enableVFOModeB (bool enable) override
 Enables/disables VFO mode for VFO B.
virtual AnytoneSettingsExtension::STEType steType () const
 Returns the STE (squelch tail eliminate) type.
virtual void setSTEType (AnytoneSettingsExtension::STEType type)
 Sets the STE (squelch tail eliminate) type.
virtual double steFrequency () const
 Returns the STE (squelch tail eliminate) frequency setting in Hz.
virtual void setSTEFrequency (double freq)
 Sets the STE (squelch tail eliminate) frequency setting.
virtual Interval groupCallHangTime () const
 Returns the group call hang time in seconds.
virtual void setGroupCallHangTime (Interval sec)
 Sets the group call hang time in seconds.
virtual Interval privateCallHangTime () const
 Returns the private call hang time in seconds.
virtual void setPrivateCallHangTime (Interval sec)
 Sets the private call hang time in seconds.
virtual Interval wakeHeadPeriod () const
 Returns the wake head-period in ms.
virtual void setWakeHeadPeriod (Interval ms)
 Sets the wake head-period in ms.
virtual unsigned wfmChannelIndex () const
 Returns the wide-FM (broadcast) channel index.
virtual void setWFMChannelIndex (unsigned idx)
 Sets the wide-FM (broadcast) channel index.
virtual bool wfmVFOEnabled () const
 Returns true if the WFM RX is in VFO mode.
virtual void enableWFMVFO (bool enable)
 Enables/disables VFO mode for WFM RX.
unsigned memoryZoneA () const override
 Returns the memory zone for VFO A.
void setMemoryZoneA (unsigned zone) override
 Sets the memory zone for VFO A.
unsigned memoryZoneB () const override
 Returns the memory zone for VFO B.
void setMemoryZoneB (unsigned zone) override
 Sets the memory zone for VFO B.
virtual bool wfmEnabled () const
 Returns true, if the WFM/Airband receiver is enabled.
virtual void enableWFM (bool enable)
 Enables/disables WFM/Airband receiver.
bool recording () const override
 Returns true if recording is enabled.
void enableRecording (bool enable) override
 Enables/disables recording.
unsigned brightness () const override
 Returns the display brightness.
void setBrightness (unsigned level) override
 Sets the display brightness.
bool gps () const override
 Returns true if GPS is enabled.
void enableGPS (bool enable) override
 Enables/disables recording.
bool smsAlert () const override
 Returns true if SMS alert is enabled.
void enableSMSAlert (bool enable) override
 Enables/disables SMS alert.
virtual bool wfmMonitor () const
 Returns true if WFM monitor is enabled.
virtual void enableWFMMonitor (bool enable)
 Enables/disables WFM monitor.
bool activeChannelB () const override
 Returns true if the active channel is VFO B.
void enableActiveChannelB (bool enable) override
 Enables/disables VFO B as the active channel.
bool subChannel () const override
 Returns true if sub channel is enabled.
void enableSubChannel (bool enable) override
 Enables/disables sub channel.
virtual Frequency tbstFrequency () const
 Returns the TBST frequency.
virtual void setTBSTFrequency (Frequency freq)
 Sets the TBST frequency.
bool callAlert () const override
 Returns true if call alert is enabled.
void enableCallAlert (bool enable) override
 Enables/disables call alert.
QTimeZone gpsTimeZone () const override
 Returns the GPS time zone.
void setGPSTimeZone (const QTimeZone &zone) override
 Sets the GPS time zone.
bool dmrTalkPermit () const override
 Returns true if the talk permit tone is enabled for digital channels.
void enableDMRTalkPermit (bool enable) override
 Enables/disables the talk permit tone for digital channels.
bool fmTalkPermit () const override
 Returns true if the talk permit tone is enabled for digital channels.
void enableFMTalkPermit (bool enable) override
 Enables/disables the talk permit tone for analog channels.
bool dmrResetTone () const override
 Returns true if the reset tone is enabled for digital calls.
void enableDMRResetTone (bool enable) override
 Enables/disables the reset tone for digital calls.
bool idleChannelTone () const override
 Returns true if the idle channel tone is enabled.
void enableIdleChannelTone (bool enable) override
 Enables/disables the idle channel tone.
Interval menuExitTime () const override
 Returns the menu exit time in seconds.
void setMenuExitTime (Interval intv) override
 Sets the menu exit time in seconds.
virtual bool filterOwnID () const
 Returns true if the own ID is filtered in call lists.
virtual void enableFilterOwnID (bool enable)
 Enables/disables filter of own ID in call lists.
bool startupTone () const override
 Returns true if the startup tone is enabled.
void enableStartupTone (bool enable) override
 Enables/disables the startup tone.
bool callEndPrompt () const override
 Returns true if the call-end prompt is enabled.
void enableCallEndPrompt (bool enable) override
 Enables/disables the call-end prompt.
unsigned maxSpeakerVolume () const override
 Returns the maximum volume.
void setMaxSpeakerVolume (unsigned level) override
 Sets the maximum volume.
virtual bool remoteStunKill () const
 Returns true remote stun/kill is enabled.
virtual void enableRemoteStunKill (bool enable)
 Enables/disables remote stun/kill.
virtual bool remoteMonitor () const
 Returns true remote monitor is enabled.
virtual void enableRemoteMonitor (bool enable)
 Enables/disables remote monitor.
bool getGPSPosition () const override
 Returns true if get GPS position is enabled.
void enableGetGPSPosition (bool enable) override
 Enables/disables get GPS position.
Interval longPressDuration () const override
 Returns the long-press duration in ms.
void setLongPressDuration (Interval ms) override
 Sets the long-press duration in ms.
bool volumeChangePrompt () const override
 Returns true if the volume change prompt is enabled.
void enableVolumeChangePrompt (bool enable) override
 Enables/disables the volume change prompt.
AnytoneAutoRepeaterSettingsExtension::Direction autoRepeaterDirectionA () const override
 Returns the auto repeater offset direction for VFO A.
void setAutoRepeaterDirectionA (AnytoneAutoRepeaterSettingsExtension::Direction dir) override
 Sets the auto-repeater offset direction for VFO A.
virtual AnytoneDMRSettingsExtension::SlotMatch monitorSlotMatch () const
 Returns the monitor slot match.
virtual void setMonitorSlotMatch (AnytoneDMRSettingsExtension::SlotMatch match)
 Sets the monitor slot match.
virtual bool monitorColorCodeMatch () const
 Returns true if the monitor matches color code.
virtual void enableMonitorColorCodeMatch (bool enable)
 Enables/disables monitor color code match.
virtual bool monitorIDMatch () const
 Returns true if the monitor matches ID.
virtual void enableMonitorIDMatch (bool enable)
 Enables/disables monitor ID match.
virtual bool monitorTimeSlotHold () const
 Returns true if the monitor holds the time slot.
virtual void enableMonitorTimeSlotHold (bool enable)
 Enables/disables monitor time slot hold.
AnytoneDisplaySettingsExtension::LastCallerDisplayMode lastCallerDisplayMode () const override
 Returns the last-caller display mode.
void setLastCallerDisplayMode (AnytoneDisplaySettingsExtension::LastCallerDisplayMode mode) override
 Sets the last-caller display mode.
virtual unsigned fmCallHold () const
 Returns the analog call hold in seconds.
virtual void setFMCallHold (unsigned sec)
 Sets the analog call hold in seconds.
bool displayClock () const override
 Returns true if the clock is shown.
void enableDisplayClock (bool enable) override
 Enables/disables clock display.
virtual bool gpsMessageEnabled () const
 Returns true if the GPS range reporting is enabled.
virtual void enableGPSMessage (bool enable)
 Enables/disables GPS range reporting.
bool enhanceAudio () const override
 Returns true if the audio is "enhanced".
void enableEnhancedAudio (bool enable) override
 Enables/disables "enhanced" audio.
Frequency minVFOScanFrequencyUHF () const override
 Returns the minimum VFO scan frequency for the UHF band in Hz.
void setMinVFOScanFrequencyUHF (Frequency hz) override
 Sets the minimum VFO scan frequency for the UHF band in Hz.
Frequency maxVFOScanFrequencyUHF () const override
 Returns the maximum VFO scan frequency for the UHF band in Hz.
void setMaxVFOScanFrequencyUHF (Frequency hz) override
 Sets the maximum VFO scan frequency for the UHF band in Hz.
Frequency minVFOScanFrequencyVHF () const override
 Returns the minimum VFO scan frequency for the VHF band in Hz.
void setMinVFOScanFrequencyVHF (Frequency hz) override
 Sets the minimum VFO scan frequency for the VHF band in Hz.
Frequency maxVFOScanFrequencyVHF () const override
 Returns the maximum VFO scan frequency for the VHF band in Hz.
void setMaxVFOScanFrequencyVHF (Frequency hz) override
 Sets the maximum VFO scan frequency for the VHF band in Hz.
bool hasAutoRepeaterOffsetFrequencyIndexUHF () const override
 Returns true if the auto-repeater offset frequency for UHF is set.
unsigned autoRepeaterOffsetFrequencyIndexUHF () const override
 Returns the auto-repeater offset frequency index for UHF.
void setAutoRepeaterOffsetFrequenyIndexUHF (unsigned idx) override
 Sets the auto-repeater offset frequency index for UHF.
void clearAutoRepeaterOffsetFrequencyIndexUHF () override
 Clears the auto-repeater offset frequency index for UHF.
bool hasAutoRepeaterOffsetFrequencyIndexVHF () const override
 Returns true if the auto-repeater offset frequency for VHF is set.
unsigned autoRepeaterOffsetFrequencyIndexVHF () const override
 Returns the auto-repeater offset frequency index for UHF.
void setAutoRepeaterOffsetFrequenyIndexVHF (unsigned idx) override
 Sets the auto-repeater offset frequency index for VHF.
void clearAutoRepeaterOffsetFrequencyIndexVHF () override
 Clears the auto-repeater offset frequency index for VHF.
Frequency autoRepeaterMinFrequencyVHF () const override
 Returns the minimum frequency in Hz for the auto-repeater range in VHF band.
void setAutoRepeaterMinFrequencyVHF (Frequency Hz) override
 Sets the minimum frequency in Hz for the auto-repeater range in VHF band.
Frequency autoRepeaterMaxFrequencyVHF () const override
 Returns the maximum frequency in Hz for the auto-repeater range in VHF band.
void setAutoRepeaterMaxFrequencyVHF (Frequency Hz) override
 Sets the maximum frequency in Hz for the auto-repeater range in VHF band.
Frequency autoRepeaterMinFrequencyUHF () const override
 Returns the minimum frequency in Hz for the auto-repeater range in UHF band.
void setAutoRepeaterMinFrequencyUHF (Frequency Hz) override
 Sets the minimum frequency in Hz for the auto-repeater range in UHF band.
Frequency autoRepeaterMaxFrequencyUHF () const override
 Returns the maximum frequency in Hz for the auto-repeater range in UHF band.
void setAutoRepeaterMaxFrequencyUHF (Frequency Hz) override
 Sets the maximum frequency in Hz for the auto-repeater range in UHF band.
void callToneMelody (Melody &melody) const override
 Returns the call-tone melody.
void setCallToneMelody (const Melody &melody) override
 Sets the call-tone melody.
void idleToneMelody (Melody &melody) const override
 Returns the idle-tone melody.
void setIdleToneMelody (const Melody &melody) override
 Sets the idle-tone melody.
void resetToneMelody (Melody &melody) const override
 Returns the reset-tone melody.
void setResetToneMelody (const Melody &melody) override
 Sets the reset-tone melody.
virtual unsigned priorityZoneAIndex () const
 Returns the priority Zone A index.
virtual void setPriorityZoneAIndex (unsigned idx)
 Sets the priority zone A index.
virtual unsigned priorityZoneBIndex () const
 Returns the priority Zone B index.
virtual void setPriorityZoneBIndex (unsigned idx)
 Sets the priority zone B index.
bool displayCall () const override
 Returns true if the call is displayed instead of the name.
void enableDisplayCall (bool enable) override
 Enables/disables call display.
virtual bool bluetooth () const
 Returns true if bluetooth is enabled.
virtual void enableBluetooth (bool enable)
 Enables/disables bluetooth.
virtual bool btAndInternalMic () const
 Returns true if the internal mic is additionally active when BT is active.
virtual void enableBTAndInternalMic (bool enable)
 Enables/disables the internal mic when BT is active.
virtual bool btAndInternalSpeaker () const
 Returns true if the internal speaker is additionally active when BT is active.
virtual void enableBTAndInternalSpeaker (bool enable)
 Enables/disables the internal speaker when BT is active.
virtual bool pluginRecTone () const
 Returns true if the plug-in record tone is enabled.
virtual void enablePluginRecTone (bool enable)
 Enables/disables the plug-in record tone.
virtual Interval gpsUpdatePeriod () const
 Returns the GPS ranging interval in seconds.
virtual void setGPSUpdatePeriod (Interval sec)
 Sets the GPS ranging interval in seconds.
virtual unsigned int btMicGain () const
 Returns the bluetooth microphone gain [1,10].
virtual void setBTMicGain (unsigned int gain)
 Sets the bluetooth microphone gain [1,10].
virtual unsigned int btSpeakerGain () const
 Returns the bluetooth speaker gain [1,10].
virtual void setBTSpeakerGain (unsigned int gain)
 Sets the bluetooth speaker gain [1,10].
virtual bool displayChannelNumber () const
 Returns true if the channel number is displayed.
virtual void enableDisplayChannelNumber (bool enable)
 Enables/disables display of channel number.
bool showCurrentContact () const override
 Returns true if the current contact is shown.
void enableShowCurrentContact (bool enable) override
 Enables/disables display of current contact.
virtual Interval autoRoamPeriod () const
 Returns the auto roaming period in minutes.
virtual void setAutoRoamPeriod (Interval min)
 Sets the auto roaming period in minutes.
AnytoneDisplaySettingsExtension::Color callDisplayColor () const override
 Returns the display color for callsigns.
void setCallDisplayColor (AnytoneDisplaySettingsExtension::Color color) override
 Sets the display color for callsigns.
bool gpsUnitsImperial () const override
 Returns true if the GPS units are imperial.
void enableGPSUnitsImperial (bool enable) override
 Enables/disables imperial GPS units.
bool knobLock () const override
 Returns true if the knob is locked.
void enableKnobLock (bool enable) override
 Enables/disables the knob lock.
bool keypadLock () const override
 Returns true if the keypad is locked.
void enableKeypadLock (bool enable) override
 Enables/disables the keypad lock.
bool sidekeysLock () const override
 Returns true if the sidekeys are locked.
void enableSidekeysLock (bool enable) override
 Enables/disables the sidekeys lock.
bool keyLockForced () const override
 Returns true if the "professional" key is locked.
void enableKeyLockForced (bool enable) override
 Enables/disables the "professional" key lock.
virtual Interval autoRoamDelay () const
 Returns the auto-roam delay in seconds.
virtual void setAutoRoamDelay (Interval sec)
 Sets the auto-roam delay in seconds.
virtual AnytoneDisplaySettingsExtension::Color standbyTextColor () const
 Returns the standby text color.
virtual void setStandbyTextColor (AnytoneDisplaySettingsExtension::Color color)
 Sets the standby text color.
virtual AnytoneDisplaySettingsExtension::Color standbyBackgroundColor () const
 Returns the standby image color.
virtual void setStandbyBackgroundColor (AnytoneDisplaySettingsExtension::Color color)
 Sets the standby image color.
bool showLastHeard () const override
 Returns true if the last heard is shown while pressing PTT.
void enableShowLastHeard (bool enable) override
 Enables/disables showing last heard.
virtual AnytoneDMRSettingsExtension::SMSFormat smsFormat () const
 Returns the SMS format.
virtual void setSMSFormat (AnytoneDMRSettingsExtension::SMSFormat fmt)
 Sets the SMS format.
AnytoneAutoRepeaterSettingsExtension::Direction autoRepeaterDirectionB () const override
 Returns the auto-repeater direction for VFO B.
void setAutoRepeaterDirectionB (AnytoneAutoRepeaterSettingsExtension::Direction dir) override
 Sets the auto-repeater direction for VFO B.
virtual bool fmSendIDAndContact () const
 If enabled, the FM ID is sent together with selected contact.
virtual void enableFMSendIDAndContact (bool enable)
 Enables/disables sending contact with FM ID.
bool defaultChannel () const override
 Returns true if the default boot channel is enabled.
void enableDefaultChannel (bool enable) override
 Enables/disables default boot channel.
unsigned defaultZoneIndexA () const override
 Returns the default zone index (0-based) for VFO A.
void setDefaultZoneIndexA (unsigned idx) override
 Sets the default zone (0-based) for VFO A.
unsigned defaultZoneIndexB () const override
 Returns the default zone index (0-based) for VFO B.
void setDefaultZoneIndexB (unsigned idx) override
 Sets the default zone (0-based) for VFO B.
bool defaultChannelAIsVFO () const override
 Returns true if the default channel for VFO A is VFO.
unsigned defaultChannelAIndex () const override
 Returns the default channel index for VFO A.
void setDefaultChannelAIndex (unsigned idx) override
 Sets the default channel index for VFO A.
void setDefaultChannelAToVFO () override
 Sets the default channel for VFO A to be VFO.
bool defaultChannelBIsVFO () const override
 Returns true if the default channel for VFO B is VFO.
unsigned defaultChannelBIndex () const override
 Returns the default channel index for VFO B.
void setDefaultChannelBIndex (unsigned idx) override
 Sets the default channel index for VFO B.
void setDefaultChannelBToVFO () override
 Sets the default channel for VFO B to be VFO.
virtual unsigned defaultRoamingZoneIndex () const
 Returns the default roaming zone index.
virtual void setDefaultRoamingZoneIndex (unsigned idx)
 Sets the default roaming zone index.
virtual bool repeaterRangeCheck () const
 Returns true if repeater range check is enabled.
virtual void enableRepeaterRangeCheck (bool enable)
 Enables/disables repeater range check.
virtual Interval repeaterRangeCheckInterval () const
 Returns the repeater range check period in seconds.
virtual void setRepeaterRangeCheckInterval (Interval sec)
 Sets the repeater range check interval in seconds.
virtual unsigned repeaterRangeCheckCount () const
 Returns the number of repeater range checks.
virtual void setRepeaterRangeCheckCount (unsigned n)
 Sets the number of repeater range checks.
virtual AnytoneRoamingSettingsExtension::RoamStart roamingStartCondition () const
 Returns the roaming start condition.
virtual void setRoamingStartCondition (AnytoneRoamingSettingsExtension::RoamStart cond)
 Sets the roaming start condition.
virtual bool separateDisplay () const
 Returns true if the "separate display" is enabled.
virtual void enableSeparateDisplay (bool enable)
 Enables/disables "separate display.
bool keepLastCaller () const override
 Returns true if the last caller is kept when changing channel.
void enableKeepLastCaller (bool enable) override
 Enables/disables keeping the last caller when changing the channel.
virtual AnytoneDisplaySettingsExtension::Color channelNameColor () const
 Returns the channel name color.
virtual void setChannelNameColor (AnytoneDisplaySettingsExtension::Color color)
 Sets the channel name color.
virtual bool repeaterCheckNotification () const
 Returns true if repeater check notification is enabled.
virtual void enableRepeaterCheckNotification (bool enable)
 Enables/disables repeater check notification.
virtual bool roaming () const
 Returns true if roaming is enabled.
virtual void enableRoaming (bool enable)
 Enables/disables repeater check notification.
AnytoneKeySettingsExtension::KeyFunction funcKey1Short () const override
 Returns the key function for a short press on the function key 1.
void setFuncKey1Short (AnytoneKeySettingsExtension::KeyFunction func) override
 Sets the key function for a short press on the function key 1.
AnytoneKeySettingsExtension::KeyFunction funcKey2Short () const override
 Returns the key function for a short press on the function key 2.
void setFuncKey2Short (AnytoneKeySettingsExtension::KeyFunction func) override
 Sets the key function for a short press on the function key 2.
virtual AnytoneKeySettingsExtension::KeyFunction funcKey3Short () const
 Returns the function for programmable function key 3 short press.
virtual void setFuncKey3Short (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the function for programmable function key 3 short press.
virtual AnytoneKeySettingsExtension::KeyFunction funcKey4Short () const
 Returns the function for programmable function key 4 short press.
virtual void setFuncKey4Short (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the function for programmable function key 4 short press.
virtual AnytoneKeySettingsExtension::KeyFunction funcKey5Short () const
 Returns the function for programmable function key 5 short press.
virtual void setFuncKey5Short (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the function for programmable function key 5 short press.
virtual AnytoneKeySettingsExtension::KeyFunction funcKey6Short () const
 Returns the function for programmable function key 6 short press.
virtual void setFuncKey6Short (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the function for programmable function key 6 short press.
AnytoneKeySettingsExtension::KeyFunction funcKeyAShort () const override
 Returns the key function for a short press on the function key 1/A.
void setFuncKeyAShort (AnytoneKeySettingsExtension::KeyFunction func) override
 Sets the key function for a short press on the function key 1/A.
AnytoneKeySettingsExtension::KeyFunction funcKeyBShort () const override
 Returns the key function for a short press on the function key 2/B.
void setFuncKeyBShort (AnytoneKeySettingsExtension::KeyFunction func) override
 Sets the key function for a short press on the function key 2/B.
AnytoneKeySettingsExtension::KeyFunction funcKeyCShort () const override
 Returns the key function for a short press on the function key 3/C.
void setFuncKeyCShort (AnytoneKeySettingsExtension::KeyFunction func) override
 Sets the key function for a short press on the function key 3/C.
virtual AnytoneKeySettingsExtension::KeyFunction funcKeyDShort () const
 Returns the function for programmable function key D short press.
virtual void setFuncKeyDShort (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the function for programmable function key D short press.
AnytoneKeySettingsExtension::KeyFunction funcKey1Long () const override
 Returns the key function for a long press on the function key 1.
void setFuncKey1Long (AnytoneKeySettingsExtension::KeyFunction func) override
 Sets the key function for a long press on the function key 1.
AnytoneKeySettingsExtension::KeyFunction funcKey2Long () const override
 Returns the key function for a long press on the function key 2.
void setFuncKey2Long (AnytoneKeySettingsExtension::KeyFunction func) override
 Sets the key function for a long press on the function key 2.
virtual AnytoneKeySettingsExtension::KeyFunction funcKey3Long () const
 Returns the function for programmable function key 3 long press.
virtual void setFuncKey3Long (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the function for programmable function key 3 long press.
virtual AnytoneKeySettingsExtension::KeyFunction funcKey4Long () const
 Returns the function for programmable function key 4 long press.
virtual void setFuncKey4Long (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the function for programmable function key 4 long press.
virtual AnytoneKeySettingsExtension::KeyFunction funcKey5Long () const
 Returns the function for programmable function key 5 long press.
virtual void setFuncKey5Long (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the function for programmable function key 5 long press.
virtual AnytoneKeySettingsExtension::KeyFunction funcKey6Long () const
 Returns the function for programmable function key 6 long press.
virtual void setFuncKey6Long (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the function for programmable function key 6 long press.
AnytoneKeySettingsExtension::KeyFunction funcKeyALong () const override
 Returns the key function for a long press on the function key 1.
void setFuncKeyALong (AnytoneKeySettingsExtension::KeyFunction func) override
 Sets the key function for a long press on the function key 1.
AnytoneKeySettingsExtension::KeyFunction funcKeyBLong () const override
 Returns the key function for a long press on the function key 2.
void setFuncKeyBLong (AnytoneKeySettingsExtension::KeyFunction func) override
 Sets the key function for a long press on the function key 2.
AnytoneKeySettingsExtension::KeyFunction funcKeyCLong () const override
 Returns the key function for a long press on the function key 3.
void setFuncKeyCLong (AnytoneKeySettingsExtension::KeyFunction func) override
 Sets the key function for a long press on the function key 3.
virtual AnytoneKeySettingsExtension::KeyFunction funcKeyDLong () const
 Returns the function for programmable function key D long press.
virtual void setFuncKeyDLong (AnytoneKeySettingsExtension::KeyFunction func)
 Sets the function for programmable function key D long press.
virtual unsigned repeaterCheckNumNotifications () const
 Returns the number of repeater check notifications.
virtual void setRepeaterCheckNumNotifications (unsigned num)
 Sets the number of repeater check notifications.
virtual Interval txBacklightDuration () const
 Returns the backlight duration during TX in seconds.
virtual void setTXBacklightDuration (Interval sec)
 Sets the backlight duration during TX in seconds.
virtual bool btHoldTimeEnabled () const
 Returns true, if the bluetooth hold time is enabled.
virtual bool btHoldTimeInfinite () const
 Returns true, if the bluetooth hold time is infinite.
virtual Interval btHoldTime () const
 Returns the bluetooth hold time.
virtual void setBTHoldTime (Interval interval)
 Sets the Bluetooth hold time (1-120s).
virtual void setBTHoldTimeInfinite ()
 Sets the Bluetooth hold time to infinite.
virtual void disableBTHoldTime ()
 Sets the Bluetooth hold time to infinite.
virtual Interval btRXDelay () const
 Returns the bluetooth RX delay in ms.
virtual void setBTRXDelay (Interval delay)
 Sets the bluetooth RX delay in ms.
bool fromConfig (const Flags &flags, Context &ctx) override
 Encodes the general settings.
bool updateConfig (Context &ctx) override
 Updates the abstract config from general settings.
bool linkSettings (RadioSettings *settings, Context &ctx, const ErrorStack &err) override
 Links the general settings.
Public Member Functions inherited from AnytoneCodeplug::GeneralSettingsElement
void clear ()
 Resets the general settings.
virtual bool displayFrequency () const
 Returns true if the radio displays frequencies instead of channels is enabled.
virtual void enableDisplayFrequency (bool enable)
 Enables/disables the frequency display.
virtual bool autoKeyLock () const
 Returns true if auto key-lock is enabled.
virtual void enableAutoKeyLock (bool enable)
 Enables/disables auto key-lock.
virtual Interval autoShutdownDelay () const
 Returns the auto-shutdown delay in minutes.
virtual void setAutoShutdownDelay (Interval min)
 Sets the auto-shutdown delay in minutes.
virtual AnytoneBootSettingsExtension::BootDisplay bootDisplay () const
 Returns the boot display mode.
virtual void setBootDisplay (AnytoneBootSettingsExtension::BootDisplay mode)
 Sets the boot display mode.
virtual bool bootPassword () const
 Returns true if boot password is enabled.
virtual void enableBootPassword (bool enable)
 Enables/disables boot password.
virtual unsigned squelchLevelA () const
 Squelch level of VFO A, (0=off).
virtual void setSquelchLevelA (unsigned level)
 Returns the squelch level for VFO A, (0=off).
virtual unsigned squelchLevelB () const
 Squelch level of VFO B, (0=off).
virtual void setSquelchLevelB (unsigned level)
 Returns the squelch level for VFO B, (0=off).
Public Member Functions inherited from Codeplug::Element
 Element (const Element &other)
 Copy constructor.
virtual ~Element ()
 Destructor.
Elementoperator= (const Element &other)
 Copy assignment.
virtual bool isValid () const
 Returns true if the pointer is not null.
bool fill (uint8_t value, unsigned offset=0, int size=-1)
 Fills the memsets the entire element to the given value.
bool getBit (const Offset::Bit &offset) const
 Reads a specific bit at the given byte-offset.
bool getBit (unsigned offset, unsigned bit) const
 Reads a specific bit at the given byte-offset.
void setBit (const Offset::Bit &offset, bool value=true)
 Sets a specific bit at the given byte-offset.
void setBit (unsigned offset, unsigned bit, bool value=true)
 Sets a specific bit at the given byte-offset.
void clearBit (unsigned offset, unsigned bit)
 Clears a specific bit at the given byte-offset.
void clearBit (const Offset::Bit &offset)
 Clears a specific bit.
uint8_t getUInt2 (const Offset::Bit &offset) const
 Reads a 2bit unsigned integer at the given bit-offset.
uint8_t getUInt2 (unsigned offset, unsigned bit) const
 Reads a 2bit unsigned integer at the given byte- and bit-offset.
void setUInt2 (const Offset::Bit &offset, uint8_t value)
 Stores a 2bit unsigned integer at the given bit-offset.
void setUInt2 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 2bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt3 (const Offset::Bit &offset) const
 Reads a 3bit unsigned integer at the given bit-offset.
uint8_t getUInt3 (unsigned offset, unsigned bit) const
 Reads a 3bit unsigned integer at the given byte- and bit-offset.
void setUInt3 (const Offset::Bit &offset, uint8_t value)
 Stores a 3bit unsigned integer at the given bit-offset.
void setUInt3 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 3bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt4 (const Offset::Bit &offset) const
 Reads a 4bit unsigned integer at the given bit-offset.
uint8_t getUInt4 (unsigned offset, unsigned bit) const
 Reads a 4bit unsigned integer at the given byte- and bit-offset.
void setUInt4 (const Offset::Bit &offset, uint8_t value)
 Stores a 4bit unsigned integer at the given bit-offset.
void setUInt4 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 4bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt5 (const Offset::Bit &offset) const
 Reads a 5bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt5 (unsigned offset, unsigned bit) const
 Reads a 5bit unsigned integer at the given byte- and bit-offset.
void setUInt5 (const Offset::Bit &offset, uint8_t value)
 Stores a 5bit unsigned integer at the given byte- and bit-offset.
void setUInt5 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 5bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt6 (const Offset::Bit &offset) const
 Reads a 6bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt6 (unsigned offset, unsigned bit) const
 Reads a 6bit unsigned integer at the given byte- and bit-offset.
void setUInt6 (const Offset::Bit &offset, uint8_t value)
 Stores a 6bit unsigned integer at the given byte- and bit-offset.
void setUInt6 (unsigned offset, unsigned bit, uint8_t value)
 Stores a 6bit unsigned integer at the given byte- and bit-offset.
uint8_t getUInt8 (unsigned offset) const
 Reads a 8bit unsigned integer at the given byte- and bit-offset.
void setUInt8 (unsigned offset, uint8_t value)
 Reads a 8bit unsigned integer at the given byte- and bit-offset.
int8_t getInt8 (unsigned offset) const
 Reads a 8bit signed integer at the given byte- and bit-offset.
void setInt8 (unsigned offset, int8_t value)
 Reads a 8bit signed integer at the given byte- and bit-offset.
uint16_t getUInt16_be (unsigned offset) const
 Reads a 16bit big-endian unsigned integer at the given byte-offset.
uint16_t getUInt16_le (unsigned offset) const
 Reads a 16bit little-endian unsigned integer at the given byte-offset.
void setUInt16_be (unsigned offset, uint16_t value)
 Stores a 16bit big-endian unsigned integer at the given byte-offset.
void setUInt16_le (unsigned offset, uint16_t value)
 Stores a 16bit little-endian unsigned integer at the given byte-offset.
uint32_t getUInt24_be (unsigned offset) const
 Reads a 24bit big-endian unsigned integer at the given byte-offset.
uint32_t getUInt24_le (unsigned offset) const
 Reads a 24bit little-endian unsigned integer at the given byte-offset.
void setUInt24_be (unsigned offset, uint32_t value)
 Stores a 24bit big-endian unsigned integer at the given byte-offset.
void setUInt24_le (unsigned offset, uint32_t value)
 Stores a 24bit little-endian unsigned integer at the given byte-offset.
uint32_t getUInt32_be (unsigned offset) const
 Reads a 32bit big-endian unsigned integer at the given byte-offset.
uint32_t getUInt32_le (unsigned offset) const
 Reads a 32bit little-endian unsigned integer at the given byte-offset.
void setUInt32_be (unsigned offset, uint32_t value)
 Stores a 32bit big-endian unsigned integer at the given byte-offset.
void setUInt32_le (unsigned offset, uint32_t value)
 Stores a 32bit little-endian unsigned integer at the given byte-offset.
uint64_t getUInt64_be (unsigned offset) const
 Reads a 64bit big-endian unsigned integer at the given byte-offset.
uint64_t getUInt64_le (unsigned offset) const
 Reads a 64bit little-endian unsigned integer at the given byte-offset.
void setUInt64_be (unsigned offset, uint64_t value)
 Stores a 64bit big-endian unsigned integer at the given byte-offset.
void setUInt64_le (unsigned offset, uint64_t value)
 Stores a 64bit little-endian unsigned integer at the given byte-offset.
uint8_t getBCD2 (unsigned offset) const
 Reads a 2-digit (1-byte/8bit) BDC value in big-endian at the given byte-offset.
void setBCD2 (unsigned offset, uint8_t value)
 Stores a 2-digit (1-byte/8bit) BDC value in big-endian at the given byte-offset.
uint16_t getBCD4_be (unsigned offset) const
 Reads a 4-digit (2-byte/16bit) BDC value in big-endian at the given byte-offset.
void setBCD4_be (unsigned offset, uint16_t value)
 Stores a 4-digit (2-byte/16bit) BDC value in big-endian at the given byte-offset.
uint16_t getBCD4_le (unsigned offset) const
 Reads a 4-digit (2-byte/16bit) BDC value in little-endian at the given byte-offset.
void setBCD4_le (unsigned offset, uint16_t value)
 Stores a 4-digit (1-byte/16bit) BDC value in little-endian at the given byte-offset.
uint32_t getBCD8_be (unsigned offset) const
 Reads a 8-digit (4-byte/32bit) BDC value in big-endian at the given byte-offset.
void setBCD8_be (unsigned offset, uint32_t value)
 Stores a 8-digit (4-byte/32bit) BDC value in big-endian at the given byte-offset.
uint32_t getBCD8_le (unsigned offset) const
 Reads a 8-digit (4-byte/32bit) BDC value in little-endian at the given byte-offset.
void setBCD8_le (unsigned offset, uint32_t value)
 Stores a 8-digit (4-byte/32bit) BDC value in little-endian at the given byte-offset.
QString readASCII (unsigned offset, unsigned maxlen, uint8_t eos=0x00) const
 Reads up to maxlen ASCII chars at the given byte-offset using eos as the string termination char.
void writeASCII (unsigned offset, const QString &txt, unsigned maxlen, uint8_t eos=0x00)
 Stores up to maxlen ASCII chars at the given byte-offset using eos as the string termination char.
QString readUnicode (unsigned offset, unsigned maxlen, uint16_t eos=0x0000) const
 Reads up to maxlen unicode chars at the given byte-offset using eos as the string termination char.
void writeUnicode (unsigned offset, const QString &txt, unsigned maxlen, uint16_t eos=0x0000)
 Stores up to maxlen unicode chars at the given byte-offset using eos as the string termination char.

Static Public Member Functions

static constexpr unsigned int size ()
 The size of the element.

Protected Types

enum class  TBSTFrequency { Hz1000 = 0 , Hz1450 = 1 , Hz1750 = 2 , Hz2100 = 3 }
 TBST (open repeater) frequencies.
enum class  STEFrequency { Off = 0 , Hz55_2 = 1 , Hz259_2 = 2 }
 All possible STE (squelch tail eliminate) frequencies.
enum class  VFOStepSize {
  Hz2500 = 0 , Hz5000 = 1 , Hz6250 = 2 , Hz8330 = 3 ,
  kHz10 = 4 , Hz12500 = 5 , kHz20 = 6 , kHz25 = 7 ,
  kHz30 = 8 , kHz50 =9
}
 Encoded VFO step sizes.

Protected Member Functions

 GeneralSettingsElement (uint8_t *ptr, unsigned size)
 Hidden constructor.
Protected Member Functions inherited from AnytoneCodeplug::GeneralSettingsElement
 GeneralSettingsElement (uint8_t *ptr, unsigned size)
 Hidden constructor.
Protected Member Functions inherited from Codeplug::Element
 Element (uint8_t *ptr, size_t size)
 Hidden constructor.

Additional Inherited Members

Public Types inherited from AnytoneCodeplug::GeneralSettingsElement
enum class  AutoShutdown {
  Off = 0 , After10min = 1 , After30min = 2 , After60min = 3 ,
  After120min = 4
}
 Possible automatic shutdown delays.
Protected Attributes inherited from Codeplug::Element
uint8_t * _data
 Holds the pointer to the element.
size_t _size
 Holds the size of the element.

Detailed Description

Represents the general config of the radio within the D578UV binary codeplug.

This covers the CPS version 1.21.

Member Function Documentation

◆ activeChannelB()

bool D578UVCodeplug::GeneralSettingsElement::activeChannelB ( ) const
overridevirtual

Returns true if the active channel is VFO B.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ autoRepeaterDirectionA()

AnytoneAutoRepeaterSettingsExtension::Direction D578UVCodeplug::GeneralSettingsElement::autoRepeaterDirectionA ( ) const
overridevirtual

Returns the auto repeater offset direction for VFO A.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ autoRepeaterDirectionB()

AnytoneAutoRepeaterSettingsExtension::Direction D578UVCodeplug::GeneralSettingsElement::autoRepeaterDirectionB ( ) const
overridevirtual

Returns the auto-repeater direction for VFO B.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ autoRepeaterMaxFrequencyUHF()

Frequency D578UVCodeplug::GeneralSettingsElement::autoRepeaterMaxFrequencyUHF ( ) const
overridevirtual

Returns the maximum frequency in Hz for the auto-repeater range in UHF band.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ autoRepeaterMaxFrequencyVHF()

Frequency D578UVCodeplug::GeneralSettingsElement::autoRepeaterMaxFrequencyVHF ( ) const
overridevirtual

Returns the maximum frequency in Hz for the auto-repeater range in VHF band.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ autoRepeaterMinFrequencyUHF()

Frequency D578UVCodeplug::GeneralSettingsElement::autoRepeaterMinFrequencyUHF ( ) const
overridevirtual

Returns the minimum frequency in Hz for the auto-repeater range in UHF band.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ autoRepeaterMinFrequencyVHF()

Frequency D578UVCodeplug::GeneralSettingsElement::autoRepeaterMinFrequencyVHF ( ) const
overridevirtual

Returns the minimum frequency in Hz for the auto-repeater range in VHF band.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ autoRepeaterOffsetFrequencyIndexUHF()

unsigned D578UVCodeplug::GeneralSettingsElement::autoRepeaterOffsetFrequencyIndexUHF ( ) const
overridevirtual

Returns the auto-repeater offset frequency index for UHF.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ autoRepeaterOffsetFrequencyIndexVHF()

unsigned D578UVCodeplug::GeneralSettingsElement::autoRepeaterOffsetFrequencyIndexVHF ( ) const
overridevirtual

Returns the auto-repeater offset frequency index for UHF.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ brightness()

unsigned D578UVCodeplug::GeneralSettingsElement::brightness ( ) const
overridevirtual

Returns the display brightness.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ callAlert()

bool D578UVCodeplug::GeneralSettingsElement::callAlert ( ) const
overridevirtual

Returns true if call alert is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ callDisplayColor()

AnytoneDisplaySettingsExtension::Color D578UVCodeplug::GeneralSettingsElement::callDisplayColor ( ) const
overridevirtual

Returns the display color for callsigns.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ callEndPrompt()

bool D578UVCodeplug::GeneralSettingsElement::callEndPrompt ( ) const
overridevirtual

Returns true if the call-end prompt is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ callToneMelody()

void D578UVCodeplug::GeneralSettingsElement::callToneMelody ( Melody & melody) const
overridevirtual

Returns the call-tone melody.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ clearAutoRepeaterOffsetFrequencyIndexUHF()

void D578UVCodeplug::GeneralSettingsElement::clearAutoRepeaterOffsetFrequencyIndexUHF ( )
overridevirtual

Clears the auto-repeater offset frequency index for UHF.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ clearAutoRepeaterOffsetFrequencyIndexVHF()

void D578UVCodeplug::GeneralSettingsElement::clearAutoRepeaterOffsetFrequencyIndexVHF ( )
overridevirtual

Clears the auto-repeater offset frequency index for VHF.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ defaultChannel()

bool D578UVCodeplug::GeneralSettingsElement::defaultChannel ( ) const
overridevirtual

Returns true if the default boot channel is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ defaultChannelAIndex()

unsigned D578UVCodeplug::GeneralSettingsElement::defaultChannelAIndex ( ) const
overridevirtual

Returns the default channel index for VFO A.

Must be within default zone. If 0xff, default channel is VFO.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ defaultChannelAIsVFO()

bool D578UVCodeplug::GeneralSettingsElement::defaultChannelAIsVFO ( ) const
overridevirtual

Returns true if the default channel for VFO A is VFO.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ defaultChannelBIndex()

unsigned D578UVCodeplug::GeneralSettingsElement::defaultChannelBIndex ( ) const
overridevirtual

Returns the default channel index for VFO B.

Must be within default zone. If 0xff, default channel is VFO.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ defaultChannelBIsVFO()

bool D578UVCodeplug::GeneralSettingsElement::defaultChannelBIsVFO ( ) const
overridevirtual

Returns true if the default channel for VFO B is VFO.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ defaultZoneIndexA()

unsigned D578UVCodeplug::GeneralSettingsElement::defaultZoneIndexA ( ) const
overridevirtual

Returns the default zone index (0-based) for VFO A.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ defaultZoneIndexB()

unsigned D578UVCodeplug::GeneralSettingsElement::defaultZoneIndexB ( ) const
overridevirtual

Returns the default zone index (0-based) for VFO B.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ displayCall()

bool D578UVCodeplug::GeneralSettingsElement::displayCall ( ) const
overridevirtual

Returns true if the call is displayed instead of the name.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ displayClock()

bool D578UVCodeplug::GeneralSettingsElement::displayClock ( ) const
overridevirtual

Returns true if the clock is shown.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ dmrMicGain()

unsigned D578UVCodeplug::GeneralSettingsElement::dmrMicGain ( ) const
overridevirtual

Returns the mirophone gain.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ dmrResetTone()

bool D578UVCodeplug::GeneralSettingsElement::dmrResetTone ( ) const
overridevirtual

Returns true if the reset tone is enabled for digital calls.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ dmrTalkPermit()

bool D578UVCodeplug::GeneralSettingsElement::dmrTalkPermit ( ) const
overridevirtual

Returns true if the talk permit tone is enabled for digital channels.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableActiveChannelB()

void D578UVCodeplug::GeneralSettingsElement::enableActiveChannelB ( bool enable)
overridevirtual

Enables/disables VFO B as the active channel.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableCallAlert()

void D578UVCodeplug::GeneralSettingsElement::enableCallAlert ( bool enable)
overridevirtual

Enables/disables call alert.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableCallEndPrompt()

void D578UVCodeplug::GeneralSettingsElement::enableCallEndPrompt ( bool enable)
overridevirtual

Enables/disables the call-end prompt.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableDefaultChannel()

void D578UVCodeplug::GeneralSettingsElement::enableDefaultChannel ( bool enable)
overridevirtual

Enables/disables default boot channel.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableDisplayCall()

void D578UVCodeplug::GeneralSettingsElement::enableDisplayCall ( bool enable)
overridevirtual

Enables/disables call display.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableDisplayClock()

void D578UVCodeplug::GeneralSettingsElement::enableDisplayClock ( bool enable)
overridevirtual

Enables/disables clock display.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableDMRResetTone()

void D578UVCodeplug::GeneralSettingsElement::enableDMRResetTone ( bool enable)
overridevirtual

Enables/disables the reset tone for digital calls.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableDMRTalkPermit()

void D578UVCodeplug::GeneralSettingsElement::enableDMRTalkPermit ( bool enable)
overridevirtual

Enables/disables the talk permit tone for digital channels.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableEnhancedAudio()

void D578UVCodeplug::GeneralSettingsElement::enableEnhancedAudio ( bool enable)
overridevirtual

Enables/disables "enhanced" audio.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableFMTalkPermit()

void D578UVCodeplug::GeneralSettingsElement::enableFMTalkPermit ( bool enable)
overridevirtual

Enables/disables the talk permit tone for analog channels.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableGetGPSPosition()

void D578UVCodeplug::GeneralSettingsElement::enableGetGPSPosition ( bool enable)
overridevirtual

Enables/disables get GPS position.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableGPS()

void D578UVCodeplug::GeneralSettingsElement::enableGPS ( bool enable)
overridevirtual

Enables/disables recording.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableGPSUnitsImperial()

void D578UVCodeplug::GeneralSettingsElement::enableGPSUnitsImperial ( bool enable)
overridevirtual

Enables/disables imperial GPS units.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableIdleChannelTone()

void D578UVCodeplug::GeneralSettingsElement::enableIdleChannelTone ( bool enable)
overridevirtual

Enables/disables the idle channel tone.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableKeepLastCaller()

void D578UVCodeplug::GeneralSettingsElement::enableKeepLastCaller ( bool enable)
overridevirtual

Enables/disables keeping the last caller when changing the channel.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableKeyLockForced()

void D578UVCodeplug::GeneralSettingsElement::enableKeyLockForced ( bool enable)
overridevirtual

Enables/disables the "professional" key lock.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableKeypadLock()

void D578UVCodeplug::GeneralSettingsElement::enableKeypadLock ( bool enable)
overridevirtual

Enables/disables the keypad lock.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableKeyTone()

void D578UVCodeplug::GeneralSettingsElement::enableKeyTone ( bool enable)
overridevirtual

Enables/disables the key-tone.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableKnobLock()

void D578UVCodeplug::GeneralSettingsElement::enableKnobLock ( bool enable)
overridevirtual

Enables/disables the knob lock.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableRecording()

void D578UVCodeplug::GeneralSettingsElement::enableRecording ( bool enable)
overridevirtual

Enables/disables recording.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableShowCurrentContact()

void D578UVCodeplug::GeneralSettingsElement::enableShowCurrentContact ( bool enable)
overridevirtual

Enables/disables display of current contact.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableShowLastHeard()

void D578UVCodeplug::GeneralSettingsElement::enableShowLastHeard ( bool enable)
overridevirtual

Enables/disables showing last heard.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableSidekeysLock()

void D578UVCodeplug::GeneralSettingsElement::enableSidekeysLock ( bool enable)
overridevirtual

Enables/disables the sidekeys lock.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableSMSAlert()

void D578UVCodeplug::GeneralSettingsElement::enableSMSAlert ( bool enable)
overridevirtual

Enables/disables SMS alert.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableStartupTone()

void D578UVCodeplug::GeneralSettingsElement::enableStartupTone ( bool enable)
overridevirtual

Enables/disables the startup tone.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableSubChannel()

void D578UVCodeplug::GeneralSettingsElement::enableSubChannel ( bool enable)
overridevirtual

Enables/disables sub channel.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableVFOModeA()

void D578UVCodeplug::GeneralSettingsElement::enableVFOModeA ( bool enable)
overridevirtual

Enables/disables VFO mode for VFO A.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableVFOModeB()

void D578UVCodeplug::GeneralSettingsElement::enableVFOModeB ( bool enable)
overridevirtual

Enables/disables VFO mode for VFO B.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enableVolumeChangePrompt()

void D578UVCodeplug::GeneralSettingsElement::enableVolumeChangePrompt ( bool enable)
overridevirtual

Enables/disables the volume change prompt.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ enhanceAudio()

bool D578UVCodeplug::GeneralSettingsElement::enhanceAudio ( ) const
overridevirtual

Returns true if the audio is "enhanced".

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ fmTalkPermit()

bool D578UVCodeplug::GeneralSettingsElement::fmTalkPermit ( ) const
overridevirtual

Returns true if the talk permit tone is enabled for digital channels.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ fromConfig()

bool D578UVCodeplug::GeneralSettingsElement::fromConfig ( const Flags & flags,
Context & ctx )
overridevirtual

Encodes the general settings.

Reimplemented from AnytoneCodeplug::GeneralSettingsElement.

◆ funcKey1Long()

AnytoneKeySettingsExtension::KeyFunction D578UVCodeplug::GeneralSettingsElement::funcKey1Long ( ) const
overridevirtual

Returns the key function for a long press on the function key 1.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ funcKey1Short()

AnytoneKeySettingsExtension::KeyFunction D578UVCodeplug::GeneralSettingsElement::funcKey1Short ( ) const
overridevirtual

Returns the key function for a short press on the function key 1.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ funcKey2Long()

AnytoneKeySettingsExtension::KeyFunction D578UVCodeplug::GeneralSettingsElement::funcKey2Long ( ) const
overridevirtual

Returns the key function for a long press on the function key 2.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ funcKey2Short()

AnytoneKeySettingsExtension::KeyFunction D578UVCodeplug::GeneralSettingsElement::funcKey2Short ( ) const
overridevirtual

Returns the key function for a short press on the function key 2.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ funcKeyALong()

AnytoneKeySettingsExtension::KeyFunction D578UVCodeplug::GeneralSettingsElement::funcKeyALong ( ) const
overridevirtual

Returns the key function for a long press on the function key 1.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ funcKeyAShort()

AnytoneKeySettingsExtension::KeyFunction D578UVCodeplug::GeneralSettingsElement::funcKeyAShort ( ) const
overridevirtual

Returns the key function for a short press on the function key 1/A.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ funcKeyBLong()

AnytoneKeySettingsExtension::KeyFunction D578UVCodeplug::GeneralSettingsElement::funcKeyBLong ( ) const
overridevirtual

Returns the key function for a long press on the function key 2.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ funcKeyBShort()

AnytoneKeySettingsExtension::KeyFunction D578UVCodeplug::GeneralSettingsElement::funcKeyBShort ( ) const
overridevirtual

Returns the key function for a short press on the function key 2/B.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ funcKeyCLong()

AnytoneKeySettingsExtension::KeyFunction D578UVCodeplug::GeneralSettingsElement::funcKeyCLong ( ) const
overridevirtual

Returns the key function for a long press on the function key 3.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ funcKeyCShort()

AnytoneKeySettingsExtension::KeyFunction D578UVCodeplug::GeneralSettingsElement::funcKeyCShort ( ) const
overridevirtual

Returns the key function for a short press on the function key 3/C.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ getGPSPosition()

bool D578UVCodeplug::GeneralSettingsElement::getGPSPosition ( ) const
overridevirtual

Returns true if get GPS position is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ gps()

bool D578UVCodeplug::GeneralSettingsElement::gps ( ) const
overridevirtual

Returns true if GPS is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ gpsTimeZone()

QTimeZone D578UVCodeplug::GeneralSettingsElement::gpsTimeZone ( ) const
overridevirtual

Returns the GPS time zone.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ gpsUnitsImperial()

bool D578UVCodeplug::GeneralSettingsElement::gpsUnitsImperial ( ) const
overridevirtual

Returns true if the GPS units are imperial.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ hasAutoRepeaterOffsetFrequencyIndexUHF()

bool D578UVCodeplug::GeneralSettingsElement::hasAutoRepeaterOffsetFrequencyIndexUHF ( ) const
overridevirtual

Returns true if the auto-repeater offset frequency for UHF is set.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ hasAutoRepeaterOffsetFrequencyIndexVHF()

bool D578UVCodeplug::GeneralSettingsElement::hasAutoRepeaterOffsetFrequencyIndexVHF ( ) const
overridevirtual

Returns true if the auto-repeater offset frequency for VHF is set.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ idleChannelTone()

bool D578UVCodeplug::GeneralSettingsElement::idleChannelTone ( ) const
overridevirtual

Returns true if the idle channel tone is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ idleToneMelody()

void D578UVCodeplug::GeneralSettingsElement::idleToneMelody ( Melody & melody) const
overridevirtual

Returns the idle-tone melody.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ keepLastCaller()

bool D578UVCodeplug::GeneralSettingsElement::keepLastCaller ( ) const
overridevirtual

Returns true if the last caller is kept when changing channel.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ keyLockForced()

bool D578UVCodeplug::GeneralSettingsElement::keyLockForced ( ) const
overridevirtual

Returns true if the "professional" key is locked.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ keypadLock()

bool D578UVCodeplug::GeneralSettingsElement::keypadLock ( ) const
overridevirtual

Returns true if the keypad is locked.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ keyToneEnabled()

bool D578UVCodeplug::GeneralSettingsElement::keyToneEnabled ( ) const
overridevirtual

Returns true, if the key tone is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ knobLock()

bool D578UVCodeplug::GeneralSettingsElement::knobLock ( ) const
overridevirtual

Returns true if the knob is locked.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ lastCallerDisplayMode()

AnytoneDisplaySettingsExtension::LastCallerDisplayMode D578UVCodeplug::GeneralSettingsElement::lastCallerDisplayMode ( ) const
overridevirtual

Returns the last-caller display mode.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ linkSettings()

bool D578UVCodeplug::GeneralSettingsElement::linkSettings ( RadioSettings * settings,
Context & ctx,
const ErrorStack & err )
overridevirtual

Links the general settings.

Reimplemented from AnytoneCodeplug::GeneralSettingsElement.

◆ longPressDuration()

Interval D578UVCodeplug::GeneralSettingsElement::longPressDuration ( ) const
overridevirtual

Returns the long-press duration in ms.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ maxSpeakerVolume()

unsigned D578UVCodeplug::GeneralSettingsElement::maxSpeakerVolume ( ) const
overridevirtual

Returns the maximum volume.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ maxVFOScanFrequencyUHF()

Frequency D578UVCodeplug::GeneralSettingsElement::maxVFOScanFrequencyUHF ( ) const
overridevirtual

Returns the maximum VFO scan frequency for the UHF band in Hz.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ maxVFOScanFrequencyVHF()

Frequency D578UVCodeplug::GeneralSettingsElement::maxVFOScanFrequencyVHF ( ) const
overridevirtual

Returns the maximum VFO scan frequency for the VHF band in Hz.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ memoryZoneA()

unsigned D578UVCodeplug::GeneralSettingsElement::memoryZoneA ( ) const
overridevirtual

Returns the memory zone for VFO A.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ memoryZoneB()

unsigned D578UVCodeplug::GeneralSettingsElement::memoryZoneB ( ) const
overridevirtual

Returns the memory zone for VFO B.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ menuExitTime()

Interval D578UVCodeplug::GeneralSettingsElement::menuExitTime ( ) const
overridevirtual

Returns the menu exit time in seconds.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ minVFOScanFrequencyUHF()

Frequency D578UVCodeplug::GeneralSettingsElement::minVFOScanFrequencyUHF ( ) const
overridevirtual

Returns the minimum VFO scan frequency for the UHF band in Hz.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ minVFOScanFrequencyVHF()

Frequency D578UVCodeplug::GeneralSettingsElement::minVFOScanFrequencyVHF ( ) const
overridevirtual

Returns the minimum VFO scan frequency for the VHF band in Hz.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ recording()

bool D578UVCodeplug::GeneralSettingsElement::recording ( ) const
overridevirtual

Returns true if recording is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ resetToneMelody()

void D578UVCodeplug::GeneralSettingsElement::resetToneMelody ( Melody & melody) const
overridevirtual

Returns the reset-tone melody.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setAutoRepeaterDirectionA()

void D578UVCodeplug::GeneralSettingsElement::setAutoRepeaterDirectionA ( AnytoneAutoRepeaterSettingsExtension::Direction dir)
overridevirtual

Sets the auto-repeater offset direction for VFO A.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setAutoRepeaterDirectionB()

void D578UVCodeplug::GeneralSettingsElement::setAutoRepeaterDirectionB ( AnytoneAutoRepeaterSettingsExtension::Direction dir)
overridevirtual

Sets the auto-repeater direction for VFO B.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setAutoRepeaterMaxFrequencyUHF()

void D578UVCodeplug::GeneralSettingsElement::setAutoRepeaterMaxFrequencyUHF ( Frequency Hz)
overridevirtual

Sets the maximum frequency in Hz for the auto-repeater range in UHF band.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setAutoRepeaterMaxFrequencyVHF()

void D578UVCodeplug::GeneralSettingsElement::setAutoRepeaterMaxFrequencyVHF ( Frequency Hz)
overridevirtual

Sets the maximum frequency in Hz for the auto-repeater range in VHF band.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setAutoRepeaterMinFrequencyUHF()

void D578UVCodeplug::GeneralSettingsElement::setAutoRepeaterMinFrequencyUHF ( Frequency Hz)
overridevirtual

Sets the minimum frequency in Hz for the auto-repeater range in UHF band.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setAutoRepeaterMinFrequencyVHF()

void D578UVCodeplug::GeneralSettingsElement::setAutoRepeaterMinFrequencyVHF ( Frequency Hz)
overridevirtual

Sets the minimum frequency in Hz for the auto-repeater range in VHF band.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setAutoRepeaterOffsetFrequenyIndexUHF()

void D578UVCodeplug::GeneralSettingsElement::setAutoRepeaterOffsetFrequenyIndexUHF ( unsigned idx)
overridevirtual

Sets the auto-repeater offset frequency index for UHF.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setAutoRepeaterOffsetFrequenyIndexVHF()

void D578UVCodeplug::GeneralSettingsElement::setAutoRepeaterOffsetFrequenyIndexVHF ( unsigned idx)
overridevirtual

Sets the auto-repeater offset frequency index for VHF.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setBrightness()

void D578UVCodeplug::GeneralSettingsElement::setBrightness ( unsigned level)
overridevirtual

Sets the display brightness.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setCallDisplayColor()

void D578UVCodeplug::GeneralSettingsElement::setCallDisplayColor ( AnytoneDisplaySettingsExtension::Color color)
overridevirtual

Sets the display color for callsigns.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setCallToneMelody()

void D578UVCodeplug::GeneralSettingsElement::setCallToneMelody ( const Melody & melody)
overridevirtual

Sets the call-tone melody.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setDefaultChannelAIndex()

void D578UVCodeplug::GeneralSettingsElement::setDefaultChannelAIndex ( unsigned idx)
overridevirtual

Sets the default channel index for VFO A.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setDefaultChannelAToVFO()

void D578UVCodeplug::GeneralSettingsElement::setDefaultChannelAToVFO ( )
overridevirtual

Sets the default channel for VFO A to be VFO.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setDefaultChannelBIndex()

void D578UVCodeplug::GeneralSettingsElement::setDefaultChannelBIndex ( unsigned idx)
overridevirtual

Sets the default channel index for VFO B.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setDefaultChannelBToVFO()

void D578UVCodeplug::GeneralSettingsElement::setDefaultChannelBToVFO ( )
overridevirtual

Sets the default channel for VFO B to be VFO.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setDefaultZoneIndexA()

void D578UVCodeplug::GeneralSettingsElement::setDefaultZoneIndexA ( unsigned idx)
overridevirtual

Sets the default zone (0-based) for VFO A.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setDefaultZoneIndexB()

void D578UVCodeplug::GeneralSettingsElement::setDefaultZoneIndexB ( unsigned idx)
overridevirtual

Sets the default zone (0-based) for VFO B.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setDMRMicGain()

void D578UVCodeplug::GeneralSettingsElement::setDMRMicGain ( unsigned int gain)
overridevirtual

Sets the microphone gain.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setFuncKey1Long()

void D578UVCodeplug::GeneralSettingsElement::setFuncKey1Long ( AnytoneKeySettingsExtension::KeyFunction func)
overridevirtual

Sets the key function for a long press on the function key 1.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setFuncKey1Short()

void D578UVCodeplug::GeneralSettingsElement::setFuncKey1Short ( AnytoneKeySettingsExtension::KeyFunction func)
overridevirtual

Sets the key function for a short press on the function key 1.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setFuncKey2Long()

void D578UVCodeplug::GeneralSettingsElement::setFuncKey2Long ( AnytoneKeySettingsExtension::KeyFunction func)
overridevirtual

Sets the key function for a long press on the function key 2.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setFuncKey2Short()

void D578UVCodeplug::GeneralSettingsElement::setFuncKey2Short ( AnytoneKeySettingsExtension::KeyFunction func)
overridevirtual

Sets the key function for a short press on the function key 2.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setFuncKeyALong()

void D578UVCodeplug::GeneralSettingsElement::setFuncKeyALong ( AnytoneKeySettingsExtension::KeyFunction func)
overridevirtual

Sets the key function for a long press on the function key 1.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setFuncKeyAShort()

void D578UVCodeplug::GeneralSettingsElement::setFuncKeyAShort ( AnytoneKeySettingsExtension::KeyFunction func)
overridevirtual

Sets the key function for a short press on the function key 1/A.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setFuncKeyBLong()

void D578UVCodeplug::GeneralSettingsElement::setFuncKeyBLong ( AnytoneKeySettingsExtension::KeyFunction func)
overridevirtual

Sets the key function for a long press on the function key 2.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setFuncKeyBShort()

void D578UVCodeplug::GeneralSettingsElement::setFuncKeyBShort ( AnytoneKeySettingsExtension::KeyFunction func)
overridevirtual

Sets the key function for a short press on the function key 2/B.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setFuncKeyCLong()

void D578UVCodeplug::GeneralSettingsElement::setFuncKeyCLong ( AnytoneKeySettingsExtension::KeyFunction func)
overridevirtual

Sets the key function for a long press on the function key 3.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setFuncKeyCShort()

void D578UVCodeplug::GeneralSettingsElement::setFuncKeyCShort ( AnytoneKeySettingsExtension::KeyFunction func)
overridevirtual

Sets the key function for a short press on the function key 3/C.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setGPSTimeZone()

void D578UVCodeplug::GeneralSettingsElement::setGPSTimeZone ( const QTimeZone & zone)
overridevirtual

Sets the GPS time zone.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setIdleToneMelody()

void D578UVCodeplug::GeneralSettingsElement::setIdleToneMelody ( const Melody & melody)
overridevirtual

Sets the idle-tone melody.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setLastCallerDisplayMode()

void D578UVCodeplug::GeneralSettingsElement::setLastCallerDisplayMode ( AnytoneDisplaySettingsExtension::LastCallerDisplayMode mode)
overridevirtual

Sets the last-caller display mode.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setLongPressDuration()

void D578UVCodeplug::GeneralSettingsElement::setLongPressDuration ( Interval ms)
overridevirtual

Sets the long-press duration in ms.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setMaxSpeakerVolume()

void D578UVCodeplug::GeneralSettingsElement::setMaxSpeakerVolume ( unsigned level)
overridevirtual

Sets the maximum volume.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setMaxVFOScanFrequencyUHF()

void D578UVCodeplug::GeneralSettingsElement::setMaxVFOScanFrequencyUHF ( Frequency hz)
overridevirtual

Sets the maximum VFO scan frequency for the UHF band in Hz.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setMaxVFOScanFrequencyVHF()

void D578UVCodeplug::GeneralSettingsElement::setMaxVFOScanFrequencyVHF ( Frequency hz)
overridevirtual

Sets the maximum VFO scan frequency for the VHF band in Hz.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setMemoryZoneA()

void D578UVCodeplug::GeneralSettingsElement::setMemoryZoneA ( unsigned zone)
overridevirtual

Sets the memory zone for VFO A.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setMemoryZoneB()

void D578UVCodeplug::GeneralSettingsElement::setMemoryZoneB ( unsigned zone)
overridevirtual

Sets the memory zone for VFO B.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setMenuExitTime()

void D578UVCodeplug::GeneralSettingsElement::setMenuExitTime ( Interval intv)
overridevirtual

Sets the menu exit time in seconds.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setMinVFOScanFrequencyUHF()

void D578UVCodeplug::GeneralSettingsElement::setMinVFOScanFrequencyUHF ( Frequency hz)
overridevirtual

Sets the minimum VFO scan frequency for the UHF band in Hz.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setMinVFOScanFrequencyVHF()

void D578UVCodeplug::GeneralSettingsElement::setMinVFOScanFrequencyVHF ( Frequency hz)
overridevirtual

Sets the minimum VFO scan frequency for the VHF band in Hz.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setResetToneMelody()

void D578UVCodeplug::GeneralSettingsElement::setResetToneMelody ( const Melody & melody)
overridevirtual

Sets the reset-tone melody.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ setSTEFrequency()

void D578UVCodeplug::GeneralSettingsElement::setSTEFrequency ( double freq)
virtual

Sets the STE (squelch tail eliminate) frequency setting.

A value of 0 disables the STE. Possible values are 55.2 and 259.2 Hz.

◆ setVFOScanType()

void D578UVCodeplug::GeneralSettingsElement::setVFOScanType ( AnytoneSettingsExtension::VFOScanType type)
overridevirtual

Sets the VFO scan type.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ showCurrentContact()

bool D578UVCodeplug::GeneralSettingsElement::showCurrentContact ( ) const
overridevirtual

Returns true if the current contact is shown.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ showLastHeard()

bool D578UVCodeplug::GeneralSettingsElement::showLastHeard ( ) const
overridevirtual

Returns true if the last heard is shown while pressing PTT.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ sidekeysLock()

bool D578UVCodeplug::GeneralSettingsElement::sidekeysLock ( ) const
overridevirtual

Returns true if the sidekeys are locked.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ smsAlert()

bool D578UVCodeplug::GeneralSettingsElement::smsAlert ( ) const
overridevirtual

Returns true if SMS alert is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ startupTone()

bool D578UVCodeplug::GeneralSettingsElement::startupTone ( ) const
overridevirtual

Returns true if the startup tone is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ steFrequency()

double D578UVCodeplug::GeneralSettingsElement::steFrequency ( ) const
virtual

Returns the STE (squelch tail eliminate) frequency setting in Hz.

A value of 0 disables the STE. Possible values are 55.2 and 259.2 Hz.

◆ subChannel()

bool D578UVCodeplug::GeneralSettingsElement::subChannel ( ) const
overridevirtual

Returns true if sub channel is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ updateConfig()

bool D578UVCodeplug::GeneralSettingsElement::updateConfig ( Context & ctx)
overridevirtual

Updates the abstract config from general settings.

Reimplemented from AnytoneCodeplug::GeneralSettingsElement.

◆ vfoModeA()

bool D578UVCodeplug::GeneralSettingsElement::vfoModeA ( ) const
overridevirtual

Returns true if the VFO A is in VFO mode.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ vfoModeB()

bool D578UVCodeplug::GeneralSettingsElement::vfoModeB ( ) const
overridevirtual

Returns true if the VFO B is in VFO mode.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ vfoScanType()

AnytoneSettingsExtension::VFOScanType D578UVCodeplug::GeneralSettingsElement::vfoScanType ( ) const
overridevirtual

Returns the VFO scan type.

Implements AnytoneCodeplug::GeneralSettingsElement.

◆ volumeChangePrompt()

bool D578UVCodeplug::GeneralSettingsElement::volumeChangePrompt ( ) const
overridevirtual

Returns true if the volume change prompt is enabled.

Implements AnytoneCodeplug::GeneralSettingsElement.


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/qdmr-0.13.3-build/qdmr-0.13.3/lib/d578uv_codeplug.hh
  • /builddir/build/BUILD/qdmr-0.13.3-build/qdmr-0.13.3/lib/d578uv_codeplug.cc