libdrmconf 0.14.0
A library to program DMR radios.
Loading...
Searching...
No Matches
anytone_settingsextension.hh
1#ifndef ANYTONE_SETTINGSEXTENSION_H
2#define ANYTONE_SETTINGSEXTENSION_H
3
4#include <QTimeZone>
5
6#include "configobject.hh"
7#include "configreference.hh"
8#include "interval.hh"
9#include "melody.hh"
10#include "frequency.hh"
11#include "channel.hh"
12
13
14
20{
21 Q_OBJECT
22
28 Q_PROPERTY(QString bootPassword READ bootPassword WRITE setBootPassword)
29
30 Q_CLASSINFO("defaultChannelDescription", "If enabled, the default channels are selected at boot.")
33 Q_CLASSINFO("zoneADescription", "The default zone for VFO A.")
35 Q_PROPERTY(ZoneReference* zoneA READ zoneA)
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.")
41 Q_PROPERTY(ZoneReference* zoneB READ zoneB)
42 Q_CLASSINFO("channelBDescription", "The default channel for VFO B. Must be within zone B.")
49
51 Q_PROPERTY(bool gpsCheck READ gpsCheckEnabled WRITE enableGPSCheck)
53 Q_PROPERTY(bool reset READ resetEnabled WRITE enableReset)
54
55public:
57 enum class BootDisplay {
58 Default = 0, CustomText = 1, CustomImage = 2
59 };
60 Q_ENUM(BootDisplay)
61
62public:
64 explicit AnytoneBootSettingsExtension(QObject *parent=nullptr);
65
66 ConfigItem *clone() const;
67
71 void setBootDisplay(BootDisplay mode);
73 bool bootPasswordEnabled() const;
75 void enableBootPassword(bool enable);
77 const QString &bootPassword() const;
79 void setBootPassword(const QString &pass);
80
82 bool defaultChannelEnabled() const;
84 void enableDefaultChannel(bool enable);
86 ZoneReference *zoneA() const;
90 ZoneReference *zoneB() const;
97
99 bool gpsCheckEnabled() const;
101 void enableGPSCheck(bool enable);
102
104 bool resetEnabled() const;
106 void enableReset(bool enable);
107
108protected:
120 bool _reset;
121};
122
123
129{
130 Q_OBJECT
131
132 Q_CLASSINFO("autoShutDownDelayDescription", "The auto shut-down delay in minutes.")
135
138
139 Q_CLASSINFO("powerSaveDescription", "Specifies the power save mode. "
140 "D686UV, D878UV(2) and DMR-6X2UV only.")
142 Q_PROPERTY(PowerSave powerSave READ powerSave WRITE setPowerSave)
143
145 Q_PROPERTY(bool atpc READ atpc WRITE enableATPC)
146
147public:
149 enum class PowerSave {
150 Off = 0, Save50 = 1, Save66 = 2
151 };
152 Q_ENUM(PowerSave)
153
154public:
156 explicit AnytonePowerSaveSettingsExtension(QObject *parent=nullptr);
157
158 ConfigItem *clone() const;
159
161 Interval autoShutdown() const;
163 void setAutoShutdown(Interval min);
164
166 bool resetAutoShutdownOnCall() const;
168 void enableResetAutoShutdownOnCall(bool enable);
169
171 PowerSave powerSave() const;
173 void setPowerSave(PowerSave mode);
174
176 bool atpc() const;
178 void enableATPC(bool enable);
179
180protected:
183 PowerSave _powerSave;
184 bool _atpc;
185};
186
187
193{
194 Q_OBJECT
195
242
245
248
249 Q_CLASSINFO("knobLockDescription", "If enabled, the knob gets locked too.")
251 Q_PROPERTY(bool knobLock READ knobLockEnabled WRITE enableKnobLock)
252
253 Q_CLASSINFO("keypadLockDescription", "If enabled, the key-pad gets locked.")
256
257 Q_CLASSINFO("sideKeysLockDescription", "If enabled, the side-keys get locked.")
260
261 Q_CLASSINFO("forcedKeyLockDescription", "If enabled, the key-lock is forced.")
264
265public:
267 enum class KeyFunction {
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
276 };
277 Q_ENUM(KeyFunction)
278
279
280 enum class UpDownKeyFunction {
281 Channel, Volume
282 };
283 Q_ENUM(UpDownKeyFunction)
284
285public:
287 explicit AnytoneKeySettingsExtension(QObject *parent=nullptr);
288
289 ConfigItem *clone() const;
290
294 void setFuncKey1Short(KeyFunction func);
298 void setFuncKey1Long(KeyFunction func);
299
303 void setFuncKey2Short(KeyFunction func);
307 void setFuncKey2Long(KeyFunction func);
308
312 void setFuncKey3Short(KeyFunction func);
316 void setFuncKey3Long(KeyFunction func);
317
321 void setFuncKey4Short(KeyFunction func);
325 void setFuncKey4Long(KeyFunction func);
326
330 void setFuncKey5Short(KeyFunction func);
334 void setFuncKey5Long(KeyFunction func);
335
339 void setFuncKey6Short(KeyFunction func);
343 void setFuncKey6Long(KeyFunction func);
344
348 void setFuncKeyAShort(KeyFunction func);
352 void setFuncKeyALong(KeyFunction func);
353
357 void setFuncKeyBShort(KeyFunction func);
361 void setFuncKeyBLong(KeyFunction func);
362
366 void setFuncKeyCShort(KeyFunction func);
370 void setFuncKeyCLong(KeyFunction func);
371
375 void setFuncKeyDShort(KeyFunction func);
379 void setFuncKeyDLong(KeyFunction func);
380
384 void setFuncKnobShort(KeyFunction func);
388 void setFuncKnobLong(KeyFunction func);
389
394
399
401 bool autoKeyLockEnabled() const;
403 void enableAutoKeyLock(bool enabled);
404
406 bool knobLockEnabled() const;
408 void enableKnobLock(bool enable);
410 bool keypadLockEnabled() const;
412 void enableKeypadLock(bool enable);
414 bool sideKeysLockEnabled() const;
416 void enableSideKeysLock(bool enable);
418 bool forcedKeyLockEnabled() const;
420 void enableForcedKeyLock(bool enable);
421
422protected:
452};
453
454
460{
461 Q_OBJECT
462 Q_CLASSINFO("description", "Tone settings for AnyTone devices.")
463
464 Q_CLASSINFO("keyToneDescription", "If true, enables the key tones.")
466 Q_PROPERTY(bool keyTone READ keyToneEnabled WRITE enableKeyTone)
467
468 Q_CLASSINFO("keyToneLevelDescription", "Specifies the key-tone level, 0=user adjustable.")
470 Q_PROPERTY(unsigned int keyToneLevel READ keyToneLevel WRITE setKeyToneLevel)
471
472 Q_CLASSINFO("smsAlertDescription", "Enables/disables the SMS alert tone.")
474 Q_PROPERTY(bool smsAlert READ smsAlertEnabled WRITE enableSMSAlert)
475
476 Q_CLASSINFO("callAlertDescription", "Enables/disables the call alert tone.")
478 Q_PROPERTY(bool callAlert READ callAlertEnabled WRITE enableCallAlert)
479
480 Q_CLASSINFO("dmrTalkPermitDescription", "Enables/disables the talk-permit tone for DMR channels.")
483
484 Q_CLASSINFO("dmrResetDescription", "Enables/disables the reset tone for DMR channels.")
487
488 Q_CLASSINFO("fmTalkPermitDescription", "Enables/disables the talk-permit tone for FM channels.")
491
497 Q_PROPERTY(bool startup READ startupToneEnabled WRITE enableStartupTone)
499 Q_PROPERTY(bool tot READ totNotification WRITE enableTOTNotification)
501 Q_PROPERTY(bool wxAlarm READ wxAlarm WRITE enableWXAlarm)
502
504 Q_PROPERTY(Melody * callMelody READ callMelody)
506 Q_PROPERTY(Melody * idleMelody READ idleMelody)
508 Q_PROPERTY(Melody * resetMelody READ resetMelody)
511
512public:
514 explicit AnytoneToneSettingsExtension(QObject *parent=nullptr);
515
516 ConfigItem *clone() const;
517
519 bool keyToneEnabled() const;
521 void enableKeyTone(bool enable);
522
524 bool smsAlertEnabled() const;
526 void enableSMSAlert(bool enable);
527
529 bool callAlertEnabled() const;
531 void enableCallAlert(bool enable);
532
534 bool talkPermitDigitalEnabled() const;
536 void enableTalkPermitDigital(bool enable);
537
539 bool talkPermitAnalogEnabled() const;
541 void enableTalkPermitAnalog(bool enable);
542
544 bool digitalResetToneEnabled() const;
546 void enableDigitalResetTone(bool enable);
547
549 bool dmrIdleChannelToneEnabled() const;
551 void enableDMRIdleChannelTone(bool enable);
552
554 bool fmIdleChannelToneEnabled() const;
556 void enableFMIdleChannelTone(bool enable);
557
559 bool startupToneEnabled() const;
561 void enableStartupTone(bool enable);
562
564 bool totNotification() const;
566 void enableTOTNotification(bool enable);
567
569 bool wxAlarm() const;
571 void enableWXAlarm(bool enable);
572
574 Melody *callMelody() const;
576 Melody *idleMelody() const;
578 Melody *resetMelody() const;
580 Melody *callEndMelody() const;
581
583 unsigned int keyToneLevel() const;
585 void setKeyToneLevel(unsigned int level);
586
587protected:
588 bool _keyTone;
598 bool _wxAlarm;
603 unsigned int _keyToneLevel;
604
605};
606
607
613{
614 Q_OBJECT
615
617 Q_PROPERTY(bool displayFrequency READ displayFrequencyEnabled WRITE enableDisplayFrequency)
619 Q_PROPERTY(unsigned int brightness READ brightness WRITE setBrightness)
620
621 Q_CLASSINFO("backlightDuration", "The duration in seconds, the backlight keeps lit after any action. ")
623 Q_PROPERTY(Interval backlightDuration READ backlightDuration WRITE setBacklightDuration)
624
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)
629
630 Q_CLASSINFO("backlightDurationRX", "The duration in seconds, the backlight is lit during RX.")
632 Q_PROPERTY(Interval backlightDurationRX READ backlightDurationRX WRITE setBacklightDurationRX)
633
635 Q_PROPERTY(bool customChannelBackground READ customChannelBackground WRITE enableCustomChannelBackground)
636
638 Q_PROPERTY(bool volumeChangePrompt READ volumeChangePromptEnabled WRITE enableVolumeChangePrompt)
640 Q_PROPERTY(bool callEndPrompt READ callEndPromptEnabled WRITE enableCallEndPrompt)
641
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)
662
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)
669
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)
676
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)
683
685 Q_PROPERTY(Language language READ language WRITE setLanguage)
687 Q_PROPERTY(DateFormat dateFormat READ dateFormat WRITE setDateFormat)
688
689public:
691 enum class LastCallerDisplayMode {
692 Off = 0, ID = 1, Call = 2, Both = 3
693 };
694 Q_ENUM(LastCallerDisplayMode)
695
696
697 enum class Color {
698 White = 0, Black = 1, Orange=2, Red=3, Yellow=4, Green=5, Turquoise=6, Blue=7
699 };
700 Q_ENUM(Color)
701
702
703 enum class Language {
704 English = 0,
705 German = 1
706 };
707 Q_ENUM(Language)
708
709
710 enum class DateFormat {
711 YearFirst = 0,
712 DayFirst = 1
713 };
714 Q_ENUM(DateFormat)
715
716public:
718 explicit AnytoneDisplaySettingsExtension(QObject *parent=nullptr);
719
720 ConfigItem *clone() const;
721
723 bool displayFrequencyEnabled() const;
725 void enableDisplayFrequency(bool enable);
726
728 unsigned int brightness() const;
730 void setBrightness(unsigned int level);
731
733 bool volumeChangePromptEnabled() const;
735 void enableVolumeChangePrompt(bool enable);
736
738 bool callEndPromptEnabled() const;
740 void enableCallEndPrompt(bool enable);
741
743 LastCallerDisplayMode lastCallerDisplay() const;
745 void setLastCallerDisplay(LastCallerDisplayMode mode);
746
748 bool showClockEnabled() const;
750 void enableShowClock(bool enable);
751
753 bool showCallEnabled() const;
755 void enableShowCall(bool enable);
756
758 Color callColor() const;
760 void setCallColor(Color color);
761
763 Language language() const;
765 void setLanguage(Language lang);
767 DateFormat dateFormat() const;
769 void setDateFormat(DateFormat format);
770
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);
792
794 bool showContact() const;
796 void enableShowContact(bool enable);
797
799 Color standbyTextColor() const;
801 void setStandbyTextColor(Color color);
803 Color standbyBackgroundColor() const;
805 void setStandbyBackgroundColor(Color color);
806
808 bool showLastHeardEnabled() const;
810 void enableShowLastHeard(bool enable);
811
813 Interval backlightDuration() const;
815 void setBacklightDuration(Interval sec);
816
818 Interval backlightDurationTX() const;
820 void setBacklightDurationTX(Interval sec);
821
823 Color channelNameColor() const;
825 void setChannelNameColor(Color color);
827 Color channelBNameColor() const;
829 void setChannelBNameColor(Color color);
830
832 Color zoneNameColor() const;
834 void setZoneNameColor(Color color);
836 Color zoneBNameColor() const;
838 void setZoneBNameColor(Color color);
839
841 Interval backlightDurationRX() const;
843 void setBacklightDurationRX(Interval sec);
845 bool customChannelBackground() const;
847 void enableCustomChannelBackground(bool enable);
848
849protected:
851 unsigned int _brightness;
854 LastCallerDisplayMode _lastCallerDisplay;
858 Language _language;
859 DateFormat _dateFormat;
877};
878
879
885{
886 Q_OBJECT
887
889 Q_PROPERTY(Interval voxDelay READ voxDelay WRITE setVOXDelay)
891 Q_PROPERTY(VoxSource voxSource READ voxSource WRITE setVOXSource)
892
894 Q_PROPERTY(bool recording READ recordingEnabled WRITE enableRecording)
895
897 Q_PROPERTY(bool enhance READ enhanceAudioEnabled WRITE enableEnhanceAudio)
898
900 Q_PROPERTY(Interval muteDelay READ muteDelay WRITE setMuteDelay)
901
903 Q_PROPERTY(unsigned int maxVolume READ maxVolume WRITE setMaxVolume)
905 Q_PROPERTY(unsigned int maxHeadPhoneVolume READ maxHeadPhoneVolume WRITE setMaxHeadPhoneVolume)
906
908 Q_PROPERTY(Level fmMicGain READ fmMicGain WRITE setFMMicGain)
909
911 Q_PROPERTY(Speaker speaker READ speaker WRITE setSpeaker)
913 Q_PROPERTY(HandsetSpeakerSource handsetSpeaker READ handsetSpeaker WRITE setHandsetSpeaker)
915 Q_PROPERTY(HandsetType handsetType READ handsetType WRITE setHandsetType)
916
917public:
919 enum class VoxSource {
920 Internal = 0, External = 1, Both = 2
921 };
922 Q_ENUM(VoxSource)
923
924
925 enum class Speaker {
926 Handset, Radio, Both
927 };
928 Q_ENUM(Speaker);
929
932 MainChannel, SubChannel
933 };
934 Q_ENUM(HandsetSpeakerSource)
935
936
937 enum class HandsetType {
938 Anytone, Generic
939 };
940 Q_ENUM(HandsetType)
941
942public:
944 explicit AnytoneAudioSettingsExtension(QObject *parent=nullptr);
945
946 ConfigItem *clone() const;
947
949 Interval voxDelay() const;
951 void setVOXDelay(Interval ms);
952
954 VoxSource voxSource() const;
956 void setVOXSource(VoxSource source);
957
959 bool recordingEnabled() const;
961 void enableRecording(bool enable);
962
964 unsigned int maxVolume() const;
966 void setMaxVolume(unsigned int vol);
968 unsigned int maxHeadPhoneVolume() const;
970 void setMaxHeadPhoneVolume(unsigned int vol);
971
973 bool enhanceAudioEnabled() const;
975 void enableEnhanceAudio(bool enable);
976
978 Interval muteDelay() const;
980 void setMuteDelay(Interval intv);
981
983 bool fmMicGainEnabled() const;
985 Level fmMicGain() const;
987 void setFMMicGain(Level gain);
989 void disableFMMicGain();
990
992 Speaker speaker() const;
994 void setSpeaker(Speaker speaker);
995
997 HandsetSpeakerSource handsetSpeaker() const;
999 void setHandsetSpeaker(HandsetSpeakerSource src);
1000
1001 /* Returns the handset type. */
1002 HandsetType handsetType() const;
1004 void setHandsetType(HandsetType type);
1005
1006protected:
1010 unsigned int _maxVolume;
1011 unsigned int _maxHeadPhoneVolume;
1018};
1019
1020
1026{
1027 Q_OBJECT
1028
1029 Q_CLASSINFO("durationDescription", "The time in seconds, the menu is shown.")
1031 Q_PROPERTY(Interval duration READ duration WRITE setDuration)
1032
1033 Q_CLASSINFO("separatorDescription", "If enabled, the menu items are separated by a line.")
1035 Q_PROPERTY(bool separator READ separatorEnabled WRITE enableSeparator)
1036
1037public:
1039 explicit AnytoneMenuSettingsExtension(QObject *parent=nullptr);
1040
1041 ConfigItem *clone() const;
1042
1044 Interval duration() const;
1046 void setDuration(Interval sec);
1048 bool separatorEnabled() const;
1050 void enableSeparator(bool enable);
1051
1052protected:
1053 Interval _menuDuration;
1054 bool _showSeparator;
1055};
1056
1057
1062{
1063 Q_OBJECT
1064 Q_CLASSINFO("IdPrefix", "off")
1065
1066 Q_CLASSINFO("offsetDecription",
1067 "Transmit-frequency offset in Hz.")
1068 Q_CLASSINFO("offsetLongDecription",
1069 "The transmit-frequency offset is specified as a positive integer in Hz. The offset "
1070 "direction is specified for each VFO separately.")
1072 Q_PROPERTY(Frequency offset READ offset WRITE setOffset)
1073
1074public:
1076 explicit Q_INVOKABLE AnytoneAutoRepeaterOffset(QObject *parent=nullptr);
1077
1078 ConfigItem *clone() const;
1079
1081 Frequency offset() const;
1083 void setOffset(Frequency offset);
1084
1085protected:
1087 Frequency _offset;
1088};
1089
1090
1094{
1095 Q_OBJECT
1096
1097public:
1099 explicit AnytoneAutoRepeaterOffsetRef(QObject *parent=nullptr);
1100};
1101
1102
1106{
1107 Q_OBJECT
1108
1109public:
1111 explicit AnytoneAutoRepeaterOffsetList(QObject *parent=nullptr);
1112
1113 ConfigItem *allocateChild(const YAML::Node &node, ConfigItem::Context &ctx, const ErrorStack &err);
1114};
1115
1116
1122{
1123 Q_OBJECT
1124 Q_CLASSINFO("description", "Auto-repeater settings for AnyTone devices.")
1125
1126 Q_CLASSINFO("directionADescription", "Auto-repeater transmit-frequency offset direction for VFO A.")
1128 Q_PROPERTY(Direction directionA READ directionA WRITE setDirectionA)
1129
1130 Q_CLASSINFO("directionBDescription", "Auto-repeater transmit-frequency offset direction for VFO B.")
1132 Q_PROPERTY(Direction directionB READ directionB WRITE setDirectionB)
1133
1134 Q_CLASSINFO("vhfMin", "The minimum frequency in Hz of the VHF auto-repeater frequency range.")
1136 Q_PROPERTY(Frequency vhfMin READ vhfMin WRITE setVHFMin)
1137
1138 Q_CLASSINFO("vhfMax", "The maximum frequency in Hz of the VHF auto-repeater frequency range.")
1140 Q_PROPERTY(Frequency vhfMax READ vhfMax WRITE setVHFMax)
1141
1142 Q_CLASSINFO("uhfMin", "The minimum frequency in Hz of the UHF auto-repeater frequency range.")
1144 Q_PROPERTY(Frequency uhfMin READ uhfMin WRITE setUHFMin)
1145
1146 Q_CLASSINFO("uhfMax", "The maximum frequency in Hz of the UHF auto-repeater frequency range.")
1148 Q_PROPERTY(Frequency uhfMax READ uhfMax WRITE setUHFMax)
1149
1150 Q_CLASSINFO("vhfDescription", "A reference to an offset frequency for the VHF band.")
1152 Q_PROPERTY(AnytoneAutoRepeaterOffsetRef* vhf READ vhfRef)
1153
1154 Q_CLASSINFO("uhfDescription", "A reference to an offset frequency for the UHF band.")
1156 Q_PROPERTY(AnytoneAutoRepeaterOffsetRef* uhf READ uhfRef)
1157
1158 Q_CLASSINFO("vhf2Min", "The minimum frequency in Hz of the second VHF auto-repeater frequency range.")
1160 Q_PROPERTY(Frequency vhf2Min READ vhf2Min WRITE setVHF2Min)
1161
1162 Q_CLASSINFO("vhf2Max", "The maximum frequency in Hz of the second VHF auto-repeater frequency range.")
1164 Q_PROPERTY(Frequency vhf2Max READ vhf2Max WRITE setVHF2Max)
1165
1166 Q_CLASSINFO("uhf2Min", "The minimum frequency in Hz of the second UHF auto-repeater frequency range.")
1168 Q_PROPERTY(Frequency uhf2Min READ uhf2Min WRITE setUHF2Min)
1169
1170 Q_CLASSINFO("uhf2Max", "The maximum frequency in Hz of the second UHF auto-repeater frequency range.")
1172 Q_PROPERTY(Frequency uhf2Max READ uhf2Max WRITE setUHF2Max)
1173
1174 Q_CLASSINFO("vhf2Description", "A reference to an offset frequency for the second VHF band.")
1176 Q_PROPERTY(AnytoneAutoRepeaterOffsetRef* vhf2 READ vhf2Ref)
1177
1178 Q_CLASSINFO("uhf2Description", "A reference to an offset frequency for the second UHF band.")
1180 Q_PROPERTY(AnytoneAutoRepeaterOffsetRef* uhf2 READ uhf2Ref)
1181
1182 Q_CLASSINFO("offsetDescription", "The lists of offset frequencies.")
1184 Q_PROPERTY(AnytoneAutoRepeaterOffsetList* offsets READ offsets)
1185
1186public:
1188 enum class Direction {
1189 Off = 0,
1190 Positive = 1,
1191 Negative = 2
1192 };
1193 Q_ENUM(Direction)
1194
1195public:
1197 explicit AnytoneAutoRepeaterSettingsExtension(QObject *parent=nullptr);
1198
1199 ConfigItem *clone() const;
1200
1202 Direction directionA() const;
1204 void setDirectionA(Direction dir);
1206 Direction directionB() const;
1208 void setDirectionB(Direction dir);
1209
1211 Frequency vhfMin() const;
1213 void setVHFMin(Frequency Hz);
1215 Frequency vhfMax() const;
1217 void setVHFMax(Frequency Hz);
1219 Frequency uhfMin() const;
1221 void setUHFMin(Frequency Hz);
1223 Frequency uhfMax() const;
1225 void setUHFMax(Frequency Hz);
1226
1228 AnytoneAutoRepeaterOffsetRef *uhfRef() const;
1230 AnytoneAutoRepeaterOffsetRef *vhfRef() const;
1231
1233 Frequency vhf2Min() const;
1235 void setVHF2Min(Frequency Hz);
1237 Frequency vhf2Max() const;
1239 void setVHF2Max(Frequency Hz);
1241 Frequency uhf2Min() const;
1243 void setUHF2Min(Frequency Hz);
1245 Frequency uhf2Max() const;
1247 void setUHF2Max(Frequency Hz);
1248
1250 AnytoneAutoRepeaterOffsetRef *uhf2Ref() const;
1252 AnytoneAutoRepeaterOffsetRef *vhf2Ref() const;
1253
1255 AnytoneAutoRepeaterOffsetList *offsets() const;
1256
1257protected:
1288};
1289
1290
1296{
1297 Q_OBJECT
1298
1300 Q_PROPERTY(Interval manualGroupCallHangTime READ manualGroupCallHangTime WRITE setManualGroupCallHangTime)
1302 Q_PROPERTY(Interval manualPrivateCallHangTime READ manualPrivateCallHangTime WRITE setManualPrivateCallHangTime)
1303
1304 Q_CLASSINFO("wakeHeadPeriod", "Sets the wake head-period in ms. Should be set to 100ms.")
1306 Q_PROPERTY(Interval wakeHeadPeriod READ wakeHeadPeriod WRITE setWakeHeadPeriod)
1307
1308 Q_CLASSINFO("filterOwnIDDescription", "If enabled, own ID is not shown in call lists.")
1310 Q_PROPERTY(bool filterOwnID READ filterOwnIDEnabled WRITE enableFilterOwnID)
1311
1312 Q_CLASSINFO("monitorSlotMatchDescription", "Time-slot match-mode for DMR monitor.")
1314 Q_PROPERTY(SlotMatch monitorSlotMatch READ monitorSlotMatch WRITE setMonitorSlotMatch)
1315
1316 Q_CLASSINFO("monitorColorCodeMatchDescription", "If enabled, the DMR monitor will only open for "
1317 "matching color-codes.")
1319 Q_PROPERTY(bool monitorColorCodeMatch READ monitorColorCodeMatchEnabled WRITE enableMonitorColorCodeMatch)
1320
1321 Q_CLASSINFO("monitorIDMatchDescription", "If enabled, the DMR monitor will only open for matching IDs.")
1323 Q_PROPERTY(bool monitorIDMatch READ monitorIDMatchEnabled WRITE enableMonitorIDMatch)
1324
1325 Q_CLASSINFO("monitorTimeSlotHold", "Whether the DMR monitor holds the time-slot.")
1327 Q_PROPERTY(bool monitorTimeSlotHold READ monitorTimeSlotHoldEnabled WRITE enableMonitorTimeSlotHold)
1328
1330 Q_PROPERTY(TalkerAliasSource talkerAliasSource READ talkerAliasSource WRITE setTalkerAliasSource)
1331
1333 Q_PROPERTY(EncryptionType encryption READ encryption WRITE setEncryption)
1334
1335
1336public:
1338 enum class SlotMatch {
1339 Off = 0, Single = 1, Both = 2
1340 };
1341 Q_ENUM(SlotMatch)
1342
1343
1344 enum class TalkerAliasSource {
1345 Off = 0, UserDB = 1, Air = 2
1346 };
1347 Q_ENUM(TalkerAliasSource)
1348
1349
1350 enum class EncryptionType {
1351 AES=0, DMR=1
1352 };
1353 Q_ENUM(EncryptionType)
1354
1355public:
1357 explicit AnytoneDMRSettingsExtension(QObject *parent = nullptr);
1358
1359 ConfigItem *clone() const;
1360
1362 Interval manualGroupCallHangTime() const;
1364 void setManualGroupCallHangTime(Interval sec);
1366 Interval manualPrivateCallHangTime() const;
1368 void setManualPrivateCallHangTime(Interval sec);
1369
1371 Interval wakeHeadPeriod() const;
1373 void setWakeHeadPeriod(Interval ms);
1374
1376 bool filterOwnIDEnabled() const;
1378 void enableFilterOwnID(bool enable);
1379
1381 SlotMatch monitorSlotMatch() const;
1383 void setMonitorSlotMatch(SlotMatch match);
1385 bool monitorColorCodeMatchEnabled() const;
1387 void enableMonitorColorCodeMatch(bool enable);
1389 bool monitorIDMatchEnabled() const;
1391 void enableMonitorIDMatch(bool enable);
1393 bool monitorTimeSlotHoldEnabled() const;
1395 void enableMonitorTimeSlotHold(bool enable);
1396
1398 TalkerAliasSource talkerAliasSource() const;
1400 void setTalkerAliasSource(TalkerAliasSource mode);
1401
1403 EncryptionType encryption() const;
1405 void setEncryption(EncryptionType type);
1406
1407protected:
1416 TalkerAliasSource _talkerAliasSource;
1417 EncryptionType _encryption;
1418};
1419
1420
1426{
1427 Q_OBJECT
1428
1429 Q_CLASSINFO("timeZoneDescription", "Specifies the GPS time-zone (IANA name).")
1431 Q_PROPERTY(QString timeZone READ ianaTimeZone WRITE setIANATimeZone)
1432
1433 Q_CLASSINFO("positionReportingDescription", "Enables GPS range reporting.")
1435 Q_PROPERTY(bool reportPosition READ positionReportingEnabled WRITE enablePositionReporting)
1436
1437 Q_CLASSINFO("updatePeriodDescription", "Specifies the GPS reporting interval in seconds.")
1439 Q_PROPERTY(Interval updatePeriod READ updatePeriod WRITE setUpdatePeriod)
1440
1441public:
1443 explicit AnytoneGPSSettingsExtension(QObject *parent=nullptr);
1444
1445 ConfigItem *clone() const;
1446
1448 QString ianaTimeZone() const;
1450 QTimeZone timeZone() const;
1452 void setIANATimeZone(const QString &id);
1454 void setTimeZone(const QTimeZone &zone);
1455
1457 bool positionReportingEnabled() const;
1459 void enablePositionReporting(bool enable);
1460
1462 Interval updatePeriod() const;
1464 void setUpdatePeriod(Interval sec);
1465
1466protected:
1467 QTimeZone _timeZone;
1468 bool _gpsRangeReporting;
1469 Interval _gpsRangingInterval;
1470};
1471
1472
1478{
1479 Q_OBJECT
1480
1481 Q_CLASSINFO("Description", "Collects all ranging/roaming settings for AnyTone devices.")
1482
1483
1484 Q_PROPERTY(bool autoRoam READ autoRoam WRITE enableAutoRoam)
1485
1486 Q_CLASSINFO("autoRoamPeriodDescription", "Specifies the auto-roaming period in minutes.")
1488 Q_PROPERTY(Interval autoRoamPeriod READ autoRoamPeriod WRITE setAutoRoamPeriod)
1489
1490 Q_CLASSINFO("autoRoamDelayDescription", "A delay in seconds before starting the auto-roaming.")
1492 Q_PROPERTY(Interval autoRoamDelay READ autoRoamDelay WRITE setAutoRoamDelay)
1493
1494 Q_CLASSINFO("roamStart", "Start condition for auto-roaming.")
1496 Q_PROPERTY(RoamStart roamStart READ roamingStartCondition WRITE setRoamingStartCondition)
1497
1498 Q_CLASSINFO("roamReturn", "Condition to return to the original repeater.")
1500 Q_PROPERTY(RoamStart roamReturn READ roamingReturnCondition WRITE setRoamingReturnCondition)
1501
1502 Q_CLASSINFO("rangeCheckDescription", "Repeater range check.")
1504 Q_PROPERTY(bool rangeCheck READ repeaterRangeCheckEnabled WRITE enableRepeaterRangeCheck)
1505
1506 Q_CLASSINFO("checkIntervalDescription", "Repeater range check interval in seconds.")
1508 Q_PROPERTY(Interval checkInterval READ repeaterCheckInterval WRITE setRepeaterCheckInterval)
1509
1510 Q_CLASSINFO("retryCount", "Number of retries to connect to a repeater before giving up.")
1512 Q_PROPERTY(unsigned int retryCount READ repeaterRangeCheckCount WRITE setRepeaterRangeCheckCount)
1513
1515 Q_PROPERTY(OutOfRangeAlert outOfRangeAlert READ outOfRangeAlert WRITE setOutOfRangeAlert)
1516
1517 Q_CLASSINFO("notificationDescription", "Enables the repeater-check notification.")
1519 Q_PROPERTY(bool notification READ notificationEnabled WRITE enableNotification)
1520
1521 Q_CLASSINFO("notificationCountDescription", "The number of repeater-check notifications.")
1523 Q_PROPERTY(unsigned int notificationCount READ notificationCount WRITE setNotificationCount)
1524
1526 Q_PROPERTY(RoamingZoneReference* defaultZone READ defaultZone)
1527
1529 Q_PROPERTY(bool gpsRoaming READ gpsRoaming WRITE enableGPSRoaming)
1530
1531public:
1533 enum class RoamStart {
1534 Periodic=0, OutOfRange=1
1535 };
1536 Q_ENUM(RoamStart)
1537
1538
1539 enum class OutOfRangeAlert {
1540 None = 0x00, Bell = 0x01, Voice = 0x02
1541 };
1542 Q_ENUM(OutOfRangeAlert)
1543
1544public:
1546 explicit AnytoneRoamingSettingsExtension(QObject *parent=nullptr);
1547
1548 ConfigItem *clone() const;
1549
1551 bool autoRoam() const;
1553 void enableAutoRoam(bool enable);
1554
1556 Interval autoRoamPeriod() const;
1558 void setAutoRoamPeriod(Interval min);
1560 Interval autoRoamDelay() const;
1562 void setAutoRoamDelay(Interval sec);
1563
1565 bool repeaterRangeCheckEnabled() const;
1567 void enableRepeaterRangeCheck(bool enable);
1569 Interval repeaterCheckInterval() const;
1571 void setRepeaterCheckInterval(Interval sec);
1573 unsigned int repeaterRangeCheckCount() const;
1575 void setRepeaterRangeCheckCount(unsigned int count);
1577 OutOfRangeAlert outOfRangeAlert() const;
1579 void setOutOfRangeAlert(OutOfRangeAlert type);
1580
1582 RoamStart roamingStartCondition() const;
1584 void setRoamingStartCondition(RoamStart start);
1586 RoamStart roamingReturnCondition() const;
1588 void setRoamingReturnCondition(RoamStart start);
1589
1591 bool notificationEnabled() const;
1593 void enableNotification(bool enable);
1595 unsigned int notificationCount() const;
1597 void setNotificationCount(unsigned int n);
1598
1600 bool gpsRoaming() const;
1602 void enableGPSRoaming(bool enable);
1603
1605 RoamingZoneReference *defaultZone() const;
1606
1607protected:
1618 unsigned int _notificationCount;
1621};
1622
1623
1624
1630{
1631 Q_OBJECT
1632
1633 Q_CLASSINFO("Description", "Collects all bluetooth handset settings for AnyTone devices.")
1634
1635 Q_CLASSINFO("shutdownDescription", "Shuts the handset off too, when the radio is turned off.")
1636 Q_PROPERTY(bool shutdown READ shutdownEnabled WRITE enableShutdown)
1637
1638 Q_CLASSINFO("volumeLevelADescription", "Sets the volume level for VFO A.")
1639 Q_PROPERTY(unsigned int volumeLevelA READ volumeLevelA WRITE setVolumeLevelA)
1640 Q_CLASSINFO("volumeLevelBDescription", "Sets the volume level for VFO B.")
1641 Q_PROPERTY(unsigned int volumeLevelB READ volumeLevelB WRITE setVolumeLevelB)
1642
1643 Q_CLASSINFO("micGainDescription", "Specifies the microphone gain.")
1644 Q_PROPERTY(unsigned int micGain READ micGain WRITE setMicGain)
1645
1646 Q_PROPERTY(unsigned int squelch READ squelch WRITE setSquelch)
1647
1648 Q_PROPERTY(unsigned int txNoiseReduction READ txNoiseReduction WRITE setTxNoiseReduction)
1649
1650 Q_PROPERTY(unsigned int voxLevel READ voxLevel WRITE setVoxLevel)
1651 Q_PROPERTY(Interval voxDelay READ voxDelay WRITE setVoxDelay)
1652
1653 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyAShort READ funcKeyAShort WRITE setFuncKeyAShort)
1654 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyBShort READ funcKeyBShort WRITE setFuncKeyBShort)
1655 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyCShort READ funcKeyCShort WRITE setFuncKeyCShort)
1656 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyALong READ funcKeyALong WRITE setFuncKeyALong)
1657 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyBLong READ funcKeyBLong WRITE setFuncKeyBLong)
1658 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyCLong READ funcKeyCLong WRITE setFuncKeyCLong)
1659 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyAVeryLong READ funcKeyAVeryLong WRITE setFuncKeyAVeryLong)
1660 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyBVeryLong READ funcKeyBVeryLong WRITE setFuncKeyBVeryLong)
1661 Q_PROPERTY(AnytoneKeySettingsExtension::KeyFunction funcKeyCVeryLong READ funcKeyCVeryLong WRITE setFuncKeyCVeryLong)
1662
1663 Q_PROPERTY(Interval backlight READ backlight WRITE setBacklight)
1664
1665public:
1667 explicit AnytoneBluetoothHandsetSettingsExtension(QObject *parent=nullptr);
1668
1669 ConfigItem *clone() const override;
1670
1672 bool shutdownEnabled() const;
1674 void enableShutdown(bool enable);
1675
1677 unsigned int volumeLevelA() const;
1679 void setVolumeLevelA(unsigned int level);
1681 unsigned int volumeLevelB() const;
1683 void setVolumeLevelB(unsigned int level);
1684
1686 unsigned int micGain() const;
1688 void setMicGain(unsigned int gain);
1689
1691 unsigned int squelch() const;
1693 void setSquelch(unsigned int level);
1694
1696 unsigned int txNoiseReduction() const;
1698 void setTxNoiseReduction(unsigned int level);
1699
1701 unsigned int voxLevel() const;
1703 void setVoxLevel(unsigned int level);
1704
1706 Interval voxDelay() const;
1708 void setVoxDelay(Interval delay);
1709
1711 AnytoneKeySettingsExtension::KeyFunction funcKeyAShort() const;
1713 void setFuncKeyAShort(AnytoneKeySettingsExtension::KeyFunction func);
1715 AnytoneKeySettingsExtension::KeyFunction funcKeyBShort() const;
1717 void setFuncKeyBShort(AnytoneKeySettingsExtension::KeyFunction func);
1719 AnytoneKeySettingsExtension::KeyFunction funcKeyCShort() const;
1721 void setFuncKeyCShort(AnytoneKeySettingsExtension::KeyFunction func);
1723 AnytoneKeySettingsExtension::KeyFunction funcKeyALong() const;
1725 void setFuncKeyALong(AnytoneKeySettingsExtension::KeyFunction func);
1727 AnytoneKeySettingsExtension::KeyFunction funcKeyBLong() const;
1729 void setFuncKeyBLong(AnytoneKeySettingsExtension::KeyFunction func);
1731 AnytoneKeySettingsExtension::KeyFunction funcKeyCLong() const;
1733 void setFuncKeyCLong(AnytoneKeySettingsExtension::KeyFunction func);
1735 AnytoneKeySettingsExtension::KeyFunction funcKeyAVeryLong() const;
1737 void setFuncKeyAVeryLong(AnytoneKeySettingsExtension::KeyFunction func);
1739 AnytoneKeySettingsExtension::KeyFunction funcKeyBVeryLong() const;
1741 void setFuncKeyBVeryLong(AnytoneKeySettingsExtension::KeyFunction func);
1743 AnytoneKeySettingsExtension::KeyFunction funcKeyCVeryLong() const;
1745 void setFuncKeyCVeryLong(AnytoneKeySettingsExtension::KeyFunction func);
1746
1748 Interval backlight() const;
1750 void setBacklight(Interval dur);
1751
1752protected:
1754 unsigned int _volumeLevelA;
1755 unsigned int _volumeLevelB;
1756 unsigned int _micGain;
1757 unsigned int _squelch;
1758 unsigned int _txNoiseReduction;
1759 unsigned int _voxLevel;
1780};
1781
1782
1783
1789{
1790 Q_OBJECT
1791
1792 Q_CLASSINFO("Description", "Collects all bluetooth settings for AnyTone devices.")
1793
1794
1795 Q_PROPERTY(bool enabled READ bluetoothEnabled WRITE enableBluetooth)
1797 Q_PROPERTY(bool pttLatch READ pttLatch WRITE enablePTTLatch)
1799 Q_PROPERTY(Interval pttSleepTimer READ pttSleepTimer WRITE setPTTSleepTimer)
1801 Q_PROPERTY(bool internalMic READ internalMicEnabled WRITE enableInternalMic)
1803 Q_PROPERTY(bool internalSpeaker READ internalSpeakerEnabled WRITE enableInternalSpeaker)
1805 Q_PROPERTY(unsigned int micGain READ micGain WRITE setMicGain);
1807 Q_PROPERTY(unsigned int speakerGain READ speakerGain WRITE setSpeakerGain);
1809 Q_PROPERTY(Interval hold READ holdDuration WRITE setHoldDuration)
1811 Q_PROPERTY(Interval holdDelay READ holdDelay WRITE setHoldDelay)
1813 Q_PROPERTY(AnytoneBluetoothHandsetSettingsExtension* handset READ handset)
1814
1815public:
1817 explicit AnytoneBluetoothSettingsExtension(QObject *parent=nullptr);
1818
1819 ConfigItem *clone() const;
1820
1823
1825 bool bluetoothEnabled() const;
1827 void enableBluetooth(bool enable);
1828
1830 bool pttLatch() const;
1832 void enablePTTLatch(bool enable);
1833
1835 Interval pttSleepTimer() const;
1837 void setPTTSleepTimer(Interval intv);
1838
1840 bool internalMicEnabled() const;
1842 void enableInternalMic(bool enable);
1843
1845 bool internalSpeakerEnabled() const;
1847 void enableInternalSpeaker(bool enable);
1848
1850 unsigned int micGain() const;
1852 void setMicGain(unsigned int gain);
1853
1855 unsigned int speakerGain() const;
1857 void setSpeakerGain(unsigned int gain);
1858
1860 const Interval &holdDuration() const;
1862 void setHoldDuration(const Interval &dur);
1863
1865 const Interval &holdDelay() const;
1867 void setHoldDelay(const Interval &dur);
1868
1869protected:
1872 bool _bluetoothEnabled;
1873 bool _pttLatch;
1874 Interval _pttSleep;
1875 bool _internalMic;
1876 bool _internalSpeaker;
1877 unsigned int _micGain;
1878 unsigned int _speakerGain;
1879 Interval _holdDuration;
1880 Interval _holdDelay;
1881};
1882
1883
1884
1890{
1891 Q_OBJECT
1892
1893 Q_CLASSINFO("enabledDescription", "If true, the repeater feature is enabled.")
1895 Q_PROPERTY(bool enabled READ enabled WRITE enable)
1896
1897 Q_CLASSINFO("monitorDescription", "If true, the repeater-monitoring is enabled.")
1899 Q_PROPERTY(bool monitor READ monitorEnabled WRITE enableMonitor)
1900
1901 Q_CLASSINFO("timeSlotDescription", "Specifies the time-slot of the primary repeater channel.")
1903 Q_PROPERTY(TimeSlot timeSlot READ timeSlot WRITE setTimeSlot)
1904
1905 Q_CLASSINFO("secTimeSlotDescription", "Specifies the time-slot of the secondary repeater channel.")
1907 Q_PROPERTY(TimeSlot secTimeSlot READ secTimeSlot WRITE setSecTimeSlot)
1908
1909 Q_CLASSINFO("colorCodeDescription", "Specifies the repeater color code.")
1910 Q_PROPERTY(ColorCode colorCode READ colorCode WRITE setColorCode)
1911
1912public:
1914 enum class TimeSlot {
1915 Any, TS1, TS2, Channel
1916 };
1917 Q_ENUM(TimeSlot)
1918
1919
1920 enum class ColorCode {
1921 Ignored, VFOA, VFOB
1922 };
1923 Q_ENUM(ColorCode)
1924
1925public:
1927 explicit AnytoneRepeaterSettingsExtension(QObject *parent=nullptr);
1928
1929 ConfigItem *clone() const;
1930
1932 bool enabled() const;
1934 void enable(bool enable);
1935
1937 bool monitorEnabled() const;
1939 void enableMonitor(bool enable);
1940
1942 TimeSlot timeSlot() const;
1944 void setTimeSlot(TimeSlot ts);
1945
1947 TimeSlot secTimeSlot() const;
1949 void setSecTimeSlot(TimeSlot ts);
1950
1952 ColorCode colorCode() const;
1954 void setColorCode(ColorCode code);
1955
1956protected:
1962};
1963
1964
1965
1971{
1972 Q_OBJECT
1973
1974 Q_CLASSINFO("powerDescription", "Specifies the transmit power in satellite mode.")
1976 Q_PROPERTY(Channel::Power power READ power WRITE setPower)
1977
1978 Q_CLASSINFO("squelchDescription", "Specifies FM squelch level in satellite mode.")
1980 Q_PROPERTY(unsigned int squelch READ squelch WRITE setSquelch)
1981
1982public:
1984 explicit AnytoneSatelliteSettingsExtension(QObject *parent=nullptr);
1985
1986 ConfigItem *clone() const;
1987
1989 Channel::Power power() const;
1991 void setPower(Channel::Power power);
1992
1994 unsigned int squelch() const;
1996 void setSquelch(unsigned int squelch);
1997
1998protected:
2000 Channel::Power _power;
2002 unsigned int _squelch;
2003};
2004
2005
2006
2014{
2015 Q_OBJECT
2016
2017 Q_CLASSINFO("description", "Device specific settings for AnyTone devices.")
2018
2019 Q_CLASSINFO("subChannelDescription", "Enables/disables the sub-channel.")
2021 Q_PROPERTY(bool subChannel READ subChannelEnabled WRITE enableSubChannel)
2022
2023 Q_CLASSINFO("selectedVFODecription", "Specifies the currently selected VFO (A or B).")
2025 Q_PROPERTY(VFO selectedVFO READ selectedVFO WRITE setSelectedVFO)
2026
2027 Q_CLASSINFO("modeADescription", "Specifies the mode (memory or VFO) for VFO A.")
2028 Q_CLASSINFO("modeBDescription", "Specifies the mode (memory or VFO) for VFO B.")
2030 Q_PROPERTY(VFOMode modeA READ modeA WRITE setModeA)
2032 Q_PROPERTY(VFOMode modeB READ modeB WRITE setModeB)
2033
2034 Q_CLASSINFO("zoneADescription", "Specifies the current zone for VFO A.")
2035 Q_CLASSINFO("zoneBDescription", "Specifies the current zone for VFO B.")
2037 Q_PROPERTY(ZoneReference* zoneA READ zoneA)
2039 Q_PROPERTY(ZoneReference* zoneB READ zoneB)
2040
2042 Q_PROPERTY(VFOScanType vfoScanType READ vfoScanType WRITE setVFOScanType)
2044 Q_PROPERTY(Frequency minVFOScanFrequencyUHF READ minVFOScanFrequencyUHF WRITE setMinVFOScanFrequencyUHF)
2046 Q_PROPERTY(Frequency maxVFOScanFrequencyUHF READ maxVFOScanFrequencyUHF WRITE setMaxVFOScanFrequencyUHF)
2048 Q_PROPERTY(Frequency minVFOScanFrequencyVHF READ minVFOScanFrequencyVHF WRITE setMinVFOScanFrequencyVHF)
2050 Q_PROPERTY(Frequency maxVFOScanFrequencyVHF READ maxVFOScanFrequencyVHF WRITE setMaxVFOScanFrequencyVHF)
2051
2052 Q_CLASSINFO("keepLastCallerDescription", "Keeps the last caller on channel switch")
2054 Q_PROPERTY(bool keepLastCaller READ keepLastCallerEnabled WRITE enableKeepLastCaller)
2055
2056 Q_CLASSINFO("vfoStepDescription", "Specifies the VFO tuning steps in kHz.")
2058 Q_PROPERTY(Frequency vfoStep READ vfoStep WRITE setVFOStep)
2059
2060 Q_CLASSINFO("steTypeDescription", "Specifies the STE (squelch tail elimination) type.")
2061 Q_CLASSINFO("steTypeLongDescription", "Can also be used to disable the STE entirely.")
2063 Q_PROPERTY(STEType steType READ steType WRITE setSTEType)
2064
2065 Q_CLASSINFO("steFrequencyDescription", "Specifies the STE (squelch tail elimination) frequency in Hz.")
2067 Q_PROPERTY(double steFrequency READ steFrequency WRITE setSTEFrequency)
2068
2069 Q_CLASSINFO("steDurationDescription", "Specifies the duration of the STE (squelch tail elimination) tone.")
2070 Q_CLASSINFO("steDurationLongDescription", "Valid values are usually in the range between 10 and 1000ms.")
2072 Q_PROPERTY(Interval steDuration READ steDuration WRITE setSTEDuration)
2073
2074 Q_CLASSINFO("tbstFrequencyDescription", "Specifies the TBST frequency in Hz.")
2075 Q_CLASSINFO("tbstFrequencyDescription", "Should be one of 1000, 1450, 1750 and 2100 Hz. "
2076 "D878UV(2), D578UV and DMR-6X2UV only.")
2078 Q_PROPERTY(Frequency tbstFrequency READ tbstFrequency WRITE setTBSTFrequency)
2079
2080 Q_CLASSINFO("proModeDescription", "Enables 'professional' mode. This limits the option reachable via the menu.")
2082 Q_PROPERTY(bool proMode READ proModeEnabled WRITE enableProMode)
2083
2085 Q_PROPERTY(bool maintainCallChannel READ maintainCallChannelEnabled WRITE enableMaintainCallChannel)
2086
2088 Q_PROPERTY(FanControl fan READ fan WRITE setFan);
2089
2091 Q_PROPERTY(AnytoneBootSettingsExtension* bootSettings READ bootSettings)
2093 Q_PROPERTY(AnytonePowerSaveSettingsExtension* powerSaveSettings READ powerSaveSettings)
2095 Q_PROPERTY(AnytoneKeySettingsExtension* keySettings READ keySettings)
2097 Q_PROPERTY(AnytoneToneSettingsExtension* toneSettings READ toneSettings)
2099 Q_PROPERTY(AnytoneDisplaySettingsExtension* displaySettings READ displaySettings)
2101 Q_PROPERTY(AnytoneAudioSettingsExtension* audioSettings READ audioSettings)
2103 Q_PROPERTY(AnytoneMenuSettingsExtension* menuSettings READ menuSettings)
2105 Q_PROPERTY(AnytoneAutoRepeaterSettingsExtension* autoRepeaterSettings READ autoRepeaterSettings)
2107 Q_PROPERTY(AnytoneDMRSettingsExtension* dmrSettings READ dmrSettings)
2109 Q_PROPERTY(AnytoneGPSSettingsExtension* gpsSettings READ gpsSettings)
2111 Q_PROPERTY(AnytoneRoamingSettingsExtension* roamingSettings READ roamingSettings)
2113 Q_PROPERTY(AnytoneBluetoothSettingsExtension* bluetoothSettings READ bluetoothSettings)
2114
2115 Q_CLASSINFO("simplexRepeaterSettingsDescription",
2116 "Configuration for the DMR-6X2UV simplex-repeater feature.")
2118 Q_PROPERTY(AnytoneRepeaterSettingsExtension * repeaterSettings READ repeaterSettings)
2119
2120 Q_CLASSINFO("satelliteSettingsDescription",
2121 "Some settings of for satellite mode.")
2122 Q_PROPERTY(AnytoneSatelliteSettingsExtension * satelliteSettings READ satelliteSettings)
2123
2124public:
2126 enum class VFOScanType {
2127 Time = 0, Carrier = 1, Stop = 2
2128 };
2129 Q_ENUM(VFOScanType)
2130
2131
2132 enum class VFOMode {
2133 Memory = 0, VFO = 1
2134 };
2135 Q_ENUM(VFOMode)
2136
2137
2138 enum class VFO {
2139 A = 0, B = 1
2140 };
2141 Q_ENUM(VFO)
2142
2143
2144 enum class STEType {
2145 Off = 0, Silent = 1, Deg120 = 2, Deg180 = 3, Deg240 = 4
2146 };
2147 Q_ENUM(STEType)
2148
2149 enum class FanControl {
2150 PTT, Temperature, Both
2151 };
2152 Q_ENUM(FanControl)
2153
2154
2155public:
2157 Q_INVOKABLE explicit AnytoneSettingsExtension(QObject *parent=nullptr);
2158
2159 ConfigItem *clone() const;
2160
2162 AnytoneBootSettingsExtension *bootSettings() const;
2164 AnytonePowerSaveSettingsExtension *powerSaveSettings() const;
2166 AnytoneKeySettingsExtension *keySettings() const;
2168 AnytoneToneSettingsExtension *toneSettings() const;
2170 AnytoneDisplaySettingsExtension *displaySettings() const;
2172 AnytoneAudioSettingsExtension *audioSettings() const;
2174 AnytoneMenuSettingsExtension *menuSettings() const;
2176 AnytoneAutoRepeaterSettingsExtension *autoRepeaterSettings() const;
2178 AnytoneDMRSettingsExtension *dmrSettings() const;
2180 AnytoneGPSSettingsExtension *gpsSettings() const;
2182 AnytoneRoamingSettingsExtension *roamingSettings() const;
2184 AnytoneBluetoothSettingsExtension *bluetoothSettings() const;
2186 AnytoneRepeaterSettingsExtension *repeaterSettings() const;
2188 AnytoneSatelliteSettingsExtension *satelliteSettings() const;
2189
2191 VFOScanType vfoScanType() const;
2193 void setVFOScanType(VFOScanType type);
2194
2196 VFOMode modeA() const;
2198 void setModeA(VFOMode mode);
2200 VFOMode modeB() const;
2202 void setModeB(VFOMode mode);
2203
2207 const ZoneReference *zoneA() const;
2211 const ZoneReference *zoneB() const;
2212
2214 VFO selectedVFO() const;
2216 void setSelectedVFO(VFO vfo);
2217
2219 bool subChannelEnabled() const;
2221 void enableSubChannel(bool enable);
2222
2224 Frequency minVFOScanFrequencyUHF() const;
2226 void setMinVFOScanFrequencyUHF(Frequency hz);
2228 Frequency maxVFOScanFrequencyUHF() const;
2230 void setMaxVFOScanFrequencyUHF(Frequency hz);
2231
2233 Frequency minVFOScanFrequencyVHF() const;
2235 void setMinVFOScanFrequencyVHF(Frequency hz);
2237 Frequency maxVFOScanFrequencyVHF() const;
2239 void setMaxVFOScanFrequencyVHF(Frequency hz);
2240
2242 bool keepLastCallerEnabled() const;
2244 void enableKeepLastCaller(bool enable);
2245
2247 Frequency vfoStep() const;
2249 void setVFOStep(Frequency step);
2250
2252 STEType steType() const;
2254 void setSTEType(STEType type);
2257 double steFrequency() const;
2260 void setSTEFrequency(double freq);
2262 Interval steDuration() const;
2264 void setSTEDuration(Interval intv);
2265
2267 Frequency tbstFrequency() const;
2269 void setTBSTFrequency(Frequency Hz);
2270
2272 bool proModeEnabled() const;
2274 void enableProMode(bool enable);
2275
2277 bool maintainCallChannelEnabled() const;
2279 void enableMaintainCallChannel(bool enable);
2280
2282 FanControl fan() const;
2284 void setFan(FanControl ctlr);
2285
2287 //Channel::Power satPower();
2288
2289protected:
2318
2338 FanControl _fan;
2339};
2340
2341
2342
2343#endif // ANYTONE_SETTINGSEXTENSION_H
Implements the audio settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:885
bool _recording
Recording enabled.
Definition anytone_settingsextension.hh:1008
Interval _voxDelay
VOX delay in ms.
Definition anytone_settingsextension.hh:1007
VoxSource
Source for the VOX.
Definition anytone_settingsextension.hh:919
HandsetSpeakerSource
Possible handset speaker sources.
Definition anytone_settingsextension.hh:931
HandsetType _handsetType
Handset type.
Definition anytone_settingsextension.hh:1017
bool _enhanceAudio
Enhance audio.
Definition anytone_settingsextension.hh:1012
HandsetType
Specifies possible handset types.
Definition anytone_settingsextension.hh:937
Level _analogMicGain
The FM mic gain.
Definition anytone_settingsextension.hh:1014
unsigned int _maxVolume
The maximum volume.
Definition anytone_settingsextension.hh:1010
HandsetSpeakerSource _handsetSpeaker
Specifies the handset speaker source.
Definition anytone_settingsextension.hh:1016
Interval _muteDelay
Mute delay in minutes.
Definition anytone_settingsextension.hh:1013
unsigned int _maxHeadPhoneVolume
The maximum head-phone volume.
Definition anytone_settingsextension.hh:1011
VoxSource _voxSource
The VOX source.
Definition anytone_settingsextension.hh:1009
Speaker
Possible speaker settings.
Definition anytone_settingsextension.hh:925
Speaker _speaker
Specifies which speaker are enabled.
Definition anytone_settingsextension.hh:1015
Represents a list of auto-repeater offsets.
Definition anytone_settingsextension.hh:1106
Represents a reference to a repeater offset.
Definition anytone_settingsextension.hh:1094
Implements the config representation of a repeater offset.
Definition anytone_settingsextension.hh:1062
Implements the auto-repeater settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1122
Frequency _minUHF2
Minimum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1279
Frequency _maxUHF2
Maximum frequency of the second UHF auto-repeater range.
Definition anytone_settingsextension.hh:1281
Frequency _maxVHF
Maximum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1265
Direction _directionA
The auto-repeater direction for VFO A.
Definition anytone_settingsextension.hh:1259
Frequency _minVHF
Minimum frequency of the VHF auto-repeater range.
Definition anytone_settingsextension.hh:1263
AnytoneAutoRepeaterOffsetRef * _uhf2Offset
A reference to the second UHF offset frequency.
Definition anytone_settingsextension.hh:1285
Direction _directionB
The auto-repeater direction for VFO B.
Definition anytone_settingsextension.hh:1261
Direction
Encodes the auto-repeater offset sign.
Definition anytone_settingsextension.hh:1188
AnytoneAutoRepeaterOffsetRef * _vhfOffset
A reference to the VHF offset frequency.
Definition anytone_settingsextension.hh:1271
Frequency _maxVHF2
Maximum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1277
AnytoneAutoRepeaterOffsetRef * _uhfOffset
A reference to the UHF offset frequency.
Definition anytone_settingsextension.hh:1273
Frequency _minUHF
Minimum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1267
AnytoneAutoRepeaterOffsetList * _offsets
The list of repeater offsets.
Definition anytone_settingsextension.hh:1287
Frequency _maxUHF
Maximum frequency of the UHF auto-repeater range.
Definition anytone_settingsextension.hh:1269
Frequency _minVHF2
Minimum frequency of the second VHF auto-repeater range.
Definition anytone_settingsextension.hh:1275
AnytoneAutoRepeaterOffsetRef * _vhf2Offset
A reference to the second VHF offset frequency.
Definition anytone_settingsextension.hh:1283
Implements the bluetooth handset settings for AnyTone devices.
Definition anytone_settingsextension.hh:1630
AnytoneKeySettingsExtension::KeyFunction _funcKeyBLong
Function key B long press function.
Definition anytone_settingsextension.hh:1770
unsigned int _voxLevel
Specifies the VOX level.
Definition anytone_settingsextension.hh:1759
unsigned int _volumeLevelB
Specifies the volume level for VFO B.
Definition anytone_settingsextension.hh:1755
AnytoneKeySettingsExtension::KeyFunction _funcKeyCLong
Function key B long press function.
Definition anytone_settingsextension.hh:1772
unsigned int _volumeLevelA
Specifies the volume level for VFO A.
Definition anytone_settingsextension.hh:1754
unsigned int _txNoiseReduction
Specifies the transmit noise reduction level.
Definition anytone_settingsextension.hh:1758
unsigned int _squelch
Specifies the squelch level.
Definition anytone_settingsextension.hh:1757
AnytoneKeySettingsExtension::KeyFunction _funcKeyCShort
Function key B short press function.
Definition anytone_settingsextension.hh:1766
bool _shutdown
Shut the handset down along with the radio.
Definition anytone_settingsextension.hh:1753
AnytoneKeySettingsExtension::KeyFunction _funcKeyALong
Function key A long press function.
Definition anytone_settingsextension.hh:1768
Interval _voxDelay
Specifies the VOX delay.
Definition anytone_settingsextension.hh:1760
AnytoneKeySettingsExtension::KeyFunction _funcKeyAShort
Function key A short press function.
Definition anytone_settingsextension.hh:1762
AnytoneKeySettingsExtension::KeyFunction _funcKeyBShort
Function key B short press function.
Definition anytone_settingsextension.hh:1764
AnytoneKeySettingsExtension::KeyFunction _funcKeyBVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1776
AnytoneKeySettingsExtension::KeyFunction _funcKeyCVeryLong
Function key B very long press function.
Definition anytone_settingsextension.hh:1778
Interval _backlight
Backlight duration.
Definition anytone_settingsextension.hh:1779
unsigned int _micGain
Specifies the mic gain.
Definition anytone_settingsextension.hh:1756
AnytoneKeySettingsExtension::KeyFunction _funcKeyAVeryLong
Function key A very long press function.
Definition anytone_settingsextension.hh:1774
Implements the bluetooth settings for some AnyTone devices.
Definition anytone_settingsextension.hh:1789
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:814
bool resetEnabled() const
Returns true if the MCU is reset on boot.
Definition anytone_settingsextension.cc:884
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:888
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:788
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:838
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:872
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:876
bool defaultChannelEnabled() const
If true, the radio switches to the default channel at boot.
Definition anytone_settingsextension.cc:834
BootDisplay
What to display during boot.
Definition anytone_settingsextension.hh:57
void setBootDisplay(BootDisplay mode)
Sets the boot display.
Definition anytone_settingsextension.cc:802
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:826
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:1296
bool _monitorColorCodeMatch
Enables CC match for DMR monitor.
Definition anytone_settingsextension.hh:1413
bool _monitorIDMatch
Enables ID match for DMR monitor.
Definition anytone_settingsextension.hh:1414
EncryptionType _encryption
DMR encryption type.
Definition anytone_settingsextension.hh:1417
bool _monitorTimeSlotHold
Enables the time-slot hold for the DMR monitor.
Definition anytone_settingsextension.hh:1415
Interval _manualGroupCallHangTime
Hang-time for manual dialed group-calls in seconds.
Definition anytone_settingsextension.hh:1408
bool _filterOwnID
If enabled, the own ID is not shown in call lists.
Definition anytone_settingsextension.hh:1411
SlotMatch _monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_settingsextension.hh:1412
Interval _wakeHeadPeriod
Wake head-period in ms, should be 100ms.
Definition anytone_settingsextension.hh:1410
TalkerAliasSource _talkerAliasSource
Source for the talker alias.
Definition anytone_settingsextension.hh:1416
Interval _manualPrivateCallHangTime
Hang-time for manual dialed private-calls in seconds.
Definition anytone_settingsextension.hh:1409
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:1426
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:1175
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:1198
void setFuncKey5Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 5.
Definition anytone_settingsextension.cc:1095
void enableKeypadLock(bool enable)
Enables/disables the key-pad lock.
Definition anytone_settingsextension.cc:1311
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:1318
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:1026
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:1300
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:1221
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:1261
void setFuncKey4Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 4.
Definition anytone_settingsextension.cc:1072
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:1275
void setFuncKeyDShort(KeyFunction func)
Sets the key function for a short press on the function key D.
Definition anytone_settingsextension.cc:1210
void setFuncKeyAShort(KeyFunction func)
Sets the key function for a short press on the function key A.
Definition anytone_settingsextension.cc:1141
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:1049
bool knobLockEnabled() const
Returns true if the knob gets locked too.
Definition anytone_settingsextension.cc:1296
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:1284
UpDownKeyFunction upDownKeyFunction() const
Returns the up/down key function.
Definition anytone_settingsextension.cc:1270
void setFuncKnobLong(KeyFunction func)
Sets the key function for a long press on the knob.
Definition anytone_settingsextension.cc:1248
void setFuncKey1Short(KeyFunction func)
Sets the key function for a short press on the function key 1.
Definition anytone_settingsextension.cc:1003
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:1083
void setFuncKeyALong(KeyFunction func)
Sets the key function for a long press on the function key A.
Definition anytone_settingsextension.cc:1152
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:1164
void enableAutoKeyLock(bool enabled)
Enables/disables auto key-lock.
Definition anytone_settingsextension.cc:1288
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:1037
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:1060
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:1307
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:1235
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:989
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:1106
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:1329
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:1333
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:1014
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:1322
void setFuncKey6Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 6.
Definition anytone_settingsextension.cc:1118
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:1129
void setFuncKeyCShort(KeyFunction func)
Sets the key function for a short press on the function key C.
Definition anytone_settingsextension.cc:1187
bool _keypadLock
Key-pad is locked.
Definition anytone_settingsextension.hh:449
Implements the menu settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1026
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:941
void setAutoShutdown(Interval min)
Sets the auto shut-down delay.
Definition anytone_settingsextension.cc:921
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:907
void enableResetAutoShutdownOnCall(bool enable)
Enables/disables reset of auto shut-down timer on every call.
Definition anytone_settingsextension.cc:933
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:953
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:957
bool _atpc
Adaptive Transmission Power Control.
Definition anytone_settingsextension.hh:184
void setPowerSave(PowerSave mode)
Sets the power-save mode.
Definition anytone_settingsextension.cc:945
Implements the repeater settings for the BTECH DMR-6X2UV and AT-D578UV.
Definition anytone_settingsextension.hh:1890
TimeSlot _timeSlot
The primary channel time-slot.
Definition anytone_settingsextension.hh:1959
TimeSlot _secTimeSlot
The secondary channel time-slot.
Definition anytone_settingsextension.hh:1960
TimeSlot
Possible repeater time-slots.
Definition anytone_settingsextension.hh:1914
bool _monitor
If enabled, the radio will monitor the channel.
Definition anytone_settingsextension.hh:1958
ColorCode
Possible color code settings.
Definition anytone_settingsextension.hh:1920
ColorCode _colorCode
The color code match mode.
Definition anytone_settingsextension.hh:1961
bool _enabled
If true, the simplex repeater is enabled.
Definition anytone_settingsextension.hh:1957
Implements the ranging/roaming settings extension of AnyTone devices.
Definition anytone_settingsextension.hh:1478
Interval _repeaterCheckInterval
The repeater check interval in seconds.
Definition anytone_settingsextension.hh:1612
RoamingZoneReference * _defaultRoamingZone
The default roaming zone.
Definition anytone_settingsextension.hh:1620
RoamStart _roamingReturnCondition
Auto-roaming return condition.
Definition anytone_settingsextension.hh:1616
unsigned int _notificationCount
Number of notifications.
Definition anytone_settingsextension.hh:1618
bool _notification
Repeater check notification.
Definition anytone_settingsextension.hh:1617
RoamStart _roamingStartCondition
Auto-roaming start condition.
Definition anytone_settingsextension.hh:1615
RoamStart
Possible roaming start conditions.
Definition anytone_settingsextension.hh:1533
Interval _autoRoamDelay
The auto-roam delay in seconds.
Definition anytone_settingsextension.hh:1610
Interval _autoRoamPeriod
The auto-roam period in minutes.
Definition anytone_settingsextension.hh:1609
bool _autoRoam
Enables auto roaming.
Definition anytone_settingsextension.hh:1608
bool _gpsRoaming
Enables GPS roaming.
Definition anytone_settingsextension.hh:1619
OutOfRangeAlert _outOfRangeAlert
Type of the out-out-range alert.
Definition anytone_settingsextension.hh:1614
OutOfRangeAlert
Possible repeater out-of-range alerts.
Definition anytone_settingsextension.hh:1539
unsigned int _repeaterRangeCheckCount
Number of range checks before giving up.
Definition anytone_settingsextension.hh:1613
bool _repeaterRangeCheck
Enables the repeater range-check.
Definition anytone_settingsextension.hh:1611
Implements the satellite mode settings for the BTECH DMR-6X2UV PRO.
Definition anytone_settingsextension.hh:1971
Implements the device specific extension for the general settings of AnyTone devices.
Definition anytone_settingsextension.hh:2014
AnytoneToneSettingsExtension * _toneSettings
The tone settings.
Definition anytone_settingsextension.hh:2297
Frequency _maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2329
VFOMode
Possible VFO modes.
Definition anytone_settingsextension.hh:2132
STEType
All possible STE (squelch tail eliminate) types.
Definition anytone_settingsextension.hh:2144
ZoneReference _zoneB
The current zone for VFO B.
Definition anytone_settingsextension.hh:2323
AnytoneKeySettingsExtension * _keySettings
The key settings.
Definition anytone_settingsextension.hh:2295
ZoneReference * zoneB()
Returns a reference to the current zone for VFO B.
bool _proMode
The "pro mode" flag.
Definition anytone_settingsextension.hh:2336
bool _maintainCallChannel
Maintains the call channel.
Definition anytone_settingsextension.hh:2337
ZoneReference _zoneA
The current zone for VFO A.
Definition anytone_settingsextension.hh:2322
VFOScanType
Encodes the possible VFO scan types.
Definition anytone_settingsextension.hh:2126
AnytonePowerSaveSettingsExtension * _powerSaveSettings
The power-save settings.
Definition anytone_settingsextension.hh:2293
AnytoneBootSettingsExtension * _bootSettings
Returns power setting for satellite mode.
Definition anytone_settingsextension.hh:2291
VFO
Possible VFOs.
Definition anytone_settingsextension.hh:2138
AnytoneAutoRepeaterSettingsExtension * _autoRepeaterSettings
The auto-repeater settings.
Definition anytone_settingsextension.hh:2305
bool _subChannel
If true, the sub-channel is enabled.
Definition anytone_settingsextension.hh:2325
VFOScanType _vfoScanType
The VFO scan-type property.
Definition anytone_settingsextension.hh:2319
AnytoneAudioSettingsExtension * _audioSettings
The audio settings.
Definition anytone_settingsextension.hh:2301
AnytoneMenuSettingsExtension * _menuSettings
The menu settings.
Definition anytone_settingsextension.hh:2303
bool _keepLastCaller
If true, the last caller is kept on channel switch.
Definition anytone_settingsextension.hh:2330
AnytoneGPSSettingsExtension * _gpsSettings
The GSP settings.
Definition anytone_settingsextension.hh:2309
AnytoneRepeaterSettingsExtension * _repeaterSettings
The repeater settings.
Definition anytone_settingsextension.hh:2315
Interval _steDuration
STE duration.
Definition anytone_settingsextension.hh:2334
AnytoneRoamingSettingsExtension * _roamingSettings
The roaming settings.
Definition anytone_settingsextension.hh:2311
AnytoneBluetoothSettingsExtension * _bluetoothSettings
The bluetooth settings.
Definition anytone_settingsextension.hh:2313
Frequency _vfoStep
The VFO tuning step in kHz.
Definition anytone_settingsextension.hh:2331
VFOMode _modeB
Mode of VFO B.
Definition anytone_settingsextension.hh:2321
AnytoneDMRSettingsExtension * _dmrSettings
The DMR settings.
Definition anytone_settingsextension.hh:2307
Frequency _maxVFOScanFrequencyUHF
The maximum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2327
VFO _selectedVFO
The current VFO.
Definition anytone_settingsextension.hh:2324
Frequency _minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2326
Frequency _minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_settingsextension.hh:2328
STEType _steType
The STE type.
Definition anytone_settingsextension.hh:2332
AnytoneSatelliteSettingsExtension * _satelliteSettings
The satellite settings.
Definition anytone_settingsextension.hh:2317
AnytoneDisplaySettingsExtension * _displaySettings
The display settings.
Definition anytone_settingsextension.hh:2299
ZoneReference * zoneA()
Returns a reference to the current zone for VFO A.
double _steFrequency
STE frequency in Hz.
Definition anytone_settingsextension.hh:2333
VFOMode _modeA
Mode of VFO A.
Definition anytone_settingsextension.hh:2320
Frequency _tbstFrequency
The TBST frequency in Hz.
Definition anytone_settingsextension.hh:2335
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:1466
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:1458
bool callAlertEnabled() const
Returns true if call alert is enabled.
Definition anytone_settingsextension.cc:1394
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:1442
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:1434
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:1406
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:1382
void enableCallAlert(bool enable)
Enables/disables call alert.
Definition anytone_settingsextension.cc:1398
bool _wxAlarm
Weather alarm.
Definition anytone_settingsextension.hh:598
bool keyToneEnabled() const
Returns true if the key tone is enabled.
Definition anytone_settingsextension.cc:1370
void enableTOTNotification(bool enable)
Enables/disables the transmit timeout notification (5s before TOT).
Definition anytone_settingsextension.cc:1482
bool talkPermitAnalogEnabled() const
Returns true if the talk permit tone is enabled for digital channels.
Definition anytone_settingsextension.cc:1418
void setKeyToneLevel(unsigned int level)
Sets the key-tone level.
Definition anytone_settingsextension.cc:1523
void enableDMRIdleChannelTone(bool enable)
Enables/disables the idle DMR channel tone.
Definition anytone_settingsextension.cc:1446
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:1430
Melody * resetMelody
The reset melody.
Definition anytone_settingsextension.hh:508
ConfigItem * clone() const
Clones this item.
Definition anytone_settingsextension.cc:1360
void enableTalkPermitDigital(bool enable)
Enables/disables the talk permit tone for digital channels.
Definition anytone_settingsextension.cc:1410
void enableWXAlarm(bool enable)
Enables/disables weather alarm.
Definition anytone_settingsextension.cc:1494
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:1478
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:1422
void enableStartupTone(bool enable)
Enables/disables the startup tone.
Definition anytone_settingsextension.cc:1470
bool fmIdleChannelToneEnabled() const
Returns true if the idle channel tone is enabled for FM channel.
Definition anytone_settingsextension.cc:1454
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:1374
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:1386
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:37
Base class of all device/vendor specific configuration extensions.
Definition configobject.hh:239
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:140
List class for config objects.
Definition configobject.hh:342
Implements a reference to a config object.
Definition configreference.hh:17
Base class of all labeled and named objects.
Definition configobject.hh:192
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
Some simple class implementing a [1-10] level setting.
Definition level.hh:15
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