1#ifndef ANYTONE_SETTINGSEXTENSION_H
2#define ANYTONE_SETTINGSEXTENSION_H
6#include "configobject.hh"
7#include "configreference.hh"
10#include "frequency.hh"
30 Q_CLASSINFO("defaultChannelDescription", "If enabled, the default channels are selected at boot.")
33 Q_CLASSINFO("zoneADescription", "The default zone for VFO A.")
36 Q_CLASSINFO("channelADescription", "The default channel for VFO A. Must be within zone A.")
39 Q_CLASSINFO("zoneBDescription", "The default zone for VFO B.")
42 Q_CLASSINFO("channelBDescription", "The default channel for VFO B. Must be within zone B.")
58 Default = 0, CustomText = 1, CustomImage = 2
132 Q_CLASSINFO(
"autoShutDownDelayDescription",
"The auto shut-down delay in minutes.")
139 Q_CLASSINFO("powerSaveDescription", "Specifies the power save mode. "
140 "D686UV,
D878UV(2) and DMR-6X2UV only.")
149 enum class PowerSave {
150 Off = 0, Save50 = 1, Save66 = 2
249 Q_CLASSINFO("knobLockDescription", "If enabled, the knob gets locked too.")
253 Q_CLASSINFO("keypadLockDescription", "If enabled, the key-pad gets locked.")
257 Q_CLASSINFO("sideKeysLockDescription", "If enabled, the side-keys get locked.")
261 Q_CLASSINFO("forcedKeyLockDescription", "If enabled, the key-lock
is forced.")
268 Off, Voltage, Power, Repeater, Reverse, Encryption, Call, VOX, ToggleVFO, SubPTT,
269 Scan, WFM, Alarm, RecordSwitch, Record, SMS, Dial, GPSInformation, Monitor, ToggleMainChannel,
270 HotKey1, HotKey2, HotKey3, HotKey4, HotKey5, HotKey6, WorkAlone, SkipChannel, DMRMonitor,
271 SubChannel, PriorityZone, VFOScan, MICSoundQuality, LastCallReply, ChannelType, Ranging,
272 Roaming, ChannelRanging, MaxVolume, Slot, APRSTypeSwitch,
Zone, ZoneUp, ZoneDown, Exit, Menu,
273 RoamingSet, APRSSet, Mute, MuteA, MuteB, CtcssDcsSet, TBSTSend, Bluetooth, GPS, ChannelName,
274 CDTScan, APRSSend, APRSInfo, Speaker, XBandRepeater, SimplexRepeater, GPSRoaming, Squelch,
275 NoiseReductionTX, DIMShut, SatPredict
462 Q_CLASSINFO(
"description",
"Tone settings for AnyTone devices.")
464 Q_CLASSINFO(
"keyToneDescription",
"If true, enables the key tones.")
468 Q_CLASSINFO("keyToneLevelDescription", "Specifies the key-tone level, 0=user adjustable.")
472 Q_CLASSINFO("smsAlertDescription", "Enables/disables the SMS alert tone.")
476 Q_CLASSINFO("callAlertDescription", "Enables/disables the call alert tone.")
480 Q_CLASSINFO("dmrTalkPermitDescription", "Enables/disables the talk-permit tone for DMR channels.")
484 Q_CLASSINFO("dmrResetDescription", "Enables/disables the reset tone for DMR channels.")
488 Q_CLASSINFO("fmTalkPermitDescription", "Enables/disables the talk-permit tone for FM channels.")
617 Q_PROPERTY(
bool displayFrequency READ displayFrequencyEnabled WRITE enableDisplayFrequency)
619 Q_PROPERTY(
unsigned int brightness READ brightness WRITE setBrightness)
621 Q_CLASSINFO("backlightDuration", "The duration in seconds, the backlight keeps lit after any action. ")
623 Q_PROPERTY(
Interval backlightDuration READ backlightDuration WRITE setBacklightDuration)
625 Q_CLASSINFO("backlightDurationTX", "The duration in seconds, the backlight
is lit during TX. "
626 "A value of 0 means off.")
628 Q_PROPERTY(
Interval backlightDurationTX READ backlightDurationTX WRITE setBacklightDurationTX)
630 Q_CLASSINFO("backlightDurationRX", "The duration in seconds, the backlight
is lit during RX.")
632 Q_PROPERTY(
Interval backlightDurationRX READ backlightDurationRX WRITE setBacklightDurationRX)
635 Q_PROPERTY(
bool customChannelBackground READ customChannelBackground WRITE enableCustomChannelBackground)
638 Q_PROPERTY(
bool volumeChangePrompt READ volumeChangePromptEnabled WRITE enableVolumeChangePrompt)
640 Q_PROPERTY(
bool callEndPrompt READ callEndPromptEnabled WRITE enableCallEndPrompt)
643 Q_PROPERTY(
bool showClock READ showClockEnabled WRITE enableShowClock)
645 Q_PROPERTY(
bool showCall READ showCallEnabled WRITE enableShowCall)
647 Q_PROPERTY(
bool showContact READ showContact WRITE enableShowContact)
649 Q_PROPERTY(
bool showChannelNumber READ showChannelNumberEnabled WRITE enableShowChannelNumber)
651 Q_PROPERTY(
bool showGLobalChannelNumber READ showGlobalChannelNumber WRITE enableShowGlobalChannelNumber)
653 Q_PROPERTY(
bool showColorCode READ showColorCode WRITE enableShowColorCode)
655 Q_PROPERTY(
bool showTimeSlot READ showTimeSlot WRITE enableShowTimeSlot)
657 Q_PROPERTY(
bool showChannelType READ showChannelType WRITE enableShowChannelType)
659 Q_PROPERTY(
bool showLastHeard READ showLastHeardEnabled WRITE enableShowLastHeard)
661 Q_PROPERTY(LastCallerDisplayMode lastCallerDisplay READ lastCallerDisplay WRITE setLastCallerDisplay)
664 Q_PROPERTY(Color callColor READ callColor WRITE setCallColor)
666 Q_PROPERTY(Color standbyTextColor READ standbyTextColor WRITE setStandbyTextColor)
668 Q_PROPERTY(Color standbyBackgroundColor READ standbyBackgroundColor WRITE setStandbyBackgroundColor)
670 Q_CLASSINFO("channelNameColorDescription", "Specifies the color of the channel name.")
672 Q_PROPERTY(Color channelNameColor READ channelNameColor WRITE setChannelNameColor)
673 Q_CLASSINFO("channelBNameColorDescription", "Specifies the color of the channel name for VFO B.")
675 Q_PROPERTY(Color channelBNameColor READ channelBNameColor WRITE setChannelBNameColor)
677 Q_CLASSINFO("zoneNameColorDescription", "Specifies the color of the zone name.")
679 Q_PROPERTY(Color zoneNameColor READ zoneNameColor WRITE setZoneNameColor)
680 Q_CLASSINFO("zoneBNameColorDescription", "Specifies the color of the zone name for VFO B.")
682 Q_PROPERTY(Color zoneBNameColor READ zoneBNameColor WRITE setZoneBNameColor)
685 Q_PROPERTY(Language language READ language WRITE setLanguage)
687 Q_PROPERTY(DateFormat dateFormat READ dateFormat WRITE setDateFormat)
691 enum class LastCallerDisplayMode {
692 Off = 0, ID = 1, Call = 2, Both = 3
694 Q_ENUM(LastCallerDisplayMode)
698 White = 0, Black = 1, Orange=2, Red=3, Yellow=4, Green=5, Turquoise=6, Blue=7
703 enum class Language {
710 enum class DateFormat {
723 bool displayFrequencyEnabled()
const;
725 void enableDisplayFrequency(
bool enable);
728 unsigned int brightness()
const;
730 void setBrightness(
unsigned int level);
733 bool volumeChangePromptEnabled()
const;
735 void enableVolumeChangePrompt(
bool enable);
738 bool callEndPromptEnabled()
const;
740 void enableCallEndPrompt(
bool enable);
743 LastCallerDisplayMode lastCallerDisplay()
const;
745 void setLastCallerDisplay(LastCallerDisplayMode mode);
748 bool showClockEnabled()
const;
750 void enableShowClock(
bool enable);
753 bool showCallEnabled()
const;
755 void enableShowCall(
bool enable);
758 Color callColor()
const;
760 void setCallColor(Color color);
763 Language language()
const;
765 void setLanguage(Language lang);
767 DateFormat dateFormat()
const;
769 void setDateFormat(DateFormat format);
772 bool showChannelNumberEnabled()
const;
774 void enableShowChannelNumber(
bool enable);
777 bool showGlobalChannelNumber()
const;
779 void enableShowGlobalChannelNumber(
bool enable);
781 bool showColorCode()
const;
783 void enableShowColorCode(
bool enable);
785 bool showTimeSlot()
const;
787 void enableShowTimeSlot(
bool enable);
789 bool showChannelType()
const;
791 void enableShowChannelType(
bool enable);
794 bool showContact()
const;
796 void enableShowContact(
bool enable);
799 Color standbyTextColor()
const;
801 void setStandbyTextColor(Color color);
803 Color standbyBackgroundColor()
const;
805 void setStandbyBackgroundColor(Color color);
808 bool showLastHeardEnabled()
const;
810 void enableShowLastHeard(
bool enable);
815 void setBacklightDuration(
Interval sec);
818 Interval backlightDurationTX()
const;
820 void setBacklightDurationTX(
Interval sec);
823 Color channelNameColor()
const;
825 void setChannelNameColor(Color color);
827 Color channelBNameColor()
const;
829 void setChannelBNameColor(Color color);
832 Color zoneNameColor()
const;
834 void setZoneNameColor(Color color);
836 Color zoneBNameColor()
const;
838 void setZoneBNameColor(Color color);
841 Interval backlightDurationRX()
const;
843 void setBacklightDurationRX(
Interval sec);
845 bool customChannelBackground()
const;
847 void enableCustomChannelBackground(
bool enable);
889 Q_PROPERTY(
Interval voxDelay READ voxDelay WRITE setVOXDelay)
891 Q_PROPERTY(
VoxSource voxSource READ voxSource WRITE setVOXSource)
894 Q_PROPERTY(
bool recording READ recordingEnabled WRITE enableRecording)
897 Q_PROPERTY(
bool enhance READ enhanceAudioEnabled WRITE enableEnhanceAudio)
900 Q_PROPERTY(
Interval muteDelay READ muteDelay WRITE setMuteDelay)
903 Q_PROPERTY(
unsigned int maxVolume READ maxVolume WRITE setMaxVolume)
905 Q_PROPERTY(
unsigned int maxHeadPhoneVolume READ maxHeadPhoneVolume WRITE setMaxHeadPhoneVolume)
908 Q_PROPERTY(
bool enableFMMicGain READ fmMicGainEnabled WRITE enableFMMicGain)
910 Q_PROPERTY(
unsigned int fmMicGain READ fmMicGain WRITE setFMMicGain)
913 Q_PROPERTY(
Speaker speaker READ speaker WRITE setSpeaker)
917 Q_PROPERTY(
HandsetType handsetType READ handsetType WRITE setHandsetType)
922 Internal = 0, External = 1, Both = 2
934 MainChannel, SubChannel
936 Q_ENUM(HandsetSpeakerSource)
956 VoxSource voxSource()
const;
958 void setVOXSource(VoxSource source);
961 bool recordingEnabled()
const;
963 void enableRecording(
bool enable);
966 unsigned int maxVolume()
const;
968 void setMaxVolume(
unsigned int vol);
970 unsigned int maxHeadPhoneVolume()
const;
972 void setMaxHeadPhoneVolume(
unsigned int vol);
975 bool enhanceAudioEnabled()
const;
977 void enableEnhanceAudio(
bool enable);
985 bool fmMicGainEnabled()
const;
987 void enableFMMicGain(
bool enable);
989 unsigned int fmMicGain()
const;
991 void setFMMicGain(
unsigned int gain);
994 Speaker speaker()
const;
996 void setSpeaker(Speaker speaker);
999 HandsetSpeakerSource handsetSpeaker()
const;
1001 void setHandsetSpeaker(HandsetSpeakerSource src);
1004 HandsetType handsetType()
const;
1006 void setHandsetType(HandsetType type);
1032 Q_CLASSINFO(
"durationDescription",
"The time in seconds, the menu is shown.")
1034 Q_PROPERTY(
Interval duration READ duration WRITE setDuration)
1036 Q_CLASSINFO("separatorDescription", "If enabled, the menu items are separated by a line.")
1038 Q_PROPERTY(
bool separator READ separatorEnabled WRITE enableSeparator)
1051 bool separatorEnabled() const;
1053 void enableSeparator(
bool enable);
1057 bool _showSeparator;
1067 Q_CLASSINFO(
"IdPrefix",
"off")
1069 Q_CLASSINFO(
"offsetDecription",
1070 "Transmit-frequency offset in Hz.")
1071 Q_CLASSINFO(
"offsetLongDecription",
1072 "The transmit-frequency offset is specified as a positive integer in Hz. The offset "
1073 "direction is specified for each VFO separately.")
1127 Q_CLASSINFO(
"description",
"Auto-repeater settings for AnyTone devices.")
1129 Q_CLASSINFO(
"directionADescription",
"Auto-repeater transmit-frequency offset direction for VFO A.")
1131 Q_PROPERTY(
Direction directionA READ directionA WRITE setDirectionA)
1133 Q_CLASSINFO("directionBDescription", "Auto-repeater transmit-frequency offset direction for VFO B.")
1135 Q_PROPERTY(
Direction directionB READ directionB WRITE setDirectionB)
1137 Q_CLASSINFO("vhfMin", "The minimum frequency in Hz of the VHF auto-repeater frequency range.")
1141 Q_CLASSINFO("vhfMax", "The maximum frequency in Hz of the VHF auto-repeater frequency range.")
1145 Q_CLASSINFO("uhfMin", "The minimum frequency in Hz of the UHF auto-repeater frequency range.")
1149 Q_CLASSINFO("uhfMax", "The maximum frequency in Hz of the UHF auto-repeater frequency range.")
1153 Q_CLASSINFO("vhfDescription", "A reference to an offset frequency for the VHF band.")
1157 Q_CLASSINFO("uhfDescription", "A reference to an offset frequency for the UHF band.")
1161 Q_CLASSINFO("vhf2Min", "The minimum frequency in Hz of the second VHF auto-repeater frequency range.")
1165 Q_CLASSINFO("vhf2Max", "The maximum frequency in Hz of the second VHF auto-repeater frequency range.")
1169 Q_CLASSINFO("uhf2Min", "The minimum frequency in Hz of the second UHF auto-repeater frequency range.")
1173 Q_CLASSINFO("uhf2Max", "The maximum frequency in Hz of the second UHF auto-repeater frequency range.")
1177 Q_CLASSINFO("vhf2Description", "A reference to an offset frequency for the second VHF band.")
1181 Q_CLASSINFO("uhf2Description", "A reference to an offset frequency for the second UHF band.")
1185 Q_CLASSINFO("offsetDescription", "The lists of offset frequencies.")
1205 Direction directionA()
const;
1207 void setDirectionA(Direction dir);
1209 Direction directionB()
const;
1211 void setDirectionB(Direction dir);
1302 Q_CLASSINFO(
"groupCallHangTimeDescription",
"Specifies the hang- or hold-time for group calls.")
1304 Q_PROPERTY(
Interval groupCallHangTime READ groupCallHangTime WRITE setGroupCallHangTime)
1306 Q_PROPERTY(
Interval manualGroupCallHangTime READ manualGroupCallHangTime WRITE setManualGroupCallHangTime)
1308 Q_CLASSINFO("privateCallHangTimeDescription", "Specifies the hang- or hold-time for private calls.")
1310 Q_PROPERTY(
Interval privateCallHangTime READ privateCallHangTime WRITE setPrivateCallHangTime)
1312 Q_PROPERTY(
Interval manualPrivateCallHangTime READ manualPrivateCallHangTime WRITE setManualPrivateCallHangTime)
1314 Q_CLASSINFO("preWaveDelay", "Sets the pre-wave delay in ms. Should be set to 100ms.")
1316 Q_PROPERTY(
Interval preWaveDelay READ preWaveDelay WRITE setPreWaveDelay)
1318 Q_CLASSINFO("wakeHeadPeriod", "Sets the wake head-period in ms. Should be set to 100ms.")
1320 Q_PROPERTY(
Interval wakeHeadPeriod READ wakeHeadPeriod WRITE setWakeHeadPeriod)
1322 Q_CLASSINFO("filterOwnIDDescription", "If enabled, own ID is not shown in call lists.")
1324 Q_PROPERTY(
bool filterOwnID READ filterOwnIDEnabled WRITE enableFilterOwnID)
1326 Q_CLASSINFO("monitorSlotMatchDescription", "Time-slot match-mode for DMR monitor.")
1328 Q_PROPERTY(SlotMatch monitorSlotMatch READ monitorSlotMatch WRITE setMonitorSlotMatch)
1330 Q_CLASSINFO("monitorColorCodeMatchDescription", "If enabled, the DMR monitor will only open for "
1331 "matching color-codes.")
1333 Q_PROPERTY(
bool monitorColorCodeMatch READ monitorColorCodeMatchEnabled WRITE enableMonitorColorCodeMatch)
1335 Q_CLASSINFO("monitorIDMatchDescription", "If enabled, the DMR monitor will only open for matching IDs.")
1337 Q_PROPERTY(
bool monitorIDMatch READ monitorIDMatchEnabled WRITE enableMonitorIDMatch)
1339 Q_CLASSINFO("monitorTimeSlotHold", "Whether the DMR monitor holds the time-slot.")
1341 Q_PROPERTY(
bool monitorTimeSlotHold READ monitorTimeSlotHoldEnabled WRITE enableMonitorTimeSlotHold)
1343 Q_CLASSINFO("smsFormatDescription", "Specifies the SMS format, select Motorola here.")
1345 Q_PROPERTY(SMSFormat smsFormat READ smsFormat WRITE setSMSFormat)
1347 Q_CLASSINFO("sendTalkerAliasDescription", "Sends the radio name as talker alias over the air.")
1349 Q_PROPERTY(
bool sendTalkerAlias READ sendTalkerAlias WRITE enableSendTalkerAlias)
1351 Q_PROPERTY(TalkerAliasSource talkerAliasSource READ talkerAliasSource WRITE setTalkerAliasSource)
1353 Q_PROPERTY(TalkerAliasEncoding talkerAliasEncoding READ talkerAliasEncoding WRITE setTalkerAliasEncoding)
1356 Q_PROPERTY(EncryptionType encryption READ encryption WRITE setEncryption)
1361 enum class SlotMatch {
1362 Off = 0, Single = 1, Both = 2
1367 enum class SMSFormat {
1368 Motorola = 0, Hytera = 1, DMR = 2
1373 enum class TalkerAliasSource {
1374 Off = 0, UserDB = 1, Air = 2
1376 Q_ENUM(TalkerAliasSource)
1379 enum class TalkerAliasEncoding {
1380 ISO8 = 0, ISO7 = 1, Unicode = 2,
1382 Q_ENUM(TalkerAliasEncoding)
1385 enum class EncryptionType {
1388 Q_ENUM(EncryptionType)
1397 Interval groupCallHangTime()
const;
1399 void setGroupCallHangTime(
Interval sec);
1401 Interval manualGroupCallHangTime()
const;
1403 void setManualGroupCallHangTime(
Interval sec);
1405 Interval privateCallHangTime()
const;
1407 void setPrivateCallHangTime(
Interval sec);
1409 Interval manualPrivateCallHangTime()
const;
1411 void setManualPrivateCallHangTime(
Interval sec);
1420 void setWakeHeadPeriod(
Interval ms);
1423 bool filterOwnIDEnabled()
const;
1425 void enableFilterOwnID(
bool enable);
1428 SlotMatch monitorSlotMatch()
const;
1430 void setMonitorSlotMatch(SlotMatch match);
1432 bool monitorColorCodeMatchEnabled()
const;
1434 void enableMonitorColorCodeMatch(
bool enable);
1436 bool monitorIDMatchEnabled()
const;
1438 void enableMonitorIDMatch(
bool enable);
1440 bool monitorTimeSlotHoldEnabled()
const;
1442 void enableMonitorTimeSlotHold(
bool enable);
1445 SMSFormat smsFormat()
const;
1447 void setSMSFormat(SMSFormat format);
1450 bool sendTalkerAlias()
const;
1452 void enableSendTalkerAlias(
bool enable);
1455 TalkerAliasSource talkerAliasSource()
const;
1457 void setTalkerAliasSource(TalkerAliasSource mode);
1460 TalkerAliasEncoding talkerAliasEncoding()
const ;
1462 void setTalkerAliasEncoding(TalkerAliasEncoding encoding);
1465 EncryptionType encryption()
const;
1467 void setEncryption(EncryptionType type);
1497 Q_CLASSINFO(
"unitsDescription",
"Specifies the GPS units.")
1499 Q_PROPERTY(
Units units READ units WRITE setUnits)
1501 Q_CLASSINFO("timeZoneDescription", "Specifies the GPS time-zone (IANA name).")
1503 Q_PROPERTY(QString timeZone READ ianaTimeZone WRITE setIANATimeZone)
1505 Q_CLASSINFO("positionReportingDescription", "Enables GPS range reporting.")
1507 Q_PROPERTY(
bool reportPosition READ positionReportingEnabled WRITE enablePositionReporting)
1509 Q_CLASSINFO("updatePeriodDescription", "Specifies the GPS reporting interval in seconds.")
1511 Q_PROPERTY(
Interval updatePeriod READ updatePeriod WRITE setUpdatePeriod)
1519 Metric = 0, Archaic = 1
1525 GPS=0, Beidou=1, GPS_Beidou=2, Glonass=3, GPS_Glonas=4, Beidou_Glonass=5, All=6
1536 Units units()
const;
1538 void setUnits(Units units);
1541 QString ianaTimeZone()
const;
1543 QTimeZone timeZone()
const;
1545 void setIANATimeZone(
const QString &
id);
1547 void setTimeZone(
const QTimeZone &zone);
1550 bool positionReportingEnabled()
const;
1552 void enablePositionReporting(
bool enable);
1557 void setUpdatePeriod(
Interval sec);
1560 GPSMode mode()
const;
1562 void setMode(GPSMode mode);
1581 Q_CLASSINFO(
"Description",
"Collects all ranging/roaming settings for AnyTone devices.")
1584 Q_PROPERTY(
bool autoRoam READ autoRoam WRITE enableAutoRoam)
1586 Q_CLASSINFO("autoRoamPeriodDescription", "Specifies the auto-roaming period in minutes.")
1588 Q_PROPERTY(
Interval autoRoamPeriod READ autoRoamPeriod WRITE setAutoRoamPeriod)
1590 Q_CLASSINFO("autoRoamDelayDescription", "A delay in seconds before starting the auto-roaming.")
1592 Q_PROPERTY(
Interval autoRoamDelay READ autoRoamDelay WRITE setAutoRoamDelay)
1594 Q_CLASSINFO("roamStart", "Start condition for auto-roaming.")
1596 Q_PROPERTY(
RoamStart roamStart READ roamingStartCondition WRITE setRoamingStartCondition)
1598 Q_CLASSINFO("roamReturn", "Condition to return to the original repeater.")
1600 Q_PROPERTY(
RoamStart roamReturn READ roamingReturnCondition WRITE setRoamingReturnCondition)
1602 Q_CLASSINFO("rangeCheckDescription", "Repeater range check.")
1604 Q_PROPERTY(
bool rangeCheck READ repeaterRangeCheckEnabled WRITE enableRepeaterRangeCheck)
1606 Q_CLASSINFO("checkIntervalDescription", "Repeater range check interval in seconds.")
1608 Q_PROPERTY(
Interval checkInterval READ repeaterCheckInterval WRITE setRepeaterCheckInterval)
1610 Q_CLASSINFO("retryCount", "Number of retries to connect to a repeater before giving up.")
1612 Q_PROPERTY(
unsigned int retryCount READ repeaterRangeCheckCount WRITE setRepeaterRangeCheckCount)
1617 Q_CLASSINFO("notificationDescription", "Enables the repeater-check notification.")
1619 Q_PROPERTY(
bool notification READ notificationEnabled WRITE enableNotification)
1621 Q_CLASSINFO("notificationCountDescription", "The number of repeater-check notifications.")
1623 Q_PROPERTY(
unsigned int notificationCount READ notificationCount WRITE setNotificationCount)
1629 Q_PROPERTY(
bool gpsRoaming READ gpsRoaming WRITE enableGPSRoaming)
1634 Periodic=0, OutOfRange=1
1640 None = 0x00, Bell = 0x01, Voice = 0x02
1642 Q_ENUM(OutOfRangeAlert)
1651 bool autoRoam()
const;
1653 void enableAutoRoam(
bool enable);
1658 void setAutoRoamPeriod(
Interval min);
1662 void setAutoRoamDelay(
Interval sec);
1665 bool repeaterRangeCheckEnabled()
const;
1667 void enableRepeaterRangeCheck(
bool enable);
1669 Interval repeaterCheckInterval()
const;
1671 void setRepeaterCheckInterval(
Interval sec);
1673 unsigned int repeaterRangeCheckCount()
const;
1675 void setRepeaterRangeCheckCount(
unsigned int count);
1677 OutOfRangeAlert outOfRangeAlert()
const;
1679 void setOutOfRangeAlert(OutOfRangeAlert type);
1682 RoamStart roamingStartCondition()
const;
1684 void setRoamingStartCondition(RoamStart start);
1686 RoamStart roamingReturnCondition()
const;
1688 void setRoamingReturnCondition(RoamStart start);
1691 bool notificationEnabled()
const;
1693 void enableNotification(
bool enable);
1695 unsigned int notificationCount()
const;
1697 void setNotificationCount(
unsigned int n);
1700 bool gpsRoaming()
const;
1702 void enableGPSRoaming(
bool enable);
1733 Q_CLASSINFO(
"Description",
"Collects all bluetooth handset settings for AnyTone devices.")
1735 Q_CLASSINFO(
"shutdownDescription",
"Shuts the handset off too, when the radio is turned off.")
1736 Q_PROPERTY(
bool shutdown READ shutdownEnabled WRITE enableShutdown)
1738 Q_CLASSINFO(
"volumeLevelADescription",
"Sets the volume level for VFO A.")
1739 Q_PROPERTY(
unsigned int volumeLevelA READ volumeLevelA WRITE setVolumeLevelA)
1740 Q_CLASSINFO(
"volumeLevelBDescription",
"Sets the volume level for VFO B.")
1741 Q_PROPERTY(
unsigned int volumeLevelB READ volumeLevelB WRITE setVolumeLevelB)
1743 Q_CLASSINFO(
"micGainDescription",
"Specifies the microphone gain.")
1744 Q_PROPERTY(
unsigned int micGain READ micGain WRITE setMicGain)
1746 Q_PROPERTY(
unsigned int squelch READ squelch WRITE setSquelch)
1748 Q_PROPERTY(
unsigned int txNoiseReduction READ txNoiseReduction WRITE setTxNoiseReduction)
1750 Q_PROPERTY(
unsigned int voxLevel READ voxLevel WRITE setVoxLevel)
1751 Q_PROPERTY(
Interval voxDelay READ voxDelay WRITE setVoxDelay)
1763 Q_PROPERTY(
Interval backlight READ backlight WRITE setBacklight)
1772 bool shutdownEnabled()
const;
1774 void enableShutdown(
bool enable);
1777 unsigned int volumeLevelA()
const;
1779 void setVolumeLevelA(
unsigned int level);
1781 unsigned int volumeLevelB()
const;
1783 void setVolumeLevelB(
unsigned int level);
1786 unsigned int micGain()
const;
1788 void setMicGain(
unsigned int gain);
1791 unsigned int squelch()
const;
1793 void setSquelch(
unsigned int level);
1796 unsigned int txNoiseReduction()
const;
1798 void setTxNoiseReduction(
unsigned int level);
1801 unsigned int voxLevel()
const;
1803 void setVoxLevel(
unsigned int level);
1892 Q_CLASSINFO(
"Description",
"Collects all bluetooth settings for AnyTone devices.")
1895 Q_PROPERTY(
bool enabled READ bluetoothEnabled WRITE enableBluetooth)
1897 Q_PROPERTY(
bool pttLatch READ pttLatch WRITE enablePTTLatch)
1899 Q_PROPERTY(
Interval pttSleepTimer READ pttSleepTimer WRITE setPTTSleepTimer)
1901 Q_PROPERTY(
bool internalMic READ internalMicEnabled WRITE enableInternalMic)
1903 Q_PROPERTY(
bool internalSpeaker READ internalSpeakerEnabled WRITE enableInternalSpeaker)
1905 Q_PROPERTY(
unsigned int micGain READ micGain WRITE setMicGain);
1907 Q_PROPERTY(
unsigned int speakerGain READ speakerGain WRITE setSpeakerGain);
1909 Q_PROPERTY(
Interval hold READ holdDuration WRITE setHoldDuration)
1911 Q_PROPERTY(
Interval holdDelay READ holdDelay WRITE setHoldDelay)
1925 bool bluetoothEnabled() const;
1927 void enableBluetooth(
bool enable);
1930 bool pttLatch() const;
1932 void enablePTTLatch(
bool enable);
1937 void setPTTSleepTimer(
Interval intv);
1940 bool internalMicEnabled() const;
1942 void enableInternalMic(
bool enable);
1945 bool internalSpeakerEnabled() const;
1947 void enableInternalSpeaker(
bool enable);
1950 unsigned int micGain() const;
1952 void setMicGain(
unsigned int gain);
1955 unsigned int speakerGain() const;
1957 void setSpeakerGain(
unsigned int gain);
1960 const
Interval &holdDuration() const;
1962 void setHoldDuration(const
Interval &dur);
1967 void setHoldDelay(const
Interval &dur);
1972 bool _bluetoothEnabled;
1976 bool _internalSpeaker;
1977 unsigned int _micGain;
1978 unsigned int _speakerGain;
1993 Q_CLASSINFO(
"enabledDescription",
"If true, the repeater feature is enabled.")
1995 Q_PROPERTY(
bool enabled READ enabled WRITE enable)
1997 Q_CLASSINFO("monitorDescription", "If true, the repeater-monitoring is enabled.")
1999 Q_PROPERTY(
bool monitor READ monitorEnabled WRITE enableMonitor)
2001 Q_CLASSINFO("timeSlotDescription", "Specifies the time-slot of the primary repeater channel.")
2003 Q_PROPERTY(
TimeSlot timeSlot READ timeSlot WRITE setTimeSlot)
2005 Q_CLASSINFO("secTimeSlotDescription", "Specifies the time-slot of the secondary repeater channel.")
2007 Q_PROPERTY(
TimeSlot secTimeSlot READ secTimeSlot WRITE setSecTimeSlot)
2009 Q_CLASSINFO("colorCodeDescription", "Specifies the repeater color code.")
2010 Q_PROPERTY(
ColorCode colorCode READ colorCode WRITE setColorCode)
2032 bool enabled()
const;
2034 void enable(
bool enable);
2037 bool monitorEnabled()
const;
2039 void enableMonitor(
bool enable);
2042 TimeSlot timeSlot()
const;
2044 void setTimeSlot(TimeSlot ts);
2047 TimeSlot secTimeSlot()
const;
2049 void setSecTimeSlot(TimeSlot ts);
2052 ColorCode colorCode()
const;
2054 void setColorCode(ColorCode code);
2074 Q_CLASSINFO(
"powerDescription",
"Specifies the transmit power in satellite mode.")
2076 Q_PROPERTY(
Channel::Power power READ power WRITE setPower)
2078 Q_CLASSINFO("squelchDescription", "Specifies FM squelch level in satellite mode.")
2080 Q_PROPERTY(
unsigned int squelch READ squelch WRITE setSquelch)
2091 void setPower(
Channel::Power power);
2094 unsigned int squelch() const;
2096 void setSquelch(
unsigned int squelch);
2102 unsigned int _squelch;
2117 Q_CLASSINFO(
"description",
"Device specific settings for AnyTone devices.")
2119 Q_CLASSINFO(
"subChannelDescription",
"Enables/disables the sub-channel.")
2121 Q_PROPERTY(
bool subChannel READ subChannelEnabled WRITE enableSubChannel)
2123 Q_CLASSINFO("selectedVFODecription", "Specifies the currently selected
VFO (A or B).")
2125 Q_PROPERTY(
VFO selectedVFO READ selectedVFO WRITE setSelectedVFO)
2127 Q_CLASSINFO("modeADescription", "Specifies the mode (memory or
VFO) for
VFO A.")
2128 Q_CLASSINFO("modeBDescription", "Specifies the mode (memory or
VFO) for
VFO B.")
2130 Q_PROPERTY(
VFOMode modeA READ modeA WRITE setModeA)
2132 Q_PROPERTY(
VFOMode modeB READ modeB WRITE setModeB)
2134 Q_CLASSINFO("zoneADescription", "Specifies the current zone for
VFO A.")
2135 Q_CLASSINFO("zoneBDescription", "Specifies the current zone for
VFO B.")
2142 Q_PROPERTY(
VFOScanType vfoScanType READ vfoScanType WRITE setVFOScanType)
2144 Q_PROPERTY(
Frequency minVFOScanFrequencyUHF READ minVFOScanFrequencyUHF WRITE setMinVFOScanFrequencyUHF)
2146 Q_PROPERTY(
Frequency maxVFOScanFrequencyUHF READ maxVFOScanFrequencyUHF WRITE setMaxVFOScanFrequencyUHF)
2148 Q_PROPERTY(
Frequency minVFOScanFrequencyVHF READ minVFOScanFrequencyVHF WRITE setMinVFOScanFrequencyVHF)
2150 Q_PROPERTY(
Frequency maxVFOScanFrequencyVHF READ maxVFOScanFrequencyVHF WRITE setMaxVFOScanFrequencyVHF)
2152 Q_CLASSINFO("keepLastCallerDescription", "Keeps the last caller on channel switch")
2154 Q_PROPERTY(
bool keepLastCaller READ keepLastCallerEnabled WRITE enableKeepLastCaller)
2156 Q_CLASSINFO("vfoStepDescription", "Specifies the
VFO tuning steps in kHz.")
2160 Q_CLASSINFO("steTypeDescription", "Specifies the STE (squelch tail elimination) type.")
2161 Q_CLASSINFO("steTypeLongDescription", "Can also be used to disable the STE entirely.")
2163 Q_PROPERTY(
STEType steType READ steType WRITE setSTEType)
2165 Q_CLASSINFO("steFrequencyDescription", "Specifies the STE (squelch tail elimination) frequency in Hz.")
2167 Q_PROPERTY(
double steFrequency READ steFrequency WRITE setSTEFrequency)
2169 Q_CLASSINFO("steDurationDescription", "Specifies the duration of the STE (squelch tail elimination) tone.")
2170 Q_CLASSINFO("steDurationLongDescription", "Valid values are usually in the range between 10 and 1000ms.")
2172 Q_PROPERTY(
Interval steDuration READ steDuration WRITE setSTEDuration)
2174 Q_CLASSINFO("tbstFrequencyDescription", "Specifies the TBST frequency in Hz.")
2175 Q_CLASSINFO("tbstFrequencyDescription", "Should be one of 1000, 1450, 1750 and 2100 Hz. "
2178 Q_PROPERTY(
Frequency tbstFrequency READ tbstFrequency WRITE setTBSTFrequency)
2180 Q_CLASSINFO("proModeDescription", "Enables 'professional' mode. This limits the option reachable via the menu.")
2182 Q_PROPERTY(
bool proMode READ proModeEnabled WRITE enableProMode)
2185 Q_PROPERTY(
bool maintainCallChannel READ maintainCallChannelEnabled WRITE enableMaintainCallChannel)
2188 Q_PROPERTY(FanControl fan READ fan WRITE setFan);
2215 Q_CLASSINFO("simplexRepeaterSettingsDescription",
2216 "Configuration for the DMR-6X2UV simplex-repeater feature.")
2220 Q_CLASSINFO("satelliteSettingsDescription",
2221 "Some settings of for satellite mode.")
2227 Time = 0, Carrier = 1, Stop = 2
2245 Off = 0, Silent = 1, Deg120 = 2, Deg180 = 3, Deg240 = 4
2249 enum class FanControl {
2250 PTT, Temperature, Both
2291 VFOScanType vfoScanType()
const;
2293 void setVFOScanType(VFOScanType type);
2296 VFOMode modeA()
const;
2298 void setModeA(VFOMode mode);
2300 VFOMode modeB()
const;
2302 void setModeB(VFOMode mode);
2314 VFO selectedVFO()
const;
2316 void setSelectedVFO(
VFO vfo);
2319 bool subChannelEnabled()
const;
2321 void enableSubChannel(
bool enable);
2324 Frequency minVFOScanFrequencyUHF()
const;
2326 void setMinVFOScanFrequencyUHF(
Frequency hz);
2328 Frequency maxVFOScanFrequencyUHF()
const;
2330 void setMaxVFOScanFrequencyUHF(
Frequency hz);
2333 Frequency minVFOScanFrequencyVHF()
const;
2335 void setMinVFOScanFrequencyVHF(
Frequency hz);
2337 Frequency maxVFOScanFrequencyVHF()
const;
2339 void setMaxVFOScanFrequencyVHF(
Frequency hz);
2342 bool keepLastCallerEnabled()
const;
2344 void enableKeepLastCaller(
bool enable);
2354 void setSTEType(
STEType type);
2357 double steFrequency()
const;
2360 void setSTEFrequency(
double freq);
2364 void setSTEDuration(
Interval intv);
2372 bool proModeEnabled()
const;
2374 void enableProMode(
bool enable);
2377 bool maintainCallChannelEnabled()
const;
2379 void enableMaintainCallChannel(
bool enable);
2382 FanControl fan()
const;
2384 void setFan(FanControl ctlr);
Implements the audio settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:885
bool _recording
Recording enabled.
Definition anytone_settingsextension.hh:1010
Interval _voxDelay
VOX delay in ms.
Definition anytone_settingsextension.hh:1009
VoxSource
Source for the VOX.
Definition anytone_settingsextension.hh:921
HandsetSpeakerSource
Possible handset speaker sources.
Definition anytone_settingsextension.hh:933
HandsetType _handsetType
Handset type.
Definition anytone_settingsextension.hh:1020
bool _enhanceAudio
Enhance audio.
Definition anytone_settingsextension.hh:1014
HandsetType
Specifies possible handset types.
Definition anytone_settingsextension.hh:939
unsigned int _maxVolume
The maximum volume.
Definition anytone_settingsextension.hh:1012
bool _enableAnalogMicGain
Enables separate analog mic gain.
Definition anytone_settingsextension.hh:1016
HandsetSpeakerSource _handsetSpeaker
Specifies the handset speaker source.
Definition anytone_settingsextension.hh:1019
Interval _muteDelay
Mute delay in minutes.
Definition anytone_settingsextension.hh:1015
unsigned int _maxHeadPhoneVolume
The maximum head-phone volume.
Definition anytone_settingsextension.hh:1013
VoxSource _voxSource
The VOX source.
Definition anytone_settingsextension.hh:1011
Speaker
Possible speaker settings.
Definition anytone_settingsextension.hh:927
unsigned int _analogMicGain
The FM mic gain.
Definition anytone_settingsextension.hh:1017
Speaker _speaker
Specifies which speaker are enabled.
Definition anytone_settingsextension.hh:1018
Represents a list of auto-repeater offsets.
Definition anytone_settingsextension.hh:1109
Represents a reference to a repeater offset.
Definition anytone_settingsextension.hh:1097
Implements the config representation of a repeater offset.
Definition anytone_settingsextension.hh:1065
Implements the auto-repeater settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1125
Frequency _minUHF2
Minimum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1282
Frequency _maxUHF2
Maximum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1284
Frequency _maxVHF
Maximum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1268
Direction _directionA
The auto-repeater direction for VFO A.
Definition anytone_settingsextension.hh:1262
Frequency _minVHF
Minimum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1266
AnytoneAutoRepeaterOffsetRef * _uhf2Offset
A reference to the second UHF offset frequency.
Definition anytone_settingsextension.hh:1288
Direction _directionB
The auto-repeater direction for VFO B.
Definition anytone_settingsextension.hh:1264
Direction
Encodes the auto-repeater offset sign.
Definition anytone_settingsextension.hh:1191
AnytoneAutoRepeaterOffsetRef * _vhfOffset
A reference to the VHF offset frequency.
Definition anytone_settingsextension.hh:1274
Frequency _maxVHF2
Maximum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1280
AnytoneAutoRepeaterOffsetRef * _uhfOffset
A reference to the UHF offset frequency.
Definition anytone_settingsextension.hh:1276
Frequency _minUHF
Minimum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1270
AnytoneAutoRepeaterOffsetList * _offsets
The list of repeater offsets.
Definition anytone_settingsextension.hh:1290
Frequency _maxUHF
Maximum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1272
Frequency _minVHF2
Minimum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1278
AnytoneAutoRepeaterOffsetRef * _vhf2Offset
A reference to the second VHF offset frequency.
Definition anytone_settingsextension.hh:1286
Implements the bluetooth handset settings for AnyTone devices.
Definition anytone_settingsextension.hh:1730
AnytoneKeySettingsExtension::KeyFunction _funcKeyBLong
Function key B long press function.
Definition anytone_settingsextension.hh:1870
unsigned int _voxLevel
Specifies the VOX level.
Definition anytone_settingsextension.hh:1859
unsigned int _volumeLevelB
Specifies the volume level for VFO B.
Definition anytone_settingsextension.hh:1855
AnytoneKeySettingsExtension::KeyFunction _funcKeyCLong
Function key B long press function.
Definition anytone_settingsextension.hh:1872
unsigned int _volumeLevelA
Specifies the volume level for VFO A.
Definition anytone_settingsextension.hh:1854
unsigned int _txNoiseReduction
Specifies the transmit noise reduction level.
Definition anytone_settingsextension.hh:1858
unsigned int _squelch
Specifies the squelch level.
Definition anytone_settingsextension.hh:1857
AnytoneKeySettingsExtension::KeyFunction _funcKeyCShort
Function key B short press function.
Definition anytone_settingsextension.hh:1866
bool _shutdown
Shut the handset down along with the radio.
Definition anytone_settingsextension.hh:1853
AnytoneKeySettingsExtension::KeyFunction _funcKeyALong
Function key A long press function.
Definition anytone_settingsextension.hh:1868
Interval _voxDelay
Specifies the VOX delay.
Definition anytone_settingsextension.hh:1860
AnytoneKeySettingsExtension::KeyFunction _funcKeyAShort
Function key A short press function.
Definition anytone_settingsextension.hh:1862
AnytoneKeySettingsExtension::KeyFunction _funcKeyBShort
Function key B short press function.
Definition anytone_settingsextension.hh:1864
AnytoneKeySettingsExtension::KeyFunction _funcKeyBVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1876
AnytoneKeySettingsExtension::KeyFunction _funcKeyCVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1878
Interval _backlight
Backlight duration.
Definition anytone_settingsextension.hh:1879
unsigned int _micGain
Specifies the mic gain.
Definition anytone_settingsextension.hh:1856
AnytoneKeySettingsExtension::KeyFunction _funcKeyAVeryLong
Function key A very long press function.
Definition anytone_settingsextension.hh:1874
Implements the bluetooth settings for some AnyTone devices.
Definition anytone_settingsextension.hh:1889
Implements the boot settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:20
void enableBootPassword(bool enable)
Enables the boot password.
Definition anytone_settingsextension.cc:900
bool resetEnabled() const
Returns true if the MCU is reset on boot.
Definition anytone_settingsextension.cc:970
bool _reset
Enables MCU reset on boot.
Definition anytone_settingsextension.hh:120
bool defaultChannel
If enabled, the default channels are selected at boot.
Definition anytone_settingsextension.hh:32
ChannelReference * channelA
The default channel for VFO A.
Definition anytone_settingsextension.hh:38
ChannelReference * _channelB
Default channel for VFO B, must be member of zone for VFO B.
Definition anytone_settingsextension.hh:116
ZoneReference * priorityZoneB
The priority zone for VFO B.
Definition anytone_settingsextension.hh:48
bool _bootPasswordEnabled
If true, the boot password is enabled.
Definition anytone_settingsextension.hh:110
ZoneReference * zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:41
BootDisplay _bootDisplay
The boot display property.
Definition anytone_settingsextension.hh:109
void enableReset(bool enable)
Enables/disables MCU reset on boot.
Definition anytone_settingsextension.cc:974
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:874
ZoneReference * _priorityZoneA
Priority zone for VFO A.
Definition anytone_settingsextension.hh:117
bool _defaultChannel
Change to the default channel on boot.
Definition anytone_settingsextension.hh:112
QString bootPassword
Holds the boot password.
Definition anytone_settingsextension.hh:28
void enableDefaultChannel(bool enable)
Enables/disables boot default channel.
Definition anytone_settingsextension.cc:924
bool bootPasswordEnabled
If true, the boot password is enabled.
Definition anytone_settingsextension.hh:26
bool gpsCheckEnabled() const
Returns true if the GPS check is enabled.
Definition anytone_settingsextension.cc:958
bool _gpsCheck
Enables GPS check.
Definition anytone_settingsextension.hh:119
ZoneReference * _zoneA
Default zone for VFO A.
Definition anytone_settingsextension.hh:113
ChannelReference * channelB
The default channel for VFO B.
Definition anytone_settingsextension.hh:44
ZoneReference * zoneA
The default zone for VFO A.
Definition anytone_settingsextension.hh:35
ZoneReference * _priorityZoneB
Priority zone for VFO B.
Definition anytone_settingsextension.hh:118
void enableGPSCheck(bool enable)
Enables/disables the GPS check.
Definition anytone_settingsextension.cc:962
bool defaultChannelEnabled() const
If true, the radio switches to the default channel at boot.
Definition anytone_settingsextension.cc:920
BootDisplay
What to display during boot.
Definition anytone_settingsextension.hh:57
void setBootDisplay(BootDisplay mode)
Sets the boot display.
Definition anytone_settingsextension.cc:888
bool reset
Enables the MCU reset on boot.
Definition anytone_settingsextension.hh:53
BootDisplay bootDisplay
The boot display setting.
Definition anytone_settingsextension.hh:24
void setBootPassword(const QString &pass)
Sets the boot password.
Definition anytone_settingsextension.cc:912
bool gpsCheck
Enables the GPS check.
Definition anytone_settingsextension.hh:51
ZoneReference * _zoneB
Default zone for VFO B.
Definition anytone_settingsextension.hh:115
ChannelReference * _channelA
Default channel for VFO A, must be member of zone for VFO A.
Definition anytone_settingsextension.hh:114
QString _bootPassword
The boot password.
Definition anytone_settingsextension.hh:111
ZoneReference * priorityZoneA
The priority zone for VFO A.
Definition anytone_settingsextension.hh:46
Implements the DMR settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1299
SMSFormat _smsFormat
Sets the SMS format.
Definition anytone_settingsextension.hh:1481
Interval _preWaveDelay
Pre-wave time in ms, should be 100ms.
Definition anytone_settingsextension.hh:1474
bool _monitorColorCodeMatch
Enables CC match for DMR monitor.
Definition anytone_settingsextension.hh:1478
bool _monitorIDMatch
Enables ID match for DMR monitor.
Definition anytone_settingsextension.hh:1479
EncryptionType _encryption
DMR encryption type.
Definition anytone_settingsextension.hh:1485
bool _monitorTimeSlotHold
Enables the time-slot hold for the DMR monitor.
Definition anytone_settingsextension.hh:1480
Interval _manualGroupCallHangTime
Hang-time for manual dialed group-calls in seconds.
Definition anytone_settingsextension.hh:1471
bool _filterOwnID
If enabled, the own ID is not shown in call lists.
Definition anytone_settingsextension.hh:1476
TalkerAliasEncoding _talkerAliasEncoding
Encoding for the talker alias.
Definition anytone_settingsextension.hh:1484
Interval _privateCallHangTime
Hang-time for private-calls in seconds.
Definition anytone_settingsextension.hh:1472
bool _sendTalkerAlias
Enables sending talker alias.
Definition anytone_settingsextension.hh:1482
Interval _groupCallHangTime
Hang-time for group-calls in seconds.
Definition anytone_settingsextension.hh:1470
SlotMatch _monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_settingsextension.hh:1477
Interval _wakeHeadPeriod
Wake head-period in ms, should be 100ms.
Definition anytone_settingsextension.hh:1475
TalkerAliasSource _talkerAliasSource
Source for the talker alias.
Definition anytone_settingsextension.hh:1483
Interval _manualPrivateCallHangTime
Hang-time for manual dialed private-calls in seconds.
Definition anytone_settingsextension.hh:1473
Implements the display settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:613
Color _zoneNameColor
Color of zone name.
Definition anytone_settingsextension.hh:875
bool _callEndPrompt
Call-end prompt enabled.
Definition anytone_settingsextension.hh:853
bool _showLastHeard
Shows the last caller.
Definition anytone_settingsextension.hh:868
bool _showTimeSlot
Show time slot.
Definition anytone_settingsextension.hh:863
LastCallerDisplayMode _lastCallerDisplay
Last-caller display mode.
Definition anytone_settingsextension.hh:854
bool _showColorCode
Show color code.
Definition anytone_settingsextension.hh:862
bool _showContact
Enables showing the contact.
Definition anytone_settingsextension.hh:865
Color _callColor
Color of call.
Definition anytone_settingsextension.hh:857
bool _customChannelBackground
Custom channel background enabled.
Definition anytone_settingsextension.hh:872
Color _channelNameColor
Color of channel name.
Definition anytone_settingsextension.hh:873
unsigned int _brightness
The display brightness.
Definition anytone_settingsextension.hh:851
Color _zoneBNameColor
Color of zone name for VFO B.
Definition anytone_settingsextension.hh:876
Color _standbyBackgroundColor
Standby background color.
Definition anytone_settingsextension.hh:867
Interval _backlightDuration
Backlight duration.
Definition anytone_settingsextension.hh:869
Color _standbyTextColor
Standby text color.
Definition anytone_settingsextension.hh:866
bool _volumeChangePrompt
Volume-change prompt enabled.
Definition anytone_settingsextension.hh:852
bool _showChannelNumber
Show channel number.
Definition anytone_settingsextension.hh:860
Interval _backlightDurationTX
Backlight duration during TX (0=off).
Definition anytone_settingsextension.hh:870
bool _showGlobalChannelNumber
Show global channel number.
Definition anytone_settingsextension.hh:861
bool _showClock
Display clock.
Definition anytone_settingsextension.hh:855
bool _showCall
Display call.
Definition anytone_settingsextension.hh:856
bool _displayFrequency
Display frequency property.
Definition anytone_settingsextension.hh:850
Language _language
UI language.
Definition anytone_settingsextension.hh:858
DateFormat _dateFormat
The date format.
Definition anytone_settingsextension.hh:859
bool _showChannelType
Show channel type.
Definition anytone_settingsextension.hh:864
Interval _backlightDurationRX
Backlight duration during RX.
Definition anytone_settingsextension.hh:871
Color _channelBNameColor
Color of channel name for VFO B.
Definition anytone_settingsextension.hh:874
Implements the GPS settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1494
bool _gpsRangeReporting
Enables GPS range reporting.
Definition anytone_settingsextension.hh:1567
Units _gpsUnits
The GPS units.
Definition anytone_settingsextension.hh:1565
QTimeZone _timeZone
The time zone.
Definition anytone_settingsextension.hh:1566
GPSMode _mode
The GPS mode (GPS, Baidu, both).
Definition anytone_settingsextension.hh:1569
Interval _gpsRangingInterval
The GPS ranging interval in seconds.
Definition anytone_settingsextension.hh:1568
GPSMode
Possible GPS modes.
Definition anytone_settingsextension.hh:1524
Units
Possible unit systems.
Definition anytone_settingsextension.hh:1518
Implements the key settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:193
KeyFunction _funcKey6Short
Function of the function key 6, short press.
Definition anytone_settingsextension.hh:433
KeyFunction _funcKey3Short
Function of the function key 3, short press.
Definition anytone_settingsextension.hh:427
void setFuncKeyBLong(KeyFunction func)
Sets the key function for a long press on the function key B.
Definition anytone_settingsextension.cc:1261
KeyFunction funcKey6Short
Function key 6 (P6 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:217
KeyFunction funcKeyCLong
Function key C (PF3 on top or B on mic), long press function.
Definition anytone_settingsextension.hh:231
void setFuncKeyCLong(KeyFunction func)
Sets the key function for a long press on the function key C.
Definition anytone_settingsextension.cc:1284
void setFuncKey5Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 5.
Definition anytone_settingsextension.cc:1181
void enableKeypadLock(bool enable)
Enables/disables the key-pad lock.
Definition anytone_settingsextension.cc:1397
KeyFunction _funcKey1Long
Function of the function key 1, long press.
Definition anytone_settingsextension.hh:424
bool sideKeysLockEnabled() const
Returns true if the side-keys gets locked too.
Definition anytone_settingsextension.cc:1404
bool autoKeyLock
The auto key-lock property.
Definition anytone_settingsextension.hh:247
KeyFunction _funcKeyAShort
Function of the function key A, short press.
Definition anytone_settingsextension.hh:435
void setFuncKey2Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 2.
Definition anytone_settingsextension.cc:1112
KeyFunction funcKey1Short
Function key 1 (P1 below or next to screen), short press function.
Definition anytone_settingsextension.hh:197
KeyFunction _funcKeyBShort
Function of the function key B, short press.
Definition anytone_settingsextension.hh:437
KeyFunction funcKey3Long
Function key 3 (P3 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:207
KeyFunction funcKey2Short
Function key 2 (P2 below or next to screen), short press function.
Definition anytone_settingsextension.hh:201
KeyFunction funcKey6Long
Function key 6 (P6 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:219
void enableKnobLock(bool enable)
Enables/disables the knob lock.
Definition anytone_settingsextension.cc:1386
bool _sideKeysLock
Side-keys are locked.
Definition anytone_settingsextension.hh:450
KeyFunction funcKey2Long
Function key 2 (P2 below or next to screen), long press function.
Definition anytone_settingsextension.hh:203
KeyFunction _funcKey5Long
Function of the function key 5, long press.
Definition anytone_settingsextension.hh:432
void setFuncKeyDLong(KeyFunction func)
Sets the key function for a long press on the function key D.
Definition anytone_settingsextension.cc:1307
KeyFunction funcKey1Long
Function key 1 (P1 below or next to screen), long press function.
Definition anytone_settingsextension.hh:199
KeyFunction _funcKey2Long
Function of the function key 2, long press.
Definition anytone_settingsextension.hh:426
KeyFunction funcKeyCShort
Function key C (PF3 on top or C on mic), short press function.
Definition anytone_settingsextension.hh:229
KeyFunction _funcKeyALong
Function of the function key A, long press.
Definition anytone_settingsextension.hh:436
KeyFunction _funcKey2Short
Function of the function key 2, short press.
Definition anytone_settingsextension.hh:425
KeyFunction
All possible key functions.
Definition anytone_settingsextension.hh:267
void setLongPressDuration(Interval ms)
Sets the long-press duration in ms.
Definition anytone_settingsextension.cc:1347
void setFuncKey4Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 4.
Definition anytone_settingsextension.cc:1158
KeyFunction _funcKnobLong
Function of the knob, long press.
Definition anytone_settingsextension.hh:444
void setUpDownKeyFunction(UpDownKeyFunction func)
Sets the up/down key function.
Definition anytone_settingsextension.cc:1361
void setFuncKeyDShort(KeyFunction func)
Sets the key function for a short press on the function key D.
Definition anytone_settingsextension.cc:1296
void setFuncKeyAShort(KeyFunction func)
Sets the key function for a short press on the function key A.
Definition anytone_settingsextension.cc:1227
KeyFunction funcKeyBShort
Function key B (PF2 second below PTT or B on mic), short press function.
Definition anytone_settingsextension.hh:225
KeyFunction funcKey5Long
Function key 5 (P5 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:215
KeyFunction funcKeyAShort
Function key A (PF1 below PTT or A on mic), short press function.
Definition anytone_settingsextension.hh:221
KeyFunction _funcKeyDShort
Function of the function key D, short press.
Definition anytone_settingsextension.hh:441
void setFuncKey3Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 3.
Definition anytone_settingsextension.cc:1135
bool knobLockEnabled() const
Returns true if the knob gets locked too.
Definition anytone_settingsextension.cc:1382
Interval _longPressDuration
The long-press duration in ms.
Definition anytone_settingsextension.hh:445
KeyFunction funcKeyDShort
Function key D (D on mic, D578UV only), short press function.
Definition anytone_settingsextension.hh:233
bool autoKeyLockEnabled() const
Returns true, if the automatic key-lock feature is enabled.
Definition anytone_settingsextension.cc:1370
UpDownKeyFunction upDownKeyFunction() const
Returns the up/down key function.
Definition anytone_settingsextension.cc:1356
void setFuncKnobLong(KeyFunction func)
Sets the key function for a long press on the knob.
Definition anytone_settingsextension.cc:1334
void setFuncKey1Short(KeyFunction func)
Sets the key function for a short press on the function key 1.
Definition anytone_settingsextension.cc:1089
KeyFunction _funcKey4Long
Function of the function key 4, long press.
Definition anytone_settingsextension.hh:430
void setFuncKey4Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 4.
Definition anytone_settingsextension.cc:1169
void setFuncKeyALong(KeyFunction func)
Sets the key function for a long press on the function key A.
Definition anytone_settingsextension.cc:1238
bool forcedKeyLock
If true, the key-lock is forced.
Definition anytone_settingsextension.hh:263
KeyFunction funcKey5Short
Function key 5 (P5 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:213
bool _forcedKeyLock
Forced key-lock.
Definition anytone_settingsextension.hh:451
KeyFunction funcKnobShort
Function knob (channel/frequency knob, D578UV only), short press function.
Definition anytone_settingsextension.hh:237
void setFuncKeyBShort(KeyFunction func)
Sets the key function for a short press on the function key B.
Definition anytone_settingsextension.cc:1250
void enableAutoKeyLock(bool enabled)
Enables/disables auto key-lock.
Definition anytone_settingsextension.cc:1374
KeyFunction _funcKey5Short
Function of the function key 5, short press.
Definition anytone_settingsextension.hh:431
void setFuncKey2Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 2.
Definition anytone_settingsextension.cc:1123
KeyFunction _funcKeyCLong
Function of the function key C, long press.
Definition anytone_settingsextension.hh:440
KeyFunction funcKey4Short
Function key 4 (P4 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:209
void setFuncKey3Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 3.
Definition anytone_settingsextension.cc:1146
KeyFunction _funcKey1Short
Function of the function key 1, short press.
Definition anytone_settingsextension.hh:423
KeyFunction funcKey3Short
Function key 3 (P3 next to screen, D578UV only), short press function.
Definition anytone_settingsextension.hh:205
bool keypadLockEnabled() const
Returns true if the key-pad gets locked too.
Definition anytone_settingsextension.cc:1393
KeyFunction _funcKnobShort
Function of the knob, short press.
Definition anytone_settingsextension.hh:443
void setFuncKnobShort(KeyFunction func)
Sets the key function for a short press on the knob.
Definition anytone_settingsextension.cc:1321
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:1075
Interval longPressDuration
The long press duration in ms.
Definition anytone_settingsextension.hh:241
KeyFunction _funcKeyDLong
Function of the function key D, long press.
Definition anytone_settingsextension.hh:442
KeyFunction funcKeyBLong
Function key B (PF2 second below PTT or B on mic), long press function.
Definition anytone_settingsextension.hh:227
bool sideKeysLock
If true, the side-keys get locked too.
Definition anytone_settingsextension.hh:259
void setFuncKey5Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 5.
Definition anytone_settingsextension.cc:1192
UpDownKeyFunction upDownKeys
Up/down key functions (D578UV only).
Definition anytone_settingsextension.hh:244
KeyFunction _funcKeyBLong
Function of the function key B, long press.
Definition anytone_settingsextension.hh:438
KeyFunction funcKeyDLong
Function key D (D on mic, D578UV only), long press function.
Definition anytone_settingsextension.hh:235
bool _autoKeyLock
Auto key-lock property.
Definition anytone_settingsextension.hh:447
KeyFunction _funcKey4Short
Function of the function key 4, short press.
Definition anytone_settingsextension.hh:429
UpDownKeyFunction
Possible up/down key functions.
Definition anytone_settingsextension.hh:280
bool _knobLock
Knob locked too.
Definition anytone_settingsextension.hh:448
KeyFunction _funcKey3Long
Function of the function key 3, long press.
Definition anytone_settingsextension.hh:428
bool forcedKeyLockEnabled() const
Returns true if the key-lock is forced.
Definition anytone_settingsextension.cc:1415
KeyFunction _funcKeyCShort
Function of the function key C, short press.
Definition anytone_settingsextension.hh:439
UpDownKeyFunction _upDownFunction
The up/down key function.
Definition anytone_settingsextension.hh:446
KeyFunction funcKeyALong
Function key A (PF1 below PTT or A on mic), long press function.
Definition anytone_settingsextension.hh:223
void enableForcedKeyLock(bool enable)
Enables/disables the forced key-lock.
Definition anytone_settingsextension.cc:1419
bool knobLock
If true, the knob gets locked too.
Definition anytone_settingsextension.hh:251
KeyFunction funcKey4Long
Function key 4 (P4 next to screen, D578UV only), long press function.
Definition anytone_settingsextension.hh:211
void setFuncKey1Long(KeyFunction func)
Sets the key function for a long press on the function key 1.
Definition anytone_settingsextension.cc:1100
KeyFunction _funcKey6Long
Function of the function key 6, long press.
Definition anytone_settingsextension.hh:434
bool keypadLock
If true, the key-pad gets locked too.
Definition anytone_settingsextension.hh:255
void enableSideKeysLock(bool enable)
Enables/disables the side-keys lock.
Definition anytone_settingsextension.cc:1408
void setFuncKey6Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 6.
Definition anytone_settingsextension.cc:1204
KeyFunction funcKnobLong
Function knob (channel/frequency knob, D578UV only), long press function.
Definition anytone_settingsextension.hh:239
void setFuncKey6Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 6.
Definition anytone_settingsextension.cc:1215
void setFuncKeyCShort(KeyFunction func)
Sets the key function for a short press on the function key C.
Definition anytone_settingsextension.cc:1273
bool _keypadLock
Key-pad is locked.
Definition anytone_settingsextension.hh:449
Implements the power-save settings for AnyTone devices.
Definition anytone_settingsextension.hh:129
PowerSave powerSave() const
Returns the power-save mode.
Definition anytone_settingsextension.cc:1027
void setAutoShutdown(Interval min)
Sets the auto shut-down delay.
Definition anytone_settingsextension.cc:1007
bool resetAutoShutdownOnCall
Resets the auto shut-down timer on every call.
Definition anytone_settingsextension.hh:137
Interval _autoShutDownDelay
The auto shut-down delay in minutes.
Definition anytone_settingsextension.hh:181
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:993
void enableResetAutoShutdownOnCall(bool enable)
Enables/disables reset of auto shut-down timer on every call.
Definition anytone_settingsextension.cc:1019
Interval autoShutdown
The auto shut-down delay in minutes.
Definition anytone_settingsextension.hh:134
bool atpc() const
Returns true if the adaptive transmission power control is enabled.
Definition anytone_settingsextension.cc:1039
PowerSave _powerSave
Power save mode property.
Definition anytone_settingsextension.hh:183
bool _resetAutoShutdownOnCall
Enables reset of auto shut-down timer on every call.
Definition anytone_settingsextension.hh:182
void enableATPC(bool enable)
Enables/disables the adaptive transmission power control.
Definition anytone_settingsextension.cc:1043
bool _atpc
Adaptive Transmission Power Control.
Definition anytone_settingsextension.hh:184
void setPowerSave(PowerSave mode)
Sets the power-save mode.
Definition anytone_settingsextension.cc:1031
Implements the repeater settings for the BTECH DMR-6X2UV and AT-D578UV.
Definition anytone_settingsextension.hh:1990
TimeSlot _timeSlot
The primary channel time-slot.
Definition anytone_settingsextension.hh:2059
TimeSlot _secTimeSlot
The secondary channel time-slot.
Definition anytone_settingsextension.hh:2060
TimeSlot
Possible repeater time-slots.
Definition anytone_settingsextension.hh:2014
bool _monitor
If enabled, the radio will monitor the channel.
Definition anytone_settingsextension.hh:2058
ColorCode
Possible color code settings.
Definition anytone_settingsextension.hh:2020
ColorCode _colorCode
The color code match mode.
Definition anytone_settingsextension.hh:2061
bool _enabled
If true, the simplex repeater is enabled.
Definition anytone_settingsextension.hh:2057
Implements the ranging/roaming settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1578
Interval _repeaterCheckInterval
The repeater check interval in seconds.
Definition anytone_settingsextension.hh:1712
RoamingZoneReference * _defaultRoamingZone
The default roaming zone.
Definition anytone_settingsextension.hh:1720
RoamStart _roamingReturnCondition
Auto-roaming return condition.
Definition anytone_settingsextension.hh:1716
unsigned int _notificationCount
Number of notifications.
Definition anytone_settingsextension.hh:1718
bool _notification
Repeater check notification.
Definition anytone_settingsextension.hh:1717
RoamStart _roamingStartCondition
Auto-roaming start condition.
Definition anytone_settingsextension.hh:1715
RoamStart
Possible roaming start conditions.
Definition anytone_settingsextension.hh:1633
Interval _autoRoamDelay
The auto-roam delay in seconds.
Definition anytone_settingsextension.hh:1710
Interval _autoRoamPeriod
The auto-roam period in minutes.
Definition anytone_settingsextension.hh:1709
bool _autoRoam
Enables auto roaming.
Definition anytone_settingsextension.hh:1708
bool _gpsRoaming
Enables GPS roaming.
Definition anytone_settingsextension.hh:1719
OutOfRangeAlert _outOfRangeAlert
Type of the out-out-range alert.
Definition anytone_settingsextension.hh:1714
OutOfRangeAlert
Possible repeater out-of-range alerts.
Definition anytone_settingsextension.hh:1639
unsigned int _repeaterRangeCheckCount
Number of range checks before giving up.
Definition anytone_settingsextension.hh:1713
bool _repeaterRangeCheck
Enables the repeater range-check.
Definition anytone_settingsextension.hh:1711
Implements the satellite mode settings for the BTECH DMR-6X2UV PRO.
Definition anytone_settingsextension.hh:2071
Implements the device specific extension for the general settings of AnyTone devices.
Definition anytone_settingsextension.hh:2114
AnytoneToneSettingsExtension * _toneSettings
The tone settings.
Definition anytone_settingsextension.hh:2397
Frequency _maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2429
VFOMode
Possible VFO modes.
Definition anytone_settingsextension.hh:2232
STEType
All possible STE (squelch tail eliminate) types.
Definition anytone_settingsextension.hh:2244
ZoneReference _zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:2423
AnytoneKeySettingsExtension * _keySettings
The key settings.
Definition anytone_settingsextension.hh:2395
ZoneReference * zoneB()
Returns a reference to the current zone for VFO B.
bool _proMode
The "pro mode" flag.
Definition anytone_settingsextension.hh:2436
bool _maintainCallChannel
Maintains the call channel.
Definition anytone_settingsextension.hh:2437
ZoneReference _zoneA
The current zone for VFO A.
Definition anytone_settingsextension.hh:2422
VFOScanType
Encodes the possible VFO scan types.
Definition anytone_settingsextension.hh:2226
AnytonePowerSaveSettingsExtension * _powerSaveSettings
The power-save settings.
Definition anytone_settingsextension.hh:2393
AnytoneBootSettingsExtension * _bootSettings
Returns power setting for satellite mode.
Definition anytone_settingsextension.hh:2391
VFO
Possible VFOs.
Definition anytone_settingsextension.hh:2238
AnytoneAutoRepeaterSettingsExtension * _autoRepeaterSettings
The auto-repeater settings.
Definition anytone_settingsextension.hh:2405
bool _subChannel
If true, the sub-channel is enabled.
Definition anytone_settingsextension.hh:2425
VFOScanType _vfoScanType
The VFO scan-type property.
Definition anytone_settingsextension.hh:2419
AnytoneAudioSettingsExtension * _audioSettings
The audio settings.
Definition anytone_settingsextension.hh:2401
AnytoneMenuSettingsExtension * _menuSettings
The menu settings.
Definition anytone_settingsextension.hh:2403
bool _keepLastCaller
If true, the last caller is kept on channel switch.
Definition anytone_settingsextension.hh:2430
AnytoneGPSSettingsExtension * _gpsSettings
The GSP settings.
Definition anytone_settingsextension.hh:2409
AnytoneRepeaterSettingsExtension * _repeaterSettings
The repeater settings.
Definition anytone_settingsextension.hh:2415
Interval _steDuration
STE duration.
Definition anytone_settingsextension.hh:2434
AnytoneRoamingSettingsExtension * _roamingSettings
The roaming settings.
Definition anytone_settingsextension.hh:2411
AnytoneBluetoothSettingsExtension * _bluetoothSettings
The bluetooth settings.
Definition anytone_settingsextension.hh:2413
Frequency _vfoStep
The VFO tuning step in kHz.
Definition anytone_settingsextension.hh:2431
VFOMode _modeB
Mode of VFO B.
Definition anytone_settingsextension.hh:2421
AnytoneDMRSettingsExtension * _dmrSettings
The DMR settings.
Definition anytone_settingsextension.hh:2407
Frequency _maxVFOScanFrequencyUHF
The maximum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2427
VFO _selectedVFO
The current VFO.
Definition anytone_settingsextension.hh:2424
Frequency _minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2426
Frequency _minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2428
STEType _steType
The STE type.
Definition anytone_settingsextension.hh:2432
AnytoneSatelliteSettingsExtension * _satelliteSettings
The satellite settings.
Definition anytone_settingsextension.hh:2417
AnytoneDisplaySettingsExtension * _displaySettings
The display settings.
Definition anytone_settingsextension.hh:2399
ZoneReference * zoneA()
Returns a reference to the current zone for VFO A.
double _steFrequency
STE frequency in Hz.
Definition anytone_settingsextension.hh:2433
VFOMode _modeA
Mode of VFO A.
Definition anytone_settingsextension.hh:2420
Frequency _tbstFrequency
The TBST frequency in Hz.
Definition anytone_settingsextension.hh:2435
Implements the tone settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:460
bool startupToneEnabled() const
Returns true if the startup tone is enabled.
Definition anytone_settingsextension.cc:1552
bool startup
If true, the startup tone is enabled.
Definition anytone_settingsextension.hh:497
unsigned int keyToneLevel
The key tone level setting.
Definition anytone_settingsextension.hh:470
bool _talkPermitDigital
DMR talk permit tone.
Definition anytone_settingsextension.hh:591
bool _totNotification
TOT notification enabled.
Definition anytone_settingsextension.hh:597
void enableFMIdleChannelTone(bool enable)
Enables/disables the idle FM channel tone.
Definition anytone_settingsextension.cc:1544
bool callAlertEnabled() const
Returns true if call alert is enabled.
Definition anytone_settingsextension.cc:1480
Melody * _callMelody
Call melody.
Definition anytone_settingsextension.hh:599
bool _callAlert
Call alert tone enabled.
Definition anytone_settingsextension.hh:590
bool dmrIdle
If true, the idle tone is enabled for DMR channels.
Definition anytone_settingsextension.hh:493
bool wxAlarm
Enables weather alarm tone.
Definition anytone_settingsextension.hh:501
bool dmrIdleChannelToneEnabled() const
Returns true if the idle channel tone is enabled for DMR channel.
Definition anytone_settingsextension.cc:1528
Melody * idleMelody
The idle melody.
Definition anytone_settingsextension.hh:506
bool _talkPermitAnalog
FM talk permit tone.
Definition anytone_settingsextension.hh:592
void enableDigitalResetTone(bool enable)
Enables/disables the reset tone for digital calls.
Definition anytone_settingsextension.cc:1520
Melody * callEndMelody
The call-end melody.
Definition anytone_settingsextension.hh:510
bool keyTone
The key tone setting.
Definition anytone_settingsextension.hh:466
bool fmIdle
If true, the idle tone is enabled for FM channels.
Definition anytone_settingsextension.hh:495
unsigned int _keyToneLevel
The level of key-tones, 0=user adjustable.
Definition anytone_settingsextension.hh:603
Melody * _callEndMelody
Call end melody.
Definition anytone_settingsextension.hh:602
bool talkPermitDigitalEnabled() const
Returns true if the talk permit tone is enabled for digital channels.
Definition anytone_settingsextension.cc:1492
bool tot
Enables transmit timeout notification (5s before TOT).
Definition anytone_settingsextension.hh:499
bool smsAlert
If true, the SMS alert tone is enabled.
Definition anytone_settingsextension.hh:474
bool smsAlertEnabled() const
Returns true if SMS alert is enabled.
Definition anytone_settingsextension.cc:1468
void enableCallAlert(bool enable)
Enables/disables call alert.
Definition anytone_settingsextension.cc:1484
bool _wxAlarm
Weather alarm.
Definition anytone_settingsextension.hh:598
bool keyToneEnabled() const
Returns true if the key tone is enabled.
Definition anytone_settingsextension.cc:1456
void enableTOTNotification(bool enable)
Enables/disables the transmit timeout notification (5s before TOT).
Definition anytone_settingsextension.cc:1568
bool talkPermitAnalogEnabled() const
Returns true if the talk permit tone is enabled for digital channels.
Definition anytone_settingsextension.cc:1504
void setKeyToneLevel(unsigned int level)
Sets the key-tone level.
Definition anytone_settingsextension.cc:1609
void enableDMRIdleChannelTone(bool enable)
Enables/disables the idle DMR channel tone.
Definition anytone_settingsextension.cc:1532
Melody * callMelody
The call melody.
Definition anytone_settingsextension.hh:504
Melody * _idleMelody
Idle melody.
Definition anytone_settingsextension.hh:600
bool _smsAlert
SMS alert tone enabled.
Definition anytone_settingsextension.hh:589
bool _dmrIdleChannelTone
Idle channel tone (DMR).
Definition anytone_settingsextension.hh:594
bool digitalResetToneEnabled() const
Returns true if the reset tone is enabled for digital calls.
Definition anytone_settingsextension.cc:1516
Melody * resetMelody
The reset melody.
Definition anytone_settingsextension.hh:508
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:1446
void enableTalkPermitDigital(bool enable)
Enables/disables the talk permit tone for digital channels.
Definition anytone_settingsextension.cc:1496
void enableWXAlarm(bool enable)
Enables/disables weather alarm.
Definition anytone_settingsextension.cc:1580
bool dmrTalkPermit
If true, the DMR talk permit tone is enabled.
Definition anytone_settingsextension.hh:482
bool totNotification() const
Returns true if the transmit timeout notification is enabled (5s before TOT).
Definition anytone_settingsextension.cc:1564
bool _startupTone
Startup tone enabled.
Definition anytone_settingsextension.hh:596
void enableTalkPermitAnalog(bool enable)
Enables/disables the talk permit tone for analog channels.
Definition anytone_settingsextension.cc:1508
void enableStartupTone(bool enable)
Enables/disables the startup tone.
Definition anytone_settingsextension.cc:1556
bool fmIdleChannelToneEnabled() const
Returns true if the idle channel tone is enabled for FM channel.
Definition anytone_settingsextension.cc:1540
bool _resetToneDigital
DMR reset tone.
Definition anytone_settingsextension.hh:593
bool fmTalkPermit
If true, the FM talk permit tone is enabled.
Definition anytone_settingsextension.hh:490
void enableKeyTone(bool enable)
Enables/disables the key tone.
Definition anytone_settingsextension.cc:1460
bool _fmIdleChannelTone
Idle channel tone (FM).
Definition anytone_settingsextension.hh:595
bool callAlert
If true, the call alert tone is enabled.
Definition anytone_settingsextension.hh:478
bool _keyTone
Key tone property.
Definition anytone_settingsextension.hh:588
Melody * _resetMelody
Reset melody.
Definition anytone_settingsextension.hh:601
void enableSMSAlert(bool enable)
Enables/disables SMS alert.
Definition anytone_settingsextension.cc:1472
bool dmrReset
If true, the DMR reset tone is enabled.
Definition anytone_settingsextension.hh:486
Represents a reference to a channel.
Definition configreference.hh:123
The base class of all channels (analog and digital) of a codeplug configuration.
Definition channel.hh:34
Base class of all device/vendor specific configuration extensions.
Definition configobject.hh:241
Parse context for config objects.
Definition configobject.hh:43
Base class for all configuration objects (channels, zones, contacts, etc).
Definition configobject.hh:35
bool is() const
Returns true if this object is of class Object.
Definition configobject.hh:142
List class for config objects.
Definition configobject.hh:344
Implements a reference to a config object.
Definition configreference.hh:17
Base class of all labeled and named objects.
Definition configobject.hh:194
Implements an interface to Anytone AT-D578UV VHF/UHF 50W DMR (Tier I & II) radios.
Definition d578uv.hh:19
Implements an interface to Anytone AT-D878UV VHF/UHF 7W DMR (Tier I & II) radios.
Definition d878uv.hh:36
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:43
Represents a time interval.
Definition interval.hh:11
A config item that encodes a melody.
Definition melody.hh:20
Base class for all Radio objects.
Definition radio.hh:32
Implements a reference to a roaming zone.
Definition configreference.hh:273
Implements a reference to a zone.
Definition configreference.hh:295
Represents a zone within the generic configuration.
Definition zone.hh:15
Helper type to encode frequencies without any rounding error.
Definition frequency.hh:107