libdrmconf 0.12.3
A library to program DMR radios.
 
Loading...
Searching...
No Matches
anytone_extension.hh
1#ifndef ANYTONEEXTENSION_HH
2#define ANYTONEEXTENSION_HH
3
4#include "configobject.hh"
5#include "configreference.hh"
6#include "melody.hh"
7#include "frequency.hh"
8#include "interval.hh"
9#include "signaling.hh"
10
11#include <QTimeZone>
12
16{
17 Q_OBJECT
18
19 Q_CLASSINFO("IdPrefix", "af")
20
21 Q_CLASSINFO("frequencyDecription",
22 "Transmit-frequency.")
23
24
25 Q_PROPERTY(Frequency frequency READ frequency WRITE setFrequency)
26
27public:
29 Q_INVOKABLE explicit AnytoneAPRSFrequency(QObject *parent=nullptr);
30
31 ConfigItem *clone() const;
32
34 Frequency frequency() const;
36 void setFrequency(Frequency freq);
37
38protected:
41};
42
43
47{
48 Q_OBJECT
49
50public:
52 explicit AnytoneAPRSFrequencyRef(QObject *parent=nullptr);
53};
54
55
59{
60 Q_OBJECT
61
62public:
64 explicit AnytoneAPRSFrequencyList(QObject *parent=nullptr);
65
66 ConfigItem *allocateChild(const YAML::Node &node, ConfigItem::Context &ctx, const ErrorStack &err);
67};
68
69
74{
75 Q_OBJECT
76
78 Q_PROPERTY(bool talkaround READ talkaround WRITE enableTalkaround)
82 Q_PROPERTY(bool handsFree READ handsFree WRITE enableHandsFree)
87 Q_PROPERTY(APRSPTT aprsPTT READ aprsPTT WRITE setAPRSPTT)
88
89public:
91 enum class APRSPTT{
92 Off, Start, End
93 };
94 Q_ENUM(APRSPTT)
95
96protected:
98 explicit AnytoneChannelExtension(QObject *parent=nullptr);
99
100public:
102 bool talkaround() const;
104 void enableTalkaround(bool enable);
105
107 int frequencyCorrection() const;
109 void setFrequencyCorrection(int corr);
110
112 bool handsFree() const;
114 void enableHandsFree(bool enable);
115
118
121 APRSPTT aprsPTT() const;
123 void setAPRSPTT(APRSPTT mode);
124
125protected:
136};
137
138
142{
143 Q_OBJECT
144
146 Q_PROPERTY(bool reverseBurst READ reverseBurst WRITE enableReverseBurst)
152 Q_PROPERTY(double customCTCSS READ customCTCSS WRITE setCustomCTCSS)
156 Q_PROPERTY(bool scrambler READ scrambler WRITE enableScrambler)
157
158public:
160 enum class SquelchMode {
161 Carrier = 0,
162 SubTone = 1,
163 OptSig = 2,
164 SubToneAndOptSig = 3,
165 SubToneOrOptSig = 4
166 };
167 Q_ENUM(SquelchMode)
168
169public:
171 Q_INVOKABLE explicit AnytoneFMChannelExtension(QObject *parent=nullptr);
172
173 ConfigItem *clone() const;
174
176 bool reverseBurst() const;
178 void enableReverseBurst(bool enable);
179
181 bool rxCustomCTCSS() const;
183 void enableRXCustomCTCSS(bool enable);
185 bool txCustomCTCSS() const;
187 void enableTXCustomCTCSS(bool enable);
189 double customCTCSS() const;
191 void setCustomCTCSS(double freq);
192
194 SquelchMode squelchMode() const;
196 void setSquelchMode(SquelchMode mode);
197
199 bool scrambler() const;
201 void enableScrambler(bool enable);
202
203protected:
216};
217
218
222{
223 Q_OBJECT
224
226 Q_PROPERTY(bool callConfirm READ callConfirm WRITE enableCallConfirm)
228 Q_PROPERTY(bool sms READ sms WRITE enableSMS)
230 Q_PROPERTY(bool smsConfirm READ smsConfirm WRITE enableSMSConfirm)
232 Q_PROPERTY(bool dataACK READ dataACK WRITE enableDataACK)
234 Q_PROPERTY(bool simplexTDMA READ simplexTDMA WRITE enableSimplexTDMA)
238 Q_PROPERTY(bool adaptiveTDMA READ adaptiveTDMA WRITE enableAdaptiveTDMA)
240 Q_PROPERTY(bool loneWorker READ loneWorker WRITE enableLoneWorker)
242 Q_PROPERTY(bool throughMode READ throughMode WRITE enableThroughMode)
243
244public:
246 Q_INVOKABLE explicit AnytoneDMRChannelExtension(QObject *parent=nullptr);
247
248 ConfigItem *clone() const;
249
251 bool callConfirm() const;
253 void enableCallConfirm(bool enabled);
255 bool sms() const;
257 void enableSMS(bool enable);
259 bool smsConfirm() const;
261 void enableSMSConfirm(bool enabled);
263 bool dataACK() const;
265 void enableDataACK(bool enable);
267 bool simplexTDMA() const;
269 void enableSimplexTDMA(bool enable);
271 bool adaptiveTDMA() const;
273 void enableAdaptiveTDMA(bool enable);
275 bool loneWorker() const;
277 void enableLoneWorker(bool enable);
279 bool throughMode() const;
281 void enableThroughMode(bool enable);
282
283protected:
287 bool _sms;
300};
301
302
306{
307 Q_OBJECT
308
310 Q_PROPERTY(bool hidden READ hidden WRITE enableHidden)
311
312public:
314 Q_INVOKABLE explicit AnytoneZoneExtension(QObject *parent=nullptr);
315
316 ConfigItem *clone() const;
317
319 bool hidden() const;
321 void enableHidden(bool enable);
322
323protected:
326};
327
328
332{
333 Q_OBJECT
334
337
338public:
340 enum class AlertType {
341 None = 0,
342 Ring = 1,
344 };
345 Q_ENUM(AlertType)
346
347public:
349 Q_INVOKABLE explicit AnytoneContactExtension(QObject *parent=nullptr);
350
351 ConfigItem *clone() const;
352
354 AlertType alertType() const;
356 void setAlertType(AlertType type);
357
358protected:
361};
362
363
369{
370 Q_OBJECT
371
377 Q_PROPERTY(QString bootPassword READ bootPassword WRITE setBootPassword)
378
379 Q_CLASSINFO("defaultChannelDescription", "If enabled, the default channels are selected at boot.")
382 Q_CLASSINFO("zoneADescription", "The default zone for VFO A.")
384 Q_PROPERTY(ZoneReference* zoneA READ zoneA)
385 Q_CLASSINFO("channelADescription", "The default channel for VFO A. Must be within zone A.")
388 Q_CLASSINFO("zoneBDescription", "The default zone for VFO B.")
390 Q_PROPERTY(ZoneReference* zoneB READ zoneB)
391 Q_CLASSINFO("channelBDescription", "The default channel for VFO B. Must be within zone B.")
398
400 Q_PROPERTY(bool gpsCheck READ gpsCheckEnabled WRITE enableGPSCheck)
402 Q_PROPERTY(bool reset READ resetEnabled WRITE enableReset)
403
404public:
406 enum class BootDisplay {
407 Default = 0, CustomText = 1, CustomImage = 2
408 };
409 Q_ENUM(BootDisplay)
410
411public:
413 explicit AnytoneBootSettingsExtension(QObject *parent=nullptr);
414
415 ConfigItem *clone() const;
416
418 BootDisplay bootDisplay() const;
420 void setBootDisplay(BootDisplay mode);
422 bool bootPasswordEnabled() const;
424 void enableBootPassword(bool enable);
426 const QString &bootPassword() const;
428 void setBootPassword(const QString &pass);
429
431 bool defaultChannelEnabled() const;
433 void enableDefaultChannel(bool enable);
435 ZoneReference *zoneA() const;
437 ChannelReference *channelA() const;
439 ZoneReference *zoneB() const;
441 ChannelReference *channelB() const;
443 ZoneReference *priorityZoneA() const;
445 ZoneReference *priorityZoneB() const;
446
448 bool gpsCheckEnabled() const;
450 void enableGPSCheck(bool enable);
451
453 bool resetEnabled() const;
455 void enableReset(bool enable);
456
457protected:
469 bool _reset;
470};
471
472
478{
479 Q_OBJECT
480
481 Q_CLASSINFO("autoShutDownDelayDescription", "The auto shut-down delay in minutes.")
484
487
488 Q_CLASSINFO("powerSaveDescription", "Specifies the power save mode. "
489 "D686UV, D878UV(2) and DMR-6X2UV only.")
491 Q_PROPERTY(PowerSave powerSave READ powerSave WRITE setPowerSave)
492
494 Q_PROPERTY(bool atpc READ atpc WRITE enableATPC)
495
496public:
498 enum class PowerSave {
499 Off = 0, Save50 = 1, Save66 = 2
500 };
501 Q_ENUM(PowerSave)
502
503public:
505 explicit AnytonePowerSaveSettingsExtension(QObject *parent=nullptr);
506
507 ConfigItem *clone() const;
508
510 Interval autoShutdown() const;
512 void setAutoShutdown(Interval min);
513
515 bool resetAutoShutdownOnCall() const;
517 void enableResetAutoShutdownOnCall(bool enable);
518
520 PowerSave powerSave() const;
522 void setPowerSave(PowerSave mode);
523
525 bool atpc() const;
527 void enableATPC(bool enable);
528
529protected:
532 PowerSave _powerSave;
533 bool _atpc;
534};
535
536
542{
543 Q_OBJECT
544
587
590
591 Q_CLASSINFO("knobLockDescription", "If enabled, the knob gets locked too.")
593 Q_PROPERTY(bool knobLock READ knobLockEnabled WRITE enableKnobLock)
594
595 Q_CLASSINFO("keypadLockDescription", "If enabled, the key-pad gets locked.")
598
599 Q_CLASSINFO("sideKeysLockDescription", "If enabled, the side-keys get locked.")
602
603 Q_CLASSINFO("forcedKeyLockDescription", "If enabled, the key-lock is forced.")
606
607public:
609 enum class KeyFunction {
610 Off, Voltage, Power, Repeater, Reverse, Encryption, Call, VOX, ToggleVFO, SubPTT,
611 Scan, WFM, Alarm, RecordSwitch, Record, SMS, Dial, GPSInformation, Monitor, ToggleMainChannel,
612 HotKey1, HotKey2, HotKey3, HotKey4, HotKey5, HotKey6, WorkAlone, SkipChannel, DMRMonitor,
613 SubChannel, PriorityZone, VFOScan, MICSoundQuality, LastCallReply, ChannelType, Ranging,
614 Roaming, ChannelRanging, MaxVolume, Slot, APRSTypeSwitch, Zone, ZoneUp, ZoneDown, RoamingSet,
615 APRSSet, Mute, MuteA, MuteB, CtcssDcsSet, TBSTSend, Bluetooth, GPS, ChannelName, CDTScan,
616 APRSSend, APRSInfo, Speaker, XBandRepeater, SimplexRepeater, GPSRoaming, Squelch, NoiseReductionTX
617 };
618 Q_ENUM(KeyFunction)
619
620public:
622 explicit AnytoneKeySettingsExtension(QObject *parent=nullptr);
623
624 ConfigItem *clone() const;
625
627 KeyFunction funcKey1Short() const;
629 void setFuncKey1Short(KeyFunction func);
631 KeyFunction funcKey1Long() const;
633 void setFuncKey1Long(KeyFunction func);
634
636 KeyFunction funcKey2Short() const;
638 void setFuncKey2Short(KeyFunction func);
640 KeyFunction funcKey2Long() const;
642 void setFuncKey2Long(KeyFunction func);
643
645 KeyFunction funcKey3Short() const;
647 void setFuncKey3Short(KeyFunction func);
649 KeyFunction funcKey3Long() const;
651 void setFuncKey3Long(KeyFunction func);
652
654 KeyFunction funcKey4Short() const;
656 void setFuncKey4Short(KeyFunction func);
658 KeyFunction funcKey4Long() const;
660 void setFuncKey4Long(KeyFunction func);
661
663 KeyFunction funcKey5Short() const;
665 void setFuncKey5Short(KeyFunction func);
667 KeyFunction funcKey5Long() const;
669 void setFuncKey5Long(KeyFunction func);
670
672 KeyFunction funcKey6Short() const;
674 void setFuncKey6Short(KeyFunction func);
676 KeyFunction funcKey6Long() const;
678 void setFuncKey6Long(KeyFunction func);
679
681 KeyFunction funcKeyAShort() const;
683 void setFuncKeyAShort(KeyFunction func);
685 KeyFunction funcKeyALong() const;
687 void setFuncKeyALong(KeyFunction func);
688
690 KeyFunction funcKeyBShort() const;
692 void setFuncKeyBShort(KeyFunction func);
694 KeyFunction funcKeyBLong() const;
696 void setFuncKeyBLong(KeyFunction func);
697
699 KeyFunction funcKeyCShort() const;
701 void setFuncKeyCShort(KeyFunction func);
703 KeyFunction funcKeyCLong() const;
705 void setFuncKeyCLong(KeyFunction func);
706
708 KeyFunction funcKeyDShort() const;
710 void setFuncKeyDShort(KeyFunction func);
712 KeyFunction funcKeyDLong() const;
714 void setFuncKeyDLong(KeyFunction func);
715
717 Interval longPressDuration() const;
719 void setLongPressDuration(Interval ms);
720
722 bool autoKeyLockEnabled() const;
724 void enableAutoKeyLock(bool enabled);
725
727 bool knobLockEnabled() const;
729 void enableKnobLock(bool enable);
731 bool keypadLockEnabled() const;
733 void enableKeypadLock(bool enable);
735 bool sideKeysLockEnabled() const;
737 void enableSideKeysLock(bool enable);
739 bool forcedKeyLockEnabled() const;
741 void enableForcedKeyLock(bool enable);
742
743protected:
770};
771
772
778{
779 Q_OBJECT
780 Q_CLASSINFO("description", "Tone settings for AnyTone devices.")
781
782 Q_CLASSINFO("keyToneDescription", "If true, enables the key tones.")
784 Q_PROPERTY(bool keyTone READ keyToneEnabled WRITE enableKeyTone)
785
786 Q_CLASSINFO("keyToneLevelDescription", "Specifies the key-tone level, 0=user adjustable.")
788 Q_PROPERTY(unsigned int keyToneLevel READ keyToneLevel WRITE setKeyToneLevel)
789
790 Q_CLASSINFO("smsAlertDescription", "Enables/disables the SMS alert tone.")
792 Q_PROPERTY(bool smsAlert READ smsAlertEnabled WRITE enableSMSAlert)
793
794 Q_CLASSINFO("callAlertDescription", "Enables/disables the call alert tone.")
796 Q_PROPERTY(bool callAlert READ callAlertEnabled WRITE enableCallAlert)
797
798 Q_CLASSINFO("dmrTalkPermitDescription", "Enables/disables the talk-permit tone for DMR channels.")
801
802 Q_CLASSINFO("dmrResetDescription", "Enables/disables the reset tone for DMR channels.")
805
806 Q_CLASSINFO("fmTalkPermitDescription", "Enables/disables the talk-permit tone for FM channels.")
809
815 Q_PROPERTY(bool startup READ startupToneEnabled WRITE enableStartupTone)
817 Q_PROPERTY(bool tot READ totNotification WRITE enableTOTNotification)
818
820 Q_PROPERTY(Melody * callMelody READ callMelody)
822 Q_PROPERTY(Melody * idleMelody READ idleMelody)
824 Q_PROPERTY(Melody * resetMelody READ resetMelody)
827
828public:
830 explicit AnytoneToneSettingsExtension(QObject *parent=nullptr);
831
832 ConfigItem *clone() const;
833
835 bool keyToneEnabled() const;
837 void enableKeyTone(bool enable);
838
840 bool smsAlertEnabled() const;
842 void enableSMSAlert(bool enable);
844 bool callAlertEnabled() const;
846 void enableCallAlert(bool enable);
847
849 bool talkPermitDigitalEnabled() const;
851 void enableTalkPermitDigital(bool enable);
853 bool talkPermitAnalogEnabled() const;
855 void enableTalkPermitAnalog(bool enable);
857 bool digitalResetToneEnabled() const;
859 void enableDigitalResetTone(bool enable);
861 bool dmrIdleChannelToneEnabled() const;
863 void enableDMRIdleChannelTone(bool enable);
865 bool fmIdleChannelToneEnabled() const;
867 void enableFMIdleChannelTone(bool enable);
869 bool startupToneEnabled() const;
871 void enableStartupTone(bool enable);
873 bool totNotification() const;
875 void enableTOTNotification(bool enable);
876
878 Melody *callMelody() const;
880 Melody *idleMelody() const;
882 Melody *resetMelody() const;
884 Melody *callEndMelody() const;
885
887 unsigned int keyToneLevel() const;
889 void setKeyToneLevel(unsigned int level);
890
891protected:
892 bool _keyTone;
906 unsigned int _keyToneLevel;
907
908};
909
910
916{
917 Q_OBJECT
918
922 Q_PROPERTY(unsigned int brightness READ brightness WRITE setBrightness)
923
926
927 Q_CLASSINFO("backlightDurationTX", "The duration in seconds, the backlight is lit during TX. "
928 "A value of 0 means off.")
931
932 Q_CLASSINFO("backlightDurationRX", "The duration in seconds, the backlight is lit during RX. "
933 "A value of 0 means always on.")
936
939
944
946 Q_PROPERTY(bool showClock READ showClockEnabled WRITE enableShowClock)
948 Q_PROPERTY(bool showCall READ showCallEnabled WRITE enableShowCall)
950 Q_PROPERTY(bool showContact READ showContact WRITE enableShowContact)
956 Q_PROPERTY(bool showTimeSlot READ showTimeSlot WRITE enableShowTimeSlot)
963
965 Q_PROPERTY(Color callColor READ callColor WRITE setCallColor)
970
971 Q_CLASSINFO("channelNameColorDescription", "Specifies the color of the channel name.")
974 Q_CLASSINFO("channelBNameColorDescription", "Specifies the color of the channel name for VFO B.")
977
978 Q_CLASSINFO("zoneNameColorDescription", "Specifies the color of the zone name.")
981 Q_CLASSINFO("zoneBNameColorDescription", "Specifies the color of the zone name for VFO B.")
984
986 Q_PROPERTY(Language language READ language WRITE setLanguage)
989
990public:
993 Off = 0, ID = 1, Call = 2, Both = 3
994 };
995 Q_ENUM(LastCallerDisplayMode)
996
997
998 enum class Color {
999 White = 0, Black = 1, Orange=2, Red=3, Yellow=4, Green=5, Turquoise=6, Blue=7
1000 };
1001 Q_ENUM(Color)
1002
1003
1004 enum class Language {
1007 };
1008 Q_ENUM(Language)
1009
1010
1011 enum class DateFormat {
1014 };
1015 Q_ENUM(DateFormat)
1016
1017public:
1019 explicit AnytoneDisplaySettingsExtension(QObject *parent=nullptr);
1020
1021 ConfigItem *clone() const;
1022
1024 bool displayFrequencyEnabled() const;
1026 void enableDisplayFrequency(bool enable);
1027
1029 unsigned int brightness() const;
1031 void setBrightness(unsigned int level);
1032
1034 Interval backlightDuration() const;
1036 void setBacklightDuration(Interval sec);
1037
1039 bool volumeChangePromptEnabled() const;
1041 void enableVolumeChangePrompt(bool enable);
1042
1044 bool callEndPromptEnabled() const;
1046 void enableCallEndPrompt(bool enable);
1047
1049 LastCallerDisplayMode lastCallerDisplay() const;
1051 void setLastCallerDisplay(LastCallerDisplayMode mode);
1052
1054 bool showClockEnabled() const;
1056 void enableShowClock(bool enable);
1057
1059 bool showCallEnabled() const;
1061 void enableShowCall(bool enable);
1062
1064 Color callColor() const;
1066 void setCallColor(Color color);
1067
1069 Language language() const;
1071 void setLanguage(Language lang);
1073 DateFormat dateFormat() const;
1075 void setDateFormat(DateFormat format);
1076
1078 bool showChannelNumberEnabled() const;
1080 void enableShowChannelNumber(bool enable);
1082 bool showColorCode() const;
1084 void enableShowColorCode(bool enable);
1086 bool showTimeSlot() const;
1088 void enableShowTimeSlot(bool enable);
1090 bool showChannelType() const;
1092 void enableShowChannelType(bool enable);
1093
1095 bool showContact() const;
1097 void enableShowContact(bool enable);
1098
1100 Color standbyTextColor() const;
1102 void setStandbyTextColor(Color color);
1104 Color standbyBackgroundColor() const;
1106 void setStandbyBackgroundColor(Color color);
1107
1109 bool showLastHeardEnabled() const;
1111 void enableShowLastHeard(bool enable);
1112
1114 Interval backlightDurationTX() const;
1116 void setBacklightDurationTX(Interval sec);
1117
1119 Color channelNameColor() const;
1121 void setChannelNameColor(Color color);
1123 Color channelBNameColor() const;
1125 void setChannelBNameColor(Color color);
1126
1128 Color zoneNameColor() const;
1130 void setZoneNameColor(Color color);
1132 Color zoneBNameColor() const;
1134 void setZoneBNameColor(Color color);
1135
1137 Interval backlightDurationRX() const;
1139 void setBacklightDurationRX(Interval sec);
1141 bool customChannelBackground() const;
1143 void enableCustomChannelBackground(bool enable);
1144
1145protected:
1147 unsigned int _brightness;
1172};
1173
1174
1180{
1181 Q_OBJECT
1182
1184 Q_PROPERTY(Interval voxDelay READ voxDelay WRITE setVOXDelay)
1187
1189 Q_PROPERTY(bool recording READ recordingEnabled WRITE enableRecording)
1190
1193
1196
1198 Q_PROPERTY(unsigned int maxVolume READ maxVolume WRITE setMaxVolume)
1201
1205 Q_PROPERTY(unsigned int fmMicGain READ fmMicGain WRITE setFMMicGain)
1206
1207public:
1209 enum class VoxSource {
1210 Internal = 0, External = 1, Both = 2
1211 };
1212 Q_ENUM(VoxSource)
1213
1214public:
1216 explicit AnytoneAudioSettingsExtension(QObject *parent=nullptr);
1217
1218 ConfigItem *clone() const;
1219
1221 Interval voxDelay() const;
1223 void setVOXDelay(Interval ms);
1224
1226 VoxSource voxSource() const;
1228 void setVOXSource(VoxSource source);
1229
1231 bool recordingEnabled() const;
1233 void enableRecording(bool enable);
1234
1236 unsigned int maxVolume() const;
1238 void setMaxVolume(unsigned int vol);
1240 unsigned int maxHeadPhoneVolume() const;
1242 void setMaxHeadPhoneVolume(unsigned int vol);
1243
1245 bool enhanceAudioEnabled() const;
1247 void enableEnhanceAudio(bool enable);
1248
1250 Interval muteDelay() const;
1252 void setMuteDelay(Interval intv);
1253
1255 bool fmMicGainEnabled() const;
1257 void enableFMMicGain(bool enable);
1259 unsigned int fmMicGain() const;
1261 void setFMMicGain(unsigned int gain);
1262
1263protected:
1267 unsigned int _maxVolume;
1268 unsigned int _maxHeadPhoneVolume;
1272 unsigned int _analogMicGain;
1273};
1274
1275
1281{
1282 Q_OBJECT
1283
1284 Q_CLASSINFO("durationDescription", "The time in seconds, the menu is shown.")
1286 Q_PROPERTY(Interval duration READ duration WRITE setDuration)
1287
1288 Q_CLASSINFO("separatorDescription", "If enabled, the menu items are separated by a line.")
1290 Q_PROPERTY(bool separator READ separatorEnabled WRITE enableSeparator)
1291
1292public:
1294 explicit AnytoneMenuSettingsExtension(QObject *parent=nullptr);
1295
1296 ConfigItem *clone() const;
1297
1299 Interval duration() const;
1301 void setDuration(Interval sec);
1303 bool separatorEnabled() const;
1305 void enableSeparator(bool enable);
1306
1307protected:
1310};
1311
1312
1317{
1318 Q_OBJECT
1319 Q_CLASSINFO("IdPrefix", "off")
1320
1321 Q_CLASSINFO("offsetDecription",
1322 "Transmit-frequency offset in Hz.")
1323 Q_CLASSINFO("offsetLongDecription",
1324 "The transmit-frequency offset is specified as a positive integer in Hz. The offset "
1325 "direction is specified for each VFO separately.")
1327 Q_PROPERTY(Frequency offset READ offset WRITE setOffset)
1328
1329public:
1331 explicit Q_INVOKABLE AnytoneAutoRepeaterOffset(QObject *parent=nullptr);
1332
1333 ConfigItem *clone() const;
1334
1336 Frequency offset() const;
1339
1340protected:
1343};
1344
1345
1349{
1350 Q_OBJECT
1351
1352public:
1354 explicit AnytoneAutoRepeaterOffsetRef(QObject *parent=nullptr);
1355};
1356
1357
1361{
1362 Q_OBJECT
1363
1364public:
1366 explicit AnytoneAutoRepeaterOffsetList(QObject *parent=nullptr);
1367
1368 ConfigItem *allocateChild(const YAML::Node &node, ConfigItem::Context &ctx, const ErrorStack &err);
1369};
1370
1371
1377{
1378 Q_OBJECT
1379 Q_CLASSINFO("description", "Auto-repeater settings for AnyTone devices.")
1380
1381 Q_CLASSINFO("directionADescription", "Auto-repeater transmit-frequency offset direction for VFO A.")
1384
1385 Q_CLASSINFO("directionBDescription", "Auto-repeater transmit-frequency offset direction for VFO B.")
1388
1389 Q_CLASSINFO("vhfMin", "The minimum frequency in Hz of the VHF auto-repeater frequency range.")
1391 Q_PROPERTY(Frequency vhfMin READ vhfMin WRITE setVHFMin)
1392
1393 Q_CLASSINFO("vhfMax", "The maximum frequency in Hz of the VHF auto-repeater frequency range.")
1395 Q_PROPERTY(Frequency vhfMax READ vhfMax WRITE setVHFMax)
1396
1397 Q_CLASSINFO("uhfMin", "The minimum frequency in Hz of the UHF auto-repeater frequency range.")
1399 Q_PROPERTY(Frequency uhfMin READ uhfMin WRITE setUHFMin)
1400
1401 Q_CLASSINFO("uhfMax", "The maximum frequency in Hz of the UHF auto-repeater frequency range.")
1403 Q_PROPERTY(Frequency uhfMax READ uhfMax WRITE setUHFMax)
1404
1405 Q_CLASSINFO("vhfDescription", "A reference to an offset frequency for the VHF band.")
1408
1409 Q_CLASSINFO("uhfDescription", "A reference to an offset frequency for the UHF band.")
1412
1413 Q_CLASSINFO("vhf2Min", "The minimum frequency in Hz of the second VHF auto-repeater frequency range.")
1415 Q_PROPERTY(Frequency vhf2Min READ vhf2Min WRITE setVHF2Min)
1416
1417 Q_CLASSINFO("vhf2Max", "The maximum frequency in Hz of the second VHF auto-repeater frequency range.")
1419 Q_PROPERTY(Frequency vhf2Max READ vhf2Max WRITE setVHF2Max)
1420
1421 Q_CLASSINFO("uhf2Min", "The minimum frequency in Hz of the second UHF auto-repeater frequency range.")
1423 Q_PROPERTY(Frequency uhf2Min READ uhf2Min WRITE setUHF2Min)
1424
1425 Q_CLASSINFO("uhf2Max", "The maximum frequency in Hz of the second UHF auto-repeater frequency range.")
1427 Q_PROPERTY(Frequency uhf2Max READ uhf2Max WRITE setUHF2Max)
1428
1429 Q_CLASSINFO("vhf2Description", "A reference to an offset frequency for the second VHF band.")
1432
1433 Q_CLASSINFO("uhf2Description", "A reference to an offset frequency for the second UHF band.")
1436
1437 Q_CLASSINFO("offsetDescription", "The lists of offset frequencies.")
1440
1441public:
1443 enum class Direction {
1444 Off = 0,
1447 };
1448 Q_ENUM(Direction)
1449
1450public:
1452 explicit AnytoneAutoRepeaterSettingsExtension(QObject *parent=nullptr);
1453
1454 ConfigItem *clone() const;
1455
1457 Direction directionA() const;
1459 void setDirectionA(Direction dir);
1461 Direction directionB() const;
1463 void setDirectionB(Direction dir);
1464
1466 Frequency vhfMin() const;
1468 void setVHFMin(Frequency Hz);
1470 Frequency vhfMax() const;
1472 void setVHFMax(Frequency Hz);
1474 Frequency uhfMin() const;
1476 void setUHFMin(Frequency Hz);
1478 Frequency uhfMax() const;
1480 void setUHFMax(Frequency Hz);
1481
1483 AnytoneAutoRepeaterOffsetRef *uhfRef() const;
1485 AnytoneAutoRepeaterOffsetRef *vhfRef() const;
1486
1488 Frequency vhf2Min() const;
1490 void setVHF2Min(Frequency Hz);
1492 Frequency vhf2Max() const;
1494 void setVHF2Max(Frequency Hz);
1496 Frequency uhf2Min() const;
1498 void setUHF2Min(Frequency Hz);
1500 Frequency uhf2Max() const;
1502 void setUHF2Max(Frequency Hz);
1503
1505 AnytoneAutoRepeaterOffsetRef *uhf2Ref() const;
1507 AnytoneAutoRepeaterOffsetRef *vhf2Ref() const;
1508
1510 AnytoneAutoRepeaterOffsetList *offsets() const;
1511
1512protected:
1543};
1544
1545
1551{
1552 Q_OBJECT
1553
1554 Q_CLASSINFO("groupCallHangTimeDescription", "Specifies the hang- or hold-time for group calls.")
1559
1560 Q_CLASSINFO("privateCallHangTimeDescription", "Specifies the hang- or hold-time for private calls.")
1565
1566 Q_CLASSINFO("preWaveDelay", "Sets the pre-wave delay in ms. Should be set to 100ms.")
1569
1570 Q_CLASSINFO("wakeHeadPeriod", "Sets the wake head-period in ms. Should be set to 100ms.")
1573
1574 Q_CLASSINFO("filterOwnIDDescription", "If enabled, own ID is not shown in call lists.")
1577
1578 Q_CLASSINFO("monitorSlotMatchDescription", "Time-slot match-mode for DMR monitor.")
1581
1582 Q_CLASSINFO("monitorColorCodeMatchDescription", "If enabled, the DMR monitor will only open for "
1583 "matching color-codes.")
1585 Q_PROPERTY(bool monitorColorCodeMatch READ monitorColorCodeMatchEnabled WRITE enableMonitorColorCodeMatch)
1586
1587 Q_CLASSINFO("monitorIDMatchDescription", "If enabled, the DMR monitor will only open for matching IDs.")
1589 Q_PROPERTY(bool monitorIDMatch READ monitorIDMatchEnabled WRITE enableMonitorIDMatch)
1590
1591 Q_CLASSINFO("monitorTimeSlotHold", "Whether the DMR monitor holds the time-slot.")
1593 Q_PROPERTY(bool monitorTimeSlotHold READ monitorTimeSlotHoldEnabled WRITE enableMonitorTimeSlotHold)
1594
1595 Q_CLASSINFO("smsFormatDescription", "Specifies the SMS format, select Motorola here.")
1597 Q_PROPERTY(SMSFormat smsFormat READ smsFormat WRITE setSMSFormat)
1598
1599 Q_CLASSINFO("sendTalkerAliasDescription", "Sends the radio name as talker alias over the air.")
1601 Q_PROPERTY(bool sendTalkerAlias READ sendTalkerAlias WRITE enableSendTalkerAlias)
1603 Q_PROPERTY(TalkerAliasSource talkerAliasSource READ talkerAliasSource WRITE setTalkerAliasSource)
1605 Q_PROPERTY(TalkerAliasEncoding talkerAliasEncoding READ talkerAliasEncoding WRITE setTalkerAliasEncoding)
1606
1608 Q_PROPERTY(EncryptionType encryption READ encryption WRITE setEncryption)
1609
1610
1611public:
1613 enum class SlotMatch {
1614 Off = 0, Single = 1, Both = 2
1615 };
1616 Q_ENUM(SlotMatch)
1617
1618
1619 enum class SMSFormat {
1620 Motorola = 0, Hytera = 1, DMR = 2
1621 };
1622 Q_ENUM(SMSFormat)
1623
1624
1625 enum class TalkerAliasSource {
1626 Off = 0, UserDB = 1, Air = 2
1627 };
1628 Q_ENUM(TalkerAliasSource)
1629
1630
1631 enum class TalkerAliasEncoding {
1632 ISO8 = 0, ISO7 = 1, Unicode = 2,
1633 };
1634 Q_ENUM(TalkerAliasEncoding)
1635
1636
1637 enum class EncryptionType {
1638 AES=0, DMR=1
1639 };
1640 Q_ENUM(EncryptionType)
1641
1642public:
1644 explicit AnytoneDMRSettingsExtension(QObject *parent = nullptr);
1645
1646 ConfigItem *clone() const;
1647
1649 Interval groupCallHangTime() const;
1651 void setGroupCallHangTime(Interval sec);
1653 Interval manualGroupCallHangTime() const;
1655 void setManualGroupCallHangTime(Interval sec);
1657 Interval privateCallHangTime() const;
1659 void setPrivateCallHangTime(Interval sec);
1661 Interval manualPrivateCallHangTime() const;
1663 void setManualPrivateCallHangTime(Interval sec);
1664
1666 Interval preWaveDelay() const;
1668 void setPreWaveDelay(Interval ms);
1670 Interval wakeHeadPeriod() const;
1672 void setWakeHeadPeriod(Interval ms);
1673
1675 bool filterOwnIDEnabled() const;
1677 void enableFilterOwnID(bool enable);
1678
1680 SlotMatch monitorSlotMatch() const;
1682 void setMonitorSlotMatch(SlotMatch match);
1684 bool monitorColorCodeMatchEnabled() const;
1686 void enableMonitorColorCodeMatch(bool enable);
1688 bool monitorIDMatchEnabled() const;
1690 void enableMonitorIDMatch(bool enable);
1692 bool monitorTimeSlotHoldEnabled() const;
1694 void enableMonitorTimeSlotHold(bool enable);
1695
1697 SMSFormat smsFormat() const;
1699 void setSMSFormat(SMSFormat format);
1700
1702 bool sendTalkerAlias() const;
1704 void enableSendTalkerAlias(bool enable);
1705
1707 TalkerAliasSource talkerAliasSource() const;
1709 void setTalkerAliasSource(TalkerAliasSource mode);
1710
1712 TalkerAliasEncoding talkerAliasEncoding() const ;
1714 void setTalkerAliasEncoding(TalkerAliasEncoding encoding);
1715
1717 EncryptionType encryption() const;
1719 void setEncryption(EncryptionType type);
1720
1721protected:
1733 SMSFormat _smsFormat;
1735 TalkerAliasSource _talkerAliasSource;
1736 TalkerAliasEncoding _talkerAliasEncoding;
1737 EncryptionType _encryption;
1738};
1739
1740
1746{
1747 Q_OBJECT
1748
1749 Q_CLASSINFO("unitsDescription", "Specifies the GPS units.")
1751 Q_PROPERTY(Units units READ units WRITE setUnits)
1752
1753 Q_CLASSINFO("timeZoneDescription", "Specifies the GPS time-zone (IANA name).")
1755 Q_PROPERTY(QString timeZone READ ianaTimeZone WRITE setIANATimeZone)
1756
1757 Q_CLASSINFO("positionReportingDescription", "Enables GPS range reporting.")
1760
1761 Q_CLASSINFO("updatePeriodDescription", "Specifies the GPS reporting interval in seconds.")
1764
1766 Q_PROPERTY(GPSMode mode READ mode WRITE setMode)
1767
1768public:
1770 enum class Units {
1771 Metric = 0, Archaic = 1
1772 };
1773 Q_ENUM(Units)
1774
1775
1776 enum class GPSMode {
1777 GPS=0, Beidou=1, GPS_Beidou=2, Glonass=3, GPS_Glonas=4, Beidou_Glonass=5, All=6
1778 };
1779 Q_ENUM(GPSMode)
1780
1781public:
1783 explicit AnytoneGPSSettingsExtension(QObject *parent=nullptr);
1784
1785 ConfigItem *clone() const;
1786
1788 Units units() const;
1790 void setUnits(Units units);
1791
1793 QString ianaTimeZone() const;
1795 QTimeZone timeZone() const;
1797 void setIANATimeZone(const QString &id);
1799 void setTimeZone(const QTimeZone &zone);
1800
1802 bool positionReportingEnabled() const;
1804 void enablePositionReporting(bool enable);
1805
1807 Interval updatePeriod() const;
1809 void setUpdatePeriod(Interval sec);
1810
1812 GPSMode mode() const;
1814 void setMode(GPSMode mode);
1815
1816protected:
1818 QTimeZone _timeZone;
1822};
1823
1824
1830{
1831 Q_OBJECT
1832
1833 Q_CLASSINFO("Description", "Collects all ranging/roaming settings for AnyTone devices.")
1834
1835
1836 Q_PROPERTY(bool autoRoam READ autoRoam WRITE enableAutoRoam)
1837
1838 Q_CLASSINFO("autoRoamPeriodDescription", "Specifies the auto-roaming period in minutes.")
1841
1842 Q_CLASSINFO("autoRoamDelayDescription", "A delay in seconds before starting the auto-roaming.")
1845
1846 Q_CLASSINFO("roamStart", "Start condition for auto-roaming.")
1849
1850 Q_CLASSINFO("roamReturn", "Condition to return to the original repeater.")
1853
1854 Q_CLASSINFO("rangeCheckDescription", "Repeater range check.")
1857
1858 Q_CLASSINFO("checkIntervalDescription", "Repeater range check interval in seconds.")
1861
1862 Q_CLASSINFO("retryCount", "Number of retries to connect to a repeater before giving up.")
1865
1868
1869 Q_CLASSINFO("notificationDescription", "Enables the repeater-check notification.")
1872
1873 Q_CLASSINFO("notificationCountDescription", "The number of repeater-check notifications.")
1876
1879
1881 Q_PROPERTY(bool gpsRoaming READ gpsRoaming WRITE enableGPSRoaming)
1882
1883public:
1885 enum class RoamStart {
1886 Periodic=0, OutOfRange=1
1887 };
1888 Q_ENUM(RoamStart)
1889
1890
1891 enum class OutOfRangeAlert {
1892 None = 0x00, Bell = 0x01, Voice = 0x02
1893 };
1894 Q_ENUM(OutOfRangeAlert)
1895
1896public:
1898 explicit AnytoneRoamingSettingsExtension(QObject *parent=nullptr);
1899
1900 ConfigItem *clone() const;
1901
1903 bool autoRoam() const;
1905 void enableAutoRoam(bool enable);
1906
1908 Interval autoRoamPeriod() const;
1910 void setAutoRoamPeriod(Interval min);
1912 Interval autoRoamDelay() const;
1914 void setAutoRoamDelay(Interval sec);
1915
1917 bool repeaterRangeCheckEnabled() const;
1919 void enableRepeaterRangeCheck(bool enable);
1921 Interval repeaterCheckInterval() const;
1923 void setRepeaterCheckInterval(Interval sec);
1925 unsigned int repeaterRangeCheckCount() const;
1927 void setRepeaterRangeCheckCount(unsigned int count);
1929 OutOfRangeAlert outOfRangeAlert() const;
1931 void setOutOfRangeAlert(OutOfRangeAlert type);
1932
1934 RoamStart roamingStartCondition() const;
1936 void setRoamingStartCondition(RoamStart start);
1938 RoamStart roamingReturnCondition() const;
1940 void setRoamingReturnCondition(RoamStart start);
1941
1943 bool notificationEnabled() const;
1945 void enableNotification(bool enable);
1947 unsigned int notificationCount() const;
1949 void setNotificationCount(unsigned int n);
1950
1952 bool gpsRoaming() const;
1954 void enableGPSRoaming(bool enable);
1955
1957 RoamingZoneReference *defaultZone() const;
1958
1959protected:
1970 unsigned int _notificationCount;
1973};
1974
1975
1981{
1982 Q_OBJECT
1983
1984 Q_CLASSINFO("Description", "Collects all bluetooth settings for AnyTone devices.")
1985
1986
1987 Q_PROPERTY(bool pttLatch READ pttLatch WRITE enablePTTLatch)
1990
1991public:
1993 explicit AnytoneBluetoothSettingsExtension(QObject *parent=nullptr);
1994
1995 ConfigItem *clone() const;
1996
1998 bool pttLatch() const;
2000 void enablePTTLatch(bool enable);
2001
2003 Interval pttSleepTimer() const;
2005 void setPTTSleepTimer(Interval intv);
2006
2007protected:
2010};
2011
2012
2018{
2019 Q_OBJECT
2020
2021 Q_CLASSINFO("enabledDescription", "If true, the simplex-repeater feature is enabled.")
2023 Q_PROPERTY(bool enabled READ enabled WRITE enable)
2024
2025 Q_CLASSINFO("monitorDescription", "If true, the repeater-monitoring is enabled.")
2027 Q_PROPERTY(bool monitor READ monitorEnabled WRITE enableMonitor)
2028
2029 Q_CLASSINFO("timeSlotDescription", "Specifies the time-slot of the repeater.")
2031 Q_PROPERTY(TimeSlot timeSlot READ timeSlot WRITE setTimeSlot)
2032
2033public:
2035 enum class TimeSlot {
2036 TS1 = 0, TS2 = 1, Channel = 2
2037 };
2038 Q_ENUM(TimeSlot)
2039
2040public:
2042 explicit AnytoneSimplexRepeaterSettingsExtension(QObject *parent=nullptr);
2043
2044 ConfigItem *clone() const;
2045
2047 bool enabled() const;
2049 void enable(bool enable);
2050
2052 bool monitorEnabled() const;
2054 void enableMonitor(bool enable);
2055
2057 TimeSlot timeSlot() const;
2059 void setTimeSlot(TimeSlot ts);
2060
2061protected:
2065};
2066
2067
2075{
2076 Q_OBJECT
2077
2078 Q_CLASSINFO("description", "Device specific settings for AnyTone devices.")
2079
2080 Q_CLASSINFO("subChannelDescription", "Enables/disables the sub-channel.")
2083
2084 Q_CLASSINFO("selectedVFODecription", "Specifies the currently selected VFO (A or B).")
2087
2088 Q_CLASSINFO("modeADescription", "Specifies the mode (memory or VFO) for VFO A.")
2089 Q_CLASSINFO("modeBDescription", "Specifies the mode (memory or VFO) for VFO B.")
2091 Q_PROPERTY(VFOMode modeA READ modeA WRITE setModeA)
2093 Q_PROPERTY(VFOMode modeB READ modeB WRITE setModeB)
2094
2095 Q_CLASSINFO("zoneADescription", "Specifies the current zone for VFO A.")
2096 Q_CLASSINFO("zoneBDescription", "Specifies the current zone for VFO B.")
2098 Q_PROPERTY(ZoneReference* zoneA READ zoneA)
2100 Q_PROPERTY(ZoneReference* zoneB READ zoneB)
2101
2112
2113 Q_CLASSINFO("keepLastCallerDescription", "Keeps the last caller on channel switch")
2116
2117 Q_CLASSINFO("vfoStepDescription", "Specifies the VFO tuning steps in kHz.")
2119 Q_PROPERTY(Frequency vfoStep READ vfoStep WRITE setVFOStep)
2120
2121 Q_CLASSINFO("steTypeDescription", "Specifies the STE (squelch tail elimination) type.")
2122 Q_CLASSINFO("steTypeLongDescription", "Can also be used to disable the STE entirely.")
2124 Q_PROPERTY(STEType steType READ steType WRITE setSTEType)
2125
2126 Q_CLASSINFO("steFrequencyDescription", "Specifies the STE (squelch tail elimination) frequency in Hz.")
2128 Q_PROPERTY(double steFrequency READ steFrequency WRITE setSTEFrequency)
2129
2130 Q_CLASSINFO("steDurationDescription", "Specifies the duration of the STE (squelch tail elimination) tone.")
2131 Q_CLASSINFO("steDurationLongDescription", "Valid values are usually in the range between 10 and 1000ms.")
2134
2135 Q_CLASSINFO("tbstFrequencyDescription", "Specifies the TBST frequency in Hz.")
2136 Q_CLASSINFO("tbstFrequencyDescription", "Should be one of 1000, 1450, 1750 and 2100 Hz. "
2137 "D878UV(2), D578UV and DMR-6X2UV only.")
2140
2141 Q_CLASSINFO("proModeDescription", "Enables 'professional' mode. This limits the option reachable via the menu.")
2143 Q_PROPERTY(bool proMode READ proModeEnabled WRITE enableProMode)
2144
2146 Q_PROPERTY(bool maintainCallChannel READ maintainCallChannelEnabled WRITE enableMaintainCallChannel)
2147
2172
2173 Q_CLASSINFO("simplexRepeaterSettingsDescription",
2174 "Configuration for the DMR-6X2UV simplex-repeater feature.")
2177
2178public:
2180 enum class VFOScanType {
2181 Time = 0, Carrier = 1, Stop = 2
2182 };
2183 Q_ENUM(VFOScanType)
2184
2185
2186 enum class VFOMode {
2187 Memory = 0, VFO = 1
2188 };
2189 Q_ENUM(VFOMode)
2190
2191
2192 enum class VFO {
2193 A = 0, B = 1
2194 };
2195 Q_ENUM(VFO)
2196
2197
2198 enum class STEType {
2199 Off = 0, Silent = 1, Deg120 = 2, Deg180 = 3, Deg240 = 4
2200 };
2201 Q_ENUM(STEType)
2202
2203
2204public:
2206 Q_INVOKABLE explicit AnytoneSettingsExtension(QObject *parent=nullptr);
2207
2208 ConfigItem *clone() const;
2209
2211 AnytoneBootSettingsExtension *bootSettings() const;
2213 AnytonePowerSaveSettingsExtension *powerSaveSettings() const;
2215 AnytoneKeySettingsExtension *keySettings() const;
2217 AnytoneToneSettingsExtension *toneSettings() const;
2219 AnytoneDisplaySettingsExtension *displaySettings() const;
2221 AnytoneAudioSettingsExtension *audioSettings() const;
2223 AnytoneMenuSettingsExtension *menuSettings() const;
2225 AnytoneAutoRepeaterSettingsExtension *autoRepeaterSettings() const;
2227 AnytoneDMRSettingsExtension *dmrSettings() const;
2229 AnytoneGPSSettingsExtension *gpsSettings() const;
2231 AnytoneRoamingSettingsExtension *roamingSettings() const;
2233 AnytoneBluetoothSettingsExtension *bluetoothSettings() const;
2235 AnytoneSimplexRepeaterSettingsExtension *simplexRepeaterSettings() const;
2236
2238 VFOScanType vfoScanType() const;
2240 void setVFOScanType(VFOScanType type);
2241
2243 VFOMode modeA() const;
2245 void setModeA(VFOMode mode);
2247 VFOMode modeB() const;
2249 void setModeB(VFOMode mode);
2250
2254 const ZoneReference *zoneA() const;
2258 const ZoneReference *zoneB() const;
2259
2261 VFO selectedVFO() const;
2263 void setSelectedVFO(VFO vfo);
2264
2266 bool subChannelEnabled() const;
2268 void enableSubChannel(bool enable);
2269
2278
2287
2289 bool keepLastCallerEnabled() const;
2291 void enableKeepLastCaller(bool enable);
2292
2294 Frequency vfoStep() const;
2296 void setVFOStep(Frequency step);
2297
2299 STEType steType() const;
2301 void setSTEType(STEType type);
2304 double steFrequency() const;
2307 void setSTEFrequency(double freq);
2309 Interval steDuration() const;
2311 void setSTEDuration(Interval intv);
2312
2314 Frequency tbstFrequency() const;
2316 void setTBSTFrequency(Frequency Hz);
2317
2319 bool proModeEnabled() const;
2321 void enableProMode(bool enable);
2322
2324 bool maintainCallChannelEnabled() const;
2326 void enableMaintainCallChannel(bool enable);
2327
2328protected:
2355
2375};
2376
2377
2382{
2383 Q_OBJECT
2384
2386 Q_PROPERTY(Interval txDelay READ txDelay WRITE setTXDelay)
2390 Q_PROPERTY(bool passAll READ passAll WRITE enablePassAll)
2394 Q_PROPERTY(bool reportMicE READ reportMicE WRITE enableReportMicE)
2398 Q_PROPERTY(bool reportItem READ reportItem WRITE enableReportItem)
2404 Q_PROPERTY(bool reportNMEA READ reportNMEA WRITE enableReportNMEA)
2408 Q_PROPERTY(bool reportOther READ reportOther WRITE enableReportOther)
2409
2412
2413public:
2415 enum class Bandwidth {
2416 Narrow = 0, Wide = 1
2417 };
2418 Q_ENUM(Bandwidth)
2419
2420public:
2422 explicit Q_INVOKABLE AnytoneFMAPRSSettingsExtension(QObject *parent=nullptr);
2423
2424 ConfigItem *clone() const;
2425
2427 Interval txDelay() const;
2429 void setTXDelay(Interval intv);
2430
2432 Interval preWaveDelay() const;
2434 void setPreWaveDelay(Interval ms);
2435
2437 bool passAll() const;
2439 void enablePassAll(bool enable);
2440
2442 bool reportPosition() const;
2444 void enableReportPosition(bool enable);
2446 bool reportMicE() const;
2448 void enableReportMicE(bool enable);
2450 bool reportObject() const;
2452 void enableReportObject(bool enable);
2454 bool reportItem() const;
2456 void enableReportItem(bool enable);
2458 bool reportMessage() const;
2460 void enableReportMessage(bool enable);
2462 bool reportWeather() const;
2464 void enableReportWeather(bool enable);
2466 bool reportNMEA() const;
2468 void enableReportNMEA(bool enable);
2470 bool reportStatus() const;
2472 void enableReportStatus(bool enable);
2474 bool reportOther() const;
2476 void enableReportOther(bool enable);
2477
2479 AnytoneAPRSFrequencyList *frequencies() const;
2480
2481protected:
2508};
2509
2510#endif // ANYTONEEXTENSION_HH
Represents a list of APRS transmit frequencies.
Definition anytone_extension.hh:59
ConfigItem * allocateChild(const YAML::Node &node, ConfigItem::Context &ctx, const ErrorStack &err)
Allocates a member objects for the given YAML node.
Definition anytone_extension.cc:56
AnytoneAPRSFrequencyList(QObject *parent=nullptr)
Empty constructor.
Definition anytone_extension.cc:49
Represents a reference to an APRS frequency.
Definition anytone_extension.hh:47
AnytoneAPRSFrequencyRef(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:39
Implements the config representation of an FM APRS frequency.
Definition anytone_extension.hh:16
Frequency _frequency
The transmit frequency.
Definition anytone_extension.hh:40
Implements the audio settings extension of AnyTone devices.
Definition anytone_extension.hh:1180
bool _recording
Recording enabled.
Definition anytone_extension.hh:1265
void enableRecording(bool enable)
Enables/disables recording.
Definition anytone_extension.cc:2300
void setFMMicGain(unsigned int gain)
Sets the FM mic gain.
Definition anytone_extension.cc:2382
void enableEnhanceAudio(bool enable)
Enables/disables enhanced audio.
Definition anytone_extension.cc:2347
Interval muteDelay
The mute delay in minutes.
Definition anytone_extension.hh:1195
bool enhance
If true, the audio is "enhanced".
Definition anytone_extension.hh:1192
AnytoneAudioSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:2265
Interval voxDelay
The VOX delay in ms.
Definition anytone_extension.hh:1184
bool recording
If true, recording is enabled.
Definition anytone_extension.hh:1189
unsigned int maxHeadPhoneVolume
The maximum head-phone volume setting [0-10].
Definition anytone_extension.hh:1200
Interval _voxDelay
VOX delay in ms.
Definition anytone_extension.hh:1264
VoxSource
Source for the VOX.
Definition anytone_extension.hh:1209
unsigned int fmMicGain
The FM mic gain [1,10].
Definition anytone_extension.hh:1205
unsigned int maxVolume
The maximum volume setting [0-10].
Definition anytone_extension.hh:1198
bool _enhanceAudio
Enhance audio.
Definition anytone_extension.hh:1269
void setVOXDelay(Interval ms)
Sets the VOX delay in ms.
Definition anytone_extension.cc:2288
void setVOXSource(VoxSource source)
Sets the VOX source.
Definition anytone_extension.cc:2312
bool recordingEnabled() const
Returns true if recording is enabled.
Definition anytone_extension.cc:2296
VoxSource voxSource
The VOX source.
Definition anytone_extension.hh:1186
void setMaxHeadPhoneVolume(unsigned int vol)
Sets the maximum head-phone volume.
Definition anytone_extension.cc:2335
bool fmMicGainEnabled() const
Returns true, if the FM mic gain is set independently.
Definition anytone_extension.cc:2367
unsigned int _maxVolume
The maximum volume.
Definition anytone_extension.hh:1267
bool _enableAnalogMicGain
Enables separate analog mic gain.
Definition anytone_extension.hh:1271
bool enhanceAudioEnabled() const
Returns true if the audio is "enhanced".
Definition anytone_extension.cc:2343
void setMuteDelay(Interval intv)
Sets the mute delay.
Definition anytone_extension.cc:2359
Interval _muteDelay
Mute delay in minutes.
Definition anytone_extension.hh:1270
unsigned int _maxHeadPhoneVolume
The maximum head-phone volume.
Definition anytone_extension.hh:1268
bool enableFMMicGain
Enables the separate FM mic gain.
Definition anytone_extension.hh:1203
VoxSource _voxSource
The VOX source.
Definition anytone_extension.hh:1266
void setMaxVolume(unsigned int vol)
Sets the maximum volume.
Definition anytone_extension.cc:2324
unsigned int _analogMicGain
The FM mic gain.
Definition anytone_extension.hh:1272
Represents a list of auto-repeater offsets.
Definition anytone_extension.hh:1361
ConfigItem * allocateChild(const YAML::Node &node, ConfigItem::Context &ctx, const ErrorStack &err)
Allocates a member objects for the given YAML node.
Definition anytone_extension.cc:2633
AnytoneAutoRepeaterOffsetList(QObject *parent=nullptr)
Empty constructor.
Definition anytone_extension.cc:2650
Represents a reference to a repeater offset.
Definition anytone_extension.hh:1349
AnytoneAutoRepeaterOffsetRef(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:2641
Q_INVOKABLE AnytoneAutoRepeaterOffset(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:2604
separatelyFrequency offset
The offset frequency.
Definition anytone_extension.hh:1327
Frequency _offset
The transmit frequency offset in Hz.
Definition anytone_extension.hh:1342
void setOffset(Frequency offset)
Sets the transmit frequency offset in Hz.
Definition anytone_extension.cc:2625
ConfigItem * clone() const
Clones this item.
Definition anytone_extension.cc:2611
Implements the auto-repeater settings extension of AnyTone devices.
Definition anytone_extension.hh:1377
Direction directionA
Specifies the auto-repeater transmit-frequency offset direction for VFO A.
Definition anytone_extension.hh:1383
Frequency uhfMin
The minimum frequency in Hz of the UHF auto-repeater frequency range.
Definition anytone_extension.hh:1399
AnytoneAutoRepeaterOffsetRef * uhf
A reference to the auto-repeater frequency for UHF.
Definition anytone_extension.hh:1411
AnytoneAutoRepeaterSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:2437
Frequency _minUHF2
Minimum frequency of the second UHF auto-repeater range.
Definition anytone_extension.hh:1534
AnytoneAutoRepeaterOffsetRef * vhf2
A reference to the auto-repeater frequency for the second VHF band.
Definition anytone_extension.hh:1431
void setVHFMax(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the VHF band.
Definition anytone_extension.cc:2501
AnytoneAutoRepeaterOffsetRef * uhfRef() const
Returns the reference for the UHF offset freuqency.
Definition anytone_extension.cc:2536
void setUHF2Min(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the second UHF band.
Definition anytone_extension.cc:2567
AnytoneAutoRepeaterOffsetRef * vhf
A reference to the auto-repeater frequency for VHF.
Definition anytone_extension.hh:1407
AnytoneAutoRepeaterOffsetRef * uhf2
A reference to the auto-repeater frequency for the second UHF band.
Definition anytone_extension.hh:1435
Frequency _maxUHF2
Maximum frequency of the second UHF auto-repeater range.
Definition anytone_extension.hh:1536
Frequency _maxVHF
Maximum frequency of the VHF auto-repeater range.
Definition anytone_extension.hh:1520
Direction _directionA
The auto-repeater direction for VFO A.
Definition anytone_extension.hh:1514
AnytoneAutoRepeaterOffsetList * offsets
The repeater transmit offset frequencies.
Definition anytone_extension.hh:1439
Frequency _minVHF
Minimum frequency of the VHF auto-repeater range.
Definition anytone_extension.hh:1518
AnytoneAutoRepeaterOffsetRef * _uhf2Offset
A reference to the second UHF offset frequency.
Definition anytone_extension.hh:1540
Frequency vhf2Max
The maximum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_extension.hh:1419
void setVHF2Min(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the second VHF band.
Definition anytone_extension.cc:2545
Direction directionB
Specifies the auto-repeater transmit-frequency offset direction for VFO B.
Definition anytone_extension.hh:1387
void setVHFMin(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the VHF band.
Definition anytone_extension.cc:2490
AnytoneAutoRepeaterOffsetRef * vhfRef() const
Returns the reference for the VHF offset freuqency.
Definition anytone_extension.cc:2531
Direction _directionB
The auto-repeater direction for VFO B.
Definition anytone_extension.hh:1516
void setVHF2Max(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the second VHF band.
Definition anytone_extension.cc:2556
void setUHF2Max(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the second UHF band.
Definition anytone_extension.cc:2578
void setDirectionB(Direction dir)
Set the auto-repeater offset direction for VFO V.
Definition anytone_extension.cc:2478
Frequency uhfMax
The maximum frequency in Hz of the UHF auto-repeater frequency range.
Definition anytone_extension.hh:1403
AnytoneAutoRepeaterOffsetRef * vhf2Ref() const
Returns the reference for the second VHF offset freuqency.
Definition anytone_extension.cc:2586
Direction
Encodes the auto-repeater offset sign.
Definition anytone_extension.hh:1443
@ Positive
Positive frequency offset.
Definition anytone_extension.hh:1445
@ Off
Disabled.
Definition anytone_extension.hh:1444
@ Negative
Negative frequency offset.
Definition anytone_extension.hh:1446
AnytoneAutoRepeaterOffsetRef * _vhfOffset
A reference to the VHF offset frequency.
Definition anytone_extension.hh:1526
void setDirectionA(Direction dir)
Set the auto-repeater offset direction for VFO A.
Definition anytone_extension.cc:2467
Frequency _maxVHF2
Maximum frequency of the second VHF auto-repeater range.
Definition anytone_extension.hh:1532
void setUHFMin(Frequency Hz)
Sets the minimum frequency (in Hz) of the auto-repeater frequency range in the UHF band.
Definition anytone_extension.cc:2512
AnytoneAutoRepeaterOffsetRef * uhf2Ref() const
Returns the reference for the second UHF offset freuqency.
Definition anytone_extension.cc:2591
AnytoneAutoRepeaterOffsetRef * _uhfOffset
A reference to the UHF offset frequency.
Definition anytone_extension.hh:1528
Frequency vhf2Min
The minimum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_extension.hh:1415
Frequency uhf2Min
The minimum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_extension.hh:1423
void setUHFMax(Frequency Hz)
Sets the maximum frequency (in Hz) of the auto-repeater frequency range in the UHF band.
Definition anytone_extension.cc:2523
Frequency vhfMin
The minimum frequency in Hz of the VHF auto-repeater frequency range.
Definition anytone_extension.hh:1391
Frequency _minUHF
Minimum frequency of the UHF auto-repeater range.
Definition anytone_extension.hh:1522
Frequency uhf2Max
The maximum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_extension.hh:1427
AnytoneAutoRepeaterOffsetList * _offsets
The list of repeater offsets.
Definition anytone_extension.hh:1542
Frequency _maxUHF
Maximum frequency of the UHF auto-repeater range.
Definition anytone_extension.hh:1524
Frequency _minVHF2
Minimum frequency of the second VHF auto-repeater range.
Definition anytone_extension.hh:1530
AnytoneAutoRepeaterOffsetRef * _vhf2Offset
A reference to the second VHF offset frequency.
Definition anytone_extension.hh:1538
Frequency vhfMax
The maximum frequency in Hz of the VHF auto-repeater frequency range.
Definition anytone_extension.hh:1395
Implements the bluetooth settings for some AnyTone devices.
Definition anytone_extension.hh:1981
Interval _pttSleep
PTT sleep timer, 0 is off.
Definition anytone_extension.hh:2009
void setPTTSleepTimer(Interval intv)
Sets the PTT sleep timeout, 0 means off.
Definition anytone_extension.cc:2693
AnytoneBluetoothSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:2660
bool _pttLatch
PTT latch flag.
Definition anytone_extension.hh:2008
void enablePTTLatch(bool enable)
Enables/disables the PTT latch.
Definition anytone_extension.cc:2681
ConfigItem * clone() const
Clones this item.
Definition anytone_extension.cc:2667
bool pttLatch
If true, the PTT latch is enabled.
Definition anytone_extension.hh:1987
Interval pttSleepTimer
The sleep timeout of the PTT button.
Definition anytone_extension.hh:1989
Implements the boot settings extension of AnyTone devices.
Definition anytone_extension.hh:369
void enableBootPassword(bool enable)
Enables the boot password.
Definition anytone_extension.cc:1262
bool resetEnabled() const
Returns true if the MCU is reset on boot.
Definition anytone_extension.cc:1332
bool _reset
Enables MCU reset on boot.
Definition anytone_extension.hh:469
bool defaultChannel
If enabled, the default channels are selected at boot.
Definition anytone_extension.hh:381
ChannelReference * channelA
The default channel for VFO A.
Definition anytone_extension.hh:387
ChannelReference * _channelB
Default channel for VFO B, must be member of zone for VFO B.
Definition anytone_extension.hh:465
ZoneReference * priorityZoneB
The priority zone for VFO B.
Definition anytone_extension.hh:397
bool _bootPasswordEnabled
If true, the boot password is enabled.
Definition anytone_extension.hh:459
ZoneReference * zoneB
The current zone for VFO B.
Definition anytone_extension.hh:390
BootDisplay _bootDisplay
The boot display property.
Definition anytone_extension.hh:458
AnytoneBootSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_extension.cc:1225
void enableReset(bool enable)
Enables/disables MCU reset on boot.
Definition anytone_extension.cc:1336
ZoneReference * _priorityZoneA
Priority zone for VFO A.
Definition anytone_extension.hh:466
bool _defaultChannel
Change to the default channel on boot.
Definition anytone_extension.hh:461
QString bootPassword
Holds the boot password.
Definition anytone_extension.hh:377
void enableDefaultChannel(bool enable)
Enables/disables boot default channel.
Definition anytone_extension.cc:1286
bool bootPasswordEnabled
If true, the boot password is enabled.
Definition anytone_extension.hh:375
bool gpsCheckEnabled() const
Returns true if the GPS check is enabled.
Definition anytone_extension.cc:1320
bool _gpsCheck
Enables GPS check.
Definition anytone_extension.hh:468
ZoneReference * _zoneA
Default zone for VFO A.
Definition anytone_extension.hh:462
ChannelReference * channelB
The default channel for VFO B.
Definition anytone_extension.hh:393
ZoneReference * zoneA
The default zone for VFO A.
Definition anytone_extension.hh:384
ZoneReference * _priorityZoneB
Priority zone for VFO B.
Definition anytone_extension.hh:467
void enableGPSCheck(bool enable)
Enables/disables the GPS check.
Definition anytone_extension.cc:1324
bool defaultChannelEnabled() const
If true, the radio switches to the default channel at boot.
Definition anytone_extension.cc:1282
BootDisplay
What to display during boot.
Definition anytone_extension.hh:406
void setBootDisplay(BootDisplay mode)
Sets the boot display.
Definition anytone_extension.cc:1250
bool reset
Enables the MCU reset on boot.
Definition anytone_extension.hh:402
BootDisplay bootDisplay
The boot display setting.
Definition anytone_extension.hh:373
void setBootPassword(const QString &pass)
Sets the boot password.
Definition anytone_extension.cc:1274
bool gpsCheck
Enables the GPS check.
Definition anytone_extension.hh:400
ZoneReference * _zoneB
Default zone for VFO B.
Definition anytone_extension.hh:464
ChannelReference * _channelA
Default channel for VFO A, must be member of zone for VFO A.
Definition anytone_extension.hh:463
QString _bootPassword
The boot password.
Definition anytone_extension.hh:460
ZoneReference * priorityZoneA
The priority zone for VFO A.
Definition anytone_extension.hh:395
bool _talkaround
If true, talkaround is enabled.
Definition anytone_extension.hh:127
bool handsFree
If true, the hands-free featrue is enabled for this channel.
Definition anytone_extension.hh:82
AnytoneChannelExtension(QObject *parent=nullptr)
Hidden constructor.
Definition anytone_extension.cc:65
void setFrequencyCorrection(int corr)
Sets the frequency correction.
Definition anytone_extension.cc:89
APRSPTT aprsPTT
Specifies if and when the position is send via the associated APRS system, once the PTT is pressed.
Definition anytone_extension.hh:87
bool _handsFree
If true, the hands-free featrue is enabled for this channel.
Definition anytone_extension.hh:131
APRSPTT
Possible APRS PTT modes.
Definition anytone_extension.hh:91
void enableTalkaround(bool enable)
Enables/disables talkaround.
Definition anytone_extension.cc:77
int _frequencyCorrection
The frequency correction.
Definition anytone_extension.hh:129
int frequencyCorrection
Holds the frequency correction in some unknown units.
Definition anytone_extension.hh:80
void enableHandsFree(bool enable)
Enables/disables the hands-free feature for this channel.
Definition anytone_extension.cc:101
void setAPRSPTT(APRSPTT mode)
Sets the APRS PTT mode.
Definition anytone_extension.cc:118
APRSPTT _aprsPTT
Holds the APRS PTT mode.
Definition anytone_extension.hh:135
bool talkaround
If true, talkaround is enabled.
Definition anytone_extension.hh:78
AnytoneAPRSFrequencyRef * fmAPRSFrequency
A reference to the FM APRS frequency.
Definition anytone_extension.hh:84
AnytoneAPRSFrequencyRef * _fmAPRSFrequency
A reference to the FM APRS frequency.
Definition anytone_extension.hh:133
Implements the AnyTone contact extension.
Definition anytone_extension.hh:332
void setAlertType(AlertType type)
Sets the alert type for the contact.
Definition anytone_extension.cc:391
Q_INVOKABLE AnytoneContactExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:370
AlertType _alertType
Holds the alert type for the contact.
Definition anytone_extension.hh:360
AlertType
Possible ring-tone types.
Definition anytone_extension.hh:340
@ Online
WTF?
Definition anytone_extension.hh:343
@ None
Alert disabled.
Definition anytone_extension.hh:341
@ Ring
Ring tone.
Definition anytone_extension.hh:342
AlertType alertType
Overrides the ring flag, allows to set None, Ring and Online.
Definition anytone_extension.hh:336
void enableAdaptiveTDMA(bool enable)
Enables/disables the adaptive TDMA mode.
Definition anytone_extension.cc:303
void enableDataACK(bool enable)
Enables/disables the data acknowledgement.
Definition anytone_extension.cc:279
void enableSMS(bool enable)
Enables/disables SMS reception.
Definition anytone_extension.cc:255
bool _throughMode
If true the through mode is enabled.
Definition anytone_extension.hh:299
bool loneWorker
If true, the lone-worker feature is enabled for this channel.
Definition anytone_extension.hh:240
void enableLoneWorker(bool enable)
Enables the lone-worker feature for this channel.
Definition anytone_extension.cc:315
Q_INVOKABLE AnytoneDMRChannelExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:220
void enableThroughMode(bool enable)
Enables/disables the through mode.
Definition anytone_extension.cc:327
void enableSMSConfirm(bool enabled)
Enables/disables the SMS confirmation.
Definition anytone_extension.cc:267
bool simplexTDMA
If true, the simplex TDMA mode is enabled (aka DCDM).
Definition anytone_extension.hh:234
ConfigItem * clone() const
Clones this item.
Definition anytone_extension.cc:229
bool _smsConfirm
If true, the SMS confirmation is enabled.
Definition anytone_extension.hh:289
void enableSimplexTDMA(bool enable)
Enables/disables the simplex TDMA (DCDM) mode.
Definition anytone_extension.cc:291
bool _simplexTDMA
If true, the simplex TDMA mode is enabled.
Definition anytone_extension.hh:293
bool sms
If true, SMS reception is enabled.
Definition anytone_extension.hh:228
bool _dataACK
If true, the data acknowledgement is enabled.
Definition anytone_extension.hh:291
bool _sms
If true, the SMS reception is enabled.
Definition anytone_extension.hh:287
bool adaptiveTDMA
If true, the adaptive TDMA mode is enabled.
Definition anytone_extension.hh:238
bool callConfirm
If true, the call confirmation is enabled.
Definition anytone_extension.hh:226
bool smsConfirm
If true, the SMS confirmation is enabled.
Definition anytone_extension.hh:230
bool throughMode
If true, the through mode is enabled (what ever that means).
Definition anytone_extension.hh:242
bool dataACK
If true, the radio will response to received data packages.
Definition anytone_extension.hh:232
bool _callConfirm
If true, the call confirmation is enabled.
Definition anytone_extension.hh:285
void enableCallConfirm(bool enabled)
Enables/disables the call confirmation.
Definition anytone_extension.cc:243
bool _adaptiveTDMA
If true, the adaptive TDMA mode is enabled.
Definition anytone_extension.hh:295
bool _loneWorker
If true the lone-worker feature is enabled.
Definition anytone_extension.hh:297
Implements the DMR settings extension of AnyTone devices.
Definition anytone_extension.hh:1551
SMSFormat _smsFormat
Sets the SMS format.
Definition anytone_extension.hh:1733
void enableMonitorColorCodeMatch(bool enable)
Enables/disables the CC match for the DMR monitor.
Definition anytone_extension.cc:525
Interval _preWaveDelay
Pre-wave time in ms, should be 100ms.
Definition anytone_extension.hh:1726
TalkerAliasSource talkerAliasSource() const
Returns the talker alias source.
Definition anytone_extension.cc:581
void setGroupCallHangTime(Interval sec)
Sets the group-call hang-time in seconds.
Definition anytone_extension.cc:429
void setPreWaveDelay(Interval ms)
Sets the pre-wave delay in ms.
Definition anytone_extension.cc:477
bool monitorTimeSlotHoldEnabled() const
Returns true if the time-slot is held by the DMR monitor.
Definition anytone_extension.cc:545
bool _monitorColorCodeMatch
Enables CC match for DMR monitor.
Definition anytone_extension.hh:1730
void enableMonitorIDMatch(bool enable)
Enables/disables ID match for the DMR monitor.
Definition anytone_extension.cc:537
Interval wakeHeadPeriod
Wake head-period in ms.
Definition anytone_extension.hh:1572
bool _monitorIDMatch
Enables ID match for DMR monitor.
Definition anytone_extension.hh:1731
void setManualGroupCallHangTime(Interval sec)
Sets the manual dialed group-call hang-time in seconds.
Definition anytone_extension.cc:441
Interval privateCallHangTime
Private-call hang-time in seconds.
Definition anytone_extension.hh:1562
Interval preWaveDelay
Pre-wave delay in ms.
Definition anytone_extension.hh:1568
void setTalkerAliasSource(TalkerAliasSource mode)
Sets the talker alias source.
Definition anytone_extension.cc:585
Interval manualPrivateCallHangTime
Manual dialed private-call hang-time in seconds.
Definition anytone_extension.hh:1564
SlotMatch monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_extension.hh:1580
EncryptionType _encryption
DMR encryption type.
Definition anytone_extension.hh:1737
bool _monitorTimeSlotHold
Enables the time-slot hold for the DMR monitor.
Definition anytone_extension.hh:1732
void setSMSFormat(SMSFormat format)
Sets the SMS format.
Definition anytone_extension.cc:561
void setPrivateCallHangTime(Interval sec)
Sets the private-call hang-time in seconds.
Definition anytone_extension.cc:453
Interval _manualGroupCallHangTime
Hang-time for manual dialed group-calls in seconds.
Definition anytone_extension.hh:1723
void enableMonitorTimeSlotHold(bool enable)
Enables/disables the time-slot hold for the DMR monitor.
Definition anytone_extension.cc:549
bool filterOwnIDEnabled() const
If true, the own ID is not shown in call lists.
Definition anytone_extension.cc:497
bool _filterOwnID
If enabled, the own ID is not shown in call lists.
Definition anytone_extension.hh:1728
AnytoneDMRSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_extension.cc:399
bool sendTalkerAlias() const
Returns true if the talker alias is sent.
Definition anytone_extension.cc:569
void enableFilterOwnID(bool enable)
Enables/disables filtering of own ID.
Definition anytone_extension.cc:501
TalkerAliasEncoding _talkerAliasEncoding
Encoding for the talker alias.
Definition anytone_extension.hh:1736
SMSFormat smsFormat() const
Returns the SMS format.
Definition anytone_extension.cc:557
void setManualPrivateCallHangTime(Interval sec)
Sets the manual dialed private-call hang-time in seconds.
Definition anytone_extension.cc:465
Interval _privateCallHangTime
Hang-time for private-calls in seconds.
Definition anytone_extension.hh:1724
bool _sendTalkerAlias
Enables sending talker alias.
Definition anytone_extension.hh:1734
Interval groupCallHangTime
Group-call hang-time in seconds.
Definition anytone_extension.hh:1556
bool monitorColorCodeMatchEnabled() const
Returns true if the CC match is enabled for the DMR monitor.
Definition anytone_extension.cc:521
Interval manualGroupCallHangTime
Manual dialed group-call hang-time in seconds.
Definition anytone_extension.hh:1558
bool filterOwnID
Filter own ID from call lists.
Definition anytone_extension.hh:1576
void setEncryption(EncryptionType type)
Sets the encryption type.
Definition anytone_extension.cc:609
Interval _groupCallHangTime
Hang-time for group-calls in seconds.
Definition anytone_extension.hh:1722
void setMonitorSlotMatch(SlotMatch match)
Sets the slot-match mode for the DMR monitor.
Definition anytone_extension.cc:513
EncryptionType encryption() const
Returns the encryption type.
Definition anytone_extension.cc:605
SlotMatch _monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_extension.hh:1729
void enableSendTalkerAlias(bool enable)
Enables/disables sending talker alias.
Definition anytone_extension.cc:573
void setWakeHeadPeriod(Interval ms)
Sets the wake head-period in ms.
Definition anytone_extension.cc:489
bool monitorIDMatchEnabled() const
Returns true if the ID match is enabled for the DMR monitor.
Definition anytone_extension.cc:533
Interval _wakeHeadPeriod
Wake head-period in ms, should be 100ms.
Definition anytone_extension.hh:1727
TalkerAliasSource _talkerAliasSource
Source for the talker alias.
Definition anytone_extension.hh:1735
void setTalkerAliasEncoding(TalkerAliasEncoding encoding)
Sets the talker alias encoding.
Definition anytone_extension.cc:597
Interval _manualPrivateCallHangTime
Hang-time for manual dialed private-calls in seconds.
Definition anytone_extension.hh:1725
TalkerAliasEncoding talkerAliasEncoding() const
Returns the talker alias encoding.
Definition anytone_extension.cc:593
Implements the display settings extension of AnyTone devices.
Definition anytone_extension.hh:916
bool showCallEnabled() const
Returns true if the call is shown.
Definition anytone_extension.cc:2034
bool showChannelType
Shows the channel type.
Definition anytone_extension.hh:958
void setZoneBNameColor(Color color)
Sets the zone name color for VFO B.
Definition anytone_extension.cc:2230
void setDateFormat(DateFormat format)
Sets the date format.
Definition anytone_extension.cc:2074
void setChannelNameColor(Color color)
Sets the color of the channel name.
Definition anytone_extension.cc:2194
bool showChannelNumber
Shows the channel number.
Definition anytone_extension.hh:952
Color _zoneNameColor
Color of zone name.
Definition anytone_extension.hh:1170
bool showLastHeardEnabled() const
Shows the last caller.
Definition anytone_extension.cc:2142
bool _callEndPrompt
Call-end prompt enabled.
Definition anytone_extension.hh:1150
bool _showLastHeard
Shows the last caller.
Definition anytone_extension.hh:1164
bool _showTimeSlot
Show time slot.
Definition anytone_extension.hh:1159
LastCallerDisplayMode _lastCallerDisplay
Last-caller display mode.
Definition anytone_extension.hh:1151
bool _showColorCode
Show color code.
Definition anytone_extension.hh:1158
Color channelNameColor
The channel name color.
Definition anytone_extension.hh:973
bool _showContact
Enables showing the contact.
Definition anytone_extension.hh:1161
void enableCallEndPrompt(bool enable)
Enables/disables the call-end prompt.
Definition anytone_extension.cc:2002
bool displayFrequencyEnabled() const
Returns true, if the frequency is displayed instead of the channel name.
Definition anytone_extension.cc:1962
Color _callColor
Color of call.
Definition anytone_extension.hh:1154
void enableDisplayFrequency(bool enable)
Enables/disables display of frequency.
Definition anytone_extension.cc:1966
Color callColor
The color of the call.
Definition anytone_extension.hh:965
void setStandbyTextColor(Color color)
Sets the standby text color.
Definition anytone_extension.cc:2158
bool _customChannelBackground
Custom channel background enabled.
Definition anytone_extension.hh:1167
Color
Possible display colors.
Definition anytone_extension.hh:998
AnytoneDisplaySettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_extension.cc:1925
Color zoneNameColor
The zone name color.
Definition anytone_extension.hh:980
bool showClockEnabled() const
Returns true if the clock is shown.
Definition anytone_extension.cc:2022
void enableShowTimeSlot(bool enable)
Shows/hides time slot.
Definition anytone_extension.cc:2110
Color zoneBNameColor
The zone name color for VFO B.
Definition anytone_extension.hh:983
Language language
Specifies the UI language.
Definition anytone_extension.hh:986
void enableShowColorCode(bool enable)
Shows/hides color code.
Definition anytone_extension.cc:2098
unsigned int brightness
The display brightness [1-10].
Definition anytone_extension.hh:922
Color _channelNameColor
Color of channel name.
Definition anytone_extension.hh:1168
void setLastCallerDisplay(LastCallerDisplayMode mode)
Sets the last caller display mode.
Definition anytone_extension.cc:2014
bool showClock
If true, the clock is shown.
Definition anytone_extension.hh:946
bool showCall
If true, the call is shown.
Definition anytone_extension.hh:948
bool customChannelBackground
Enables custom channel background.
Definition anytone_extension.hh:938
void enableShowChannelNumber(bool enable)
Enables/disables the display of the channel number.
Definition anytone_extension.cc:2086
unsigned int _brightness
The display brightness.
Definition anytone_extension.hh:1147
Color _zoneBNameColor
Color of zone name for VFO B.
Definition anytone_extension.hh:1171
bool showContact
Shows the contact.
Definition anytone_extension.hh:950
Color _standbyBackgroundColor
Standby background color.
Definition anytone_extension.hh:1163
void setStandbyBackgroundColor(Color color)
Sets the standby background color.
Definition anytone_extension.cc:2170
bool callEndPromptEnabled() const
Returns true if the call-end prompt is shown.
Definition anytone_extension.cc:1998
Interval _backlightDuration
Backlight duration in seconds, 0=permanent.
Definition anytone_extension.hh:1148
bool showColorCode
Shows the color code.
Definition anytone_extension.hh:954
void enableShowChannelType(bool enable)
Shows/hides channel type.
Definition anytone_extension.cc:2122
bool showTimeSlot
Shows the time slot.
Definition anytone_extension.hh:956
bool displayFrequency
The display frequency setting.
Definition anytone_extension.hh:920
Color _standbyTextColor
Standby text color.
Definition anytone_extension.hh:1162
bool callEndPrompt
The call-end prompt is shown.
Definition anytone_extension.hh:943
LastCallerDisplayMode lastCallerDisplay
The last-caller display mode.
Definition anytone_extension.hh:962
bool _volumeChangePrompt
Volume-change prompt enabled.
Definition anytone_extension.hh:1149
bool _showChannelNumber
Show channel number.
Definition anytone_extension.hh:1157
Interval _backlightDurationTX
Backlight duration in seconds during TX.
Definition anytone_extension.hh:1165
DateFormat
Possible date formats.
Definition anytone_extension.hh:1011
@ DayFirst
dd/mm/yyyy
Definition anytone_extension.hh:1013
@ YearFirst
yyyy/mm/dd
Definition anytone_extension.hh:1012
void setBacklightDuration(Interval sec)
Sets the backlight duration in seconds, 0 means permanent.
Definition anytone_extension.cc:1978
void setBacklightDurationTX(Interval sec)
Sets the backlight duration during TX in seconds.
Definition anytone_extension.cc:2182
bool showChannelNumberEnabled() const
Returns true if the channel number is shown.
Definition anytone_extension.cc:2082
void enableShowLastHeard(bool enable)
Enables/disables display of last caller.
Definition anytone_extension.cc:2146
DateFormat dateFormat
Specifies the date format.
Definition anytone_extension.hh:988
bool _showClock
Display clock.
Definition anytone_extension.hh:1152
Color channelBNameColor
The channel name color for VFO B.
Definition anytone_extension.hh:976
Color standbyBackgroundColor
The standby background color.
Definition anytone_extension.hh:969
bool _showCall
Display call.
Definition anytone_extension.hh:1153
Interval backlightDurationTX() const
Returns backlight duration during TX.
Definition anytone_extension.cc:2178
bool _displayFrequency
Display frequency property.
Definition anytone_extension.hh:1146
bool volumeChangePromptEnabled() const
Returns true if the volume-change prompt is shown.
Definition anytone_extension.cc:1986
Color standbyTextColor
The standby text color.
Definition anytone_extension.hh:967
Language
Possible UI languages.
Definition anytone_extension.hh:1004
@ English
UI Language is english.
Definition anytone_extension.hh:1005
@ German
UI Language is german.
Definition anytone_extension.hh:1006
void setBacklightDurationRX(Interval sec)
Sets the backlight duration during RX in seconds.
Definition anytone_extension.cc:2242
bool showLastHeard
Shows the last caller.
Definition anytone_extension.hh:960
void enableCustomChannelBackground(bool enable)
Enables/disables the custom channel background.
Definition anytone_extension.cc:2254
void setCallColor(Color color)
Sets the color of the call.
Definition anytone_extension.cc:2050
void enableShowCall(bool enable)
Enables/disables display of call.
Definition anytone_extension.cc:2038
void enableShowClock(bool enable)
Enables/disables clock.
Definition anytone_extension.cc:2026
void setZoneNameColor(Color color)
Sets the color of the zone name.
Definition anytone_extension.cc:2218
onInterval backlightDurationRX
RX backlight duration.
Definition anytone_extension.hh:935
bool volumeChangePrompt
The volume-change prompt is shown.
Definition anytone_extension.hh:941
Language _language
UI language.
Definition anytone_extension.hh:1155
void setLanguage(Language lang)
Sets the UI language.
Definition anytone_extension.cc:2062
void setChannelBNameColor(Color color)
Sets the channel name color for VFO B.
Definition anytone_extension.cc:2206
void setBrightness(unsigned int level)
Sets the display brightness [1-10].
Definition anytone_extension.cc:1954
DateFormat _dateFormat
The date format.
Definition anytone_extension.hh:1156
Interval backlightDuration
The backlight duration in seconds.
Definition anytone_extension.hh:925
bool _showChannelType
Show channel type.
Definition anytone_extension.hh:1160
void enableVolumeChangePrompt(bool enable)
Enables/disables the volume-change prompt.
Definition anytone_extension.cc:1990
Interval _backlightDurationRX
Backlight duration in seconds during RX.
Definition anytone_extension.hh:1166
void enableShowContact(bool enable)
Enables/disables the display of calling contact.
Definition anytone_extension.cc:2134
LastCallerDisplayMode
What to show from the last caller.
Definition anytone_extension.hh:992
Color _channelBNameColor
Color of channel name for VFO B.
Definition anytone_extension.hh:1169
Implements some additional settings for the FM APRS system.
Definition anytone_extension.hh:2382
void setPreWaveDelay(Interval ms)
Sets the pre-wave delay in ms.
Definition anytone_extension.cc:2796
bool reportMessage
If true, the report message flag is set.
Definition anytone_extension.hh:2400
bool _reportWeather
The report weather flag.
Definition anytone_extension.hh:2499
bool _reportMessage
The report message flag.
Definition anytone_extension.hh:2497
bool _reportMicE
The report Mic-E flag.
Definition anytone_extension.hh:2491
bool _reportStatus
The report status flag.
Definition anytone_extension.hh:2503
Q_INVOKABLE AnytoneFMAPRSSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:2759
Interval _preWaveDelay
The pre-wave delay.
Definition anytone_extension.hh:2485
void enableReportMessage(bool enable)
Enables/disables report message flag.
Definition anytone_extension.cc:2868
Interval _txDelay
The transmit delay.
Definition anytone_extension.hh:2483
void enableReportStatus(bool enable)
Enables/disables report status flag.
Definition anytone_extension.cc:2904
bool reportPosition
If true, the report position flag is set.
Definition anytone_extension.hh:2392
bool reportItem
If true, the report item flag is set.
Definition anytone_extension.hh:2398
bool _reportOther
The report other flag.
Definition anytone_extension.hh:2505
Interval preWaveDelay
The transmit pre-wave delay in milliseconds.
Definition anytone_extension.hh:2388
void enableReportObject(bool enable)
Enables/disables report object flag.
Definition anytone_extension.cc:2844
bool reportWeather
If true, the report weather flag is set.
Definition anytone_extension.hh:2402
bool passAll
If true, all APRS messages are processed, including those with invalid CRC.
Definition anytone_extension.hh:2390
bool reportNMEA
If true, the report NMEA flag is set.
Definition anytone_extension.hh:2404
AnytoneAPRSFrequencyList * frequencies
The list of additional APRS frequencies.
Definition anytone_extension.hh:2411
bool _reportItem
The report item flag.
Definition anytone_extension.hh:2495
bool _reportNMEA
The report NMEA flag.
Definition anytone_extension.hh:2501
Interval txDelay
The transmit delay in milliseconds.
Definition anytone_extension.hh:2386
bool _reportPosition
If true the report position flag is set.
Definition anytone_extension.hh:2489
bool _passAll
If true, all APRS messages are processed.
Definition anytone_extension.hh:2487
void enableReportMicE(bool enable)
Enables/disables report Mic-E flag.
Definition anytone_extension.cc:2832
void enableReportNMEA(bool enable)
Enables/disables report NMEA flag.
Definition anytone_extension.cc:2892
void enableReportWeather(bool enable)
Enables/disables report weather flag.
Definition anytone_extension.cc:2880
bool _reportObject
The report object flag.
Definition anytone_extension.hh:2493
void enableReportItem(bool enable)
Enables/disables report item flag.
Definition anytone_extension.cc:2856
Bandwidth
Possible bandwidth settings.
Definition anytone_extension.hh:2415
void enableReportOther(bool enable)
Enables/disables report other flag.
Definition anytone_extension.cc:2916
void enablePassAll(bool enable)
Enables processing of all received APRS messages, including those with invalid CRC.
Definition anytone_extension.cc:2808
bool reportOther
If true, the report other flag is set.
Definition anytone_extension.hh:2408
bool reportStatus
If true, the report status flag is set.
Definition anytone_extension.hh:2406
void enableReportPosition(bool enable)
Enables/disables report position flag.
Definition anytone_extension.cc:2820
bool reportMicE
If true, the report Mic-E flag is set.
Definition anytone_extension.hh:2394
bool reportObject
If true, the report object flag is set.
Definition anytone_extension.hh:2396
AnytoneAPRSFrequencyList * _frequencies
The list of additional FM APRS frequencies.
Definition anytone_extension.hh:2507
void setTXDelay(Interval intv)
Sets the transmit delay.
Definition anytone_extension.cc:2784
SquelchMode squelchMode
Holds the squelch mode.
Definition anytone_extension.hh:154
bool txCustomCTCSS
If true, the custom CTCSS tone is transmitted.
Definition anytone_extension.hh:150
void enableScrambler(bool enable)
Enables/disables the analog scrambler.
Definition anytone_extension.cc:209
bool scrambler
If true, the analog scrabler is enabled.
Definition anytone_extension.hh:156
SquelchMode _squelchMode
Holds the squelch mode.
Definition anytone_extension.hh:213
bool _reverseBurst
If true, the CTCSS phase-reverse burst at the end of transmission is enabled.
Definition anytone_extension.hh:205
void enableRXCustomCTCSS(bool enable)
Enables/disables usage of custom CTCSS frequency for RX.
Definition anytone_extension.cc:163
ConfigItem * clone() const
Clones this item.
Definition anytone_extension.cc:137
SquelchMode
Possible squelch mode settings.
Definition anytone_extension.hh:160
void enableTXCustomCTCSS(bool enable)
Enables/disables usage of custom CTCSS frequency for TX.
Definition anytone_extension.cc:174
void setSquelchMode(SquelchMode mode)
Sets the squelch mode.
Definition anytone_extension.cc:197
Q_INVOKABLE AnytoneFMChannelExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:129
bool reverseBurst
If true, the CTCSS phase-reverse burst at the end of transmission is enabled.
Definition anytone_extension.hh:146
void enableReverseBurst(bool enable)
Enables/disables the CTCSS phase-reverse burst.
Definition anytone_extension.cc:151
double customCTCSS
Holds the custom CTCSS tone frequency in Hz.
Definition anytone_extension.hh:152
bool _rxCustomCTCSS
If true, the custom CTCSS tone is used for RX (open squelch).
Definition anytone_extension.hh:207
void setCustomCTCSS(double freq)
Sets the custom CTCSS frequency in Hz.
Definition anytone_extension.cc:185
bool _scrambler
If true, the analog scrambler is enabled for this channel.
Definition anytone_extension.hh:215
bool _txCustomCTCSS
If true, the custom CTCSS tone is transmitted.
Definition anytone_extension.hh:209
double _customCTCSS
Holds the custom CTCSS tone frequency in Hz.
Definition anytone_extension.hh:211
bool rxCustomCTCSS
If true, the custom CTCSS tone is used for RX (open squelch).
Definition anytone_extension.hh:148
Implements the GPS settings extension of AnyTone devices.
Definition anytone_extension.hh:1746
Interval updatePeriod
GPS ranging interval in seconds.
Definition anytone_extension.hh:1763
void setMode(GPSMode mode)
Sets the GPS mode.
Definition anytone_extension.cc:698
QString timeZone
The time-zone IANA Id.
Definition anytone_extension.hh:1755
void enablePositionReporting(bool enable)
Enables/disables the GPS range reporting.
Definition anytone_extension.cc:674
Units units
The GPS units used.
Definition anytone_extension.hh:1751
bool _gpsRangeReporting
Enables GPS range reporting.
Definition anytone_extension.hh:1819
AnytoneGPSSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_extension.cc:620
QString ianaTimeZone() const
Returns the IANA ID of the time zone.
Definition anytone_extension.cc:654
void setIANATimeZone(const QString &id)
Sets the time zone by IANA ID.
Definition anytone_extension.cc:665
bool reportPosition
Enables GPS range reporting.
Definition anytone_extension.hh:1759
Units _gpsUnits
The GPS units.
Definition anytone_extension.hh:1817
QTimeZone _timeZone
The time zone.
Definition anytone_extension.hh:1818
void setUnits(Units units)
Sets the GPS units.
Definition anytone_extension.cc:642
GPSMode _mode
The GPS mode (GPS, Baidu, both).
Definition anytone_extension.hh:1821
Interval _gpsRangingInterval
The GPS ranging interval in seconds.
Definition anytone_extension.hh:1820
void setUpdatePeriod(Interval sec)
Sets the GPS ranging interval in seconds.
Definition anytone_extension.cc:686
bool positionReportingEnabled() const
Returns true if the GPS range reporting is enabled.
Definition anytone_extension.cc:670
GPSMode mode
The GPS mode.
Definition anytone_extension.hh:1766
GPSMode
Possible GPS modes.
Definition anytone_extension.hh:1776
Units
Possible unit systems.
Definition anytone_extension.hh:1770
Implements the key settings extension of AnyTone devices.
Definition anytone_extension.hh:542
KeyFunction _funcKey6Short
Function of the function key 6, short press.
Definition anytone_extension.hh:754
KeyFunction _funcKey3Short
Function of the function key 3, short press.
Definition anytone_extension.hh:748
void setFuncKeyBLong(KeyFunction func)
Sets the key function for a long press on the function key B.
Definition anytone_extension.cc:1621
KeyFunction funcKey6Short
Function key 6 (P6 next to screen, D578UV only), short press function.
Definition anytone_extension.hh:566
KeyFunction funcKeyCLong
Function key C (PF3 on top or B on mic), long press function.
Definition anytone_extension.hh:580
void setFuncKeyCLong(KeyFunction func)
Sets the key function for a long press on the function key C.
Definition anytone_extension.cc:1644
void setFuncKey5Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 5.
Definition anytone_extension.cc:1541
void enableKeypadLock(bool enable)
Enables/disables the key-pad lock.
Definition anytone_extension.cc:1714
KeyFunction _funcKey1Long
Function of the function key 1, long press.
Definition anytone_extension.hh:745
bool sideKeysLockEnabled() const
Returns true if the side-keys gets locked too.
Definition anytone_extension.cc:1721
bool autoKeyLock
The auto key-lock property.
Definition anytone_extension.hh:589
KeyFunction _funcKeyAShort
Function of the function key A, short press.
Definition anytone_extension.hh:756
void setFuncKey2Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 2.
Definition anytone_extension.cc:1472
KeyFunction funcKey1Short
Function key 1 (P1 below or next to screen), short press function.
Definition anytone_extension.hh:546
KeyFunction _funcKeyBShort
Function of the function key B, short press.
Definition anytone_extension.hh:758
KeyFunction funcKey3Long
Function key 3 (P3 next to screen, D578UV only), long press function.
Definition anytone_extension.hh:556
KeyFunction funcKey2Short
Function key 2 (P2 below or next to screen), short press function.
Definition anytone_extension.hh:550
KeyFunction funcKey6Long
Function key 6 (P6 next to screen, D578UV only), long press function.
Definition anytone_extension.hh:568
void enableKnobLock(bool enable)
Enables/disables the knob lock.
Definition anytone_extension.cc:1703
bool _sideKeysLock
Side-keys are locked.
Definition anytone_extension.hh:768
KeyFunction funcKey2Long
Function key 2 (P2 below or next to screen), long press function.
Definition anytone_extension.hh:552
KeyFunction _funcKey5Long
Function of the function key 5, long press.
Definition anytone_extension.hh:753
void setFuncKeyDLong(KeyFunction func)
Sets the key function for a long press on the function key D.
Definition anytone_extension.cc:1667
KeyFunction funcKey1Long
Function key 1 (P1 below or next to screen), long press function.
Definition anytone_extension.hh:548
KeyFunction _funcKey2Long
Function of the function key 2, long press.
Definition anytone_extension.hh:747
KeyFunction funcKeyCShort
Function key C (PF3 on top or C on mic), short press function.
Definition anytone_extension.hh:578
KeyFunction _funcKeyALong
Function of the function key A, long press.
Definition anytone_extension.hh:757
KeyFunction _funcKey2Short
Function of the function key 2, short press.
Definition anytone_extension.hh:746
KeyFunction
All possible key functions.
Definition anytone_extension.hh:609
void setLongPressDuration(Interval ms)
Sets the long-press duration in ms.
Definition anytone_extension.cc:1679
AnytoneKeySettingsExtension(QObject *parent=nullptr)
Empty constructor.
Definition anytone_extension.cc:1416
void setFuncKey4Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 4.
Definition anytone_extension.cc:1518
void setFuncKeyDShort(KeyFunction func)
Sets the key function for a short press on the function key D.
Definition anytone_extension.cc:1656
void setFuncKeyAShort(KeyFunction func)
Sets the key function for a short press on the function key A.
Definition anytone_extension.cc:1587
KeyFunction funcKeyBShort
Function key B (PF2 second below PTT or B on mic), short press function.
Definition anytone_extension.hh:574
KeyFunction funcKey5Long
Function key 5 (P5 next to screen, D578UV only), long press function.
Definition anytone_extension.hh:564
KeyFunction funcKeyAShort
Function key A (PF1 below PTT or A on mic), short press function.
Definition anytone_extension.hh:570
KeyFunction _funcKeyDShort
Function of the function key D, short press.
Definition anytone_extension.hh:762
void setFuncKey3Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 3.
Definition anytone_extension.cc:1495
bool knobLockEnabled() const
Returns true if the knob gets locked too.
Definition anytone_extension.cc:1699
Interval _longPressDuration
The long-press duration in ms.
Definition anytone_extension.hh:764
KeyFunction funcKeyDShort
Function key D (D on mic, D578UV only), short press function.
Definition anytone_extension.hh:582
bool autoKeyLockEnabled() const
Returns true, if the automatic key-lock feature is enabled.
Definition anytone_extension.cc:1687
void setFuncKey1Short(KeyFunction func)
Sets the key function for a short press on the function key 1.
Definition anytone_extension.cc:1449
KeyFunction _funcKey4Long
Function of the function key 4, long press.
Definition anytone_extension.hh:751
void setFuncKey4Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 4.
Definition anytone_extension.cc:1529
void setFuncKeyALong(KeyFunction func)
Sets the key function for a long press on the function key A.
Definition anytone_extension.cc:1598
bool forcedKeyLock
If true, the key-lock is forced.
Definition anytone_extension.hh:605
KeyFunction funcKey5Short
Function key 5 (P5 next to screen, D578UV only), short press function.
Definition anytone_extension.hh:562
bool _forcedKeyLock
Forced key-lock.
Definition anytone_extension.hh:769
void setFuncKeyBShort(KeyFunction func)
Sets the key function for a short press on the function key B.
Definition anytone_extension.cc:1610
void enableAutoKeyLock(bool enabled)
Enables/disables auto key-lock.
Definition anytone_extension.cc:1691
KeyFunction _funcKey5Short
Function of the function key 5, short press.
Definition anytone_extension.hh:752
void setFuncKey2Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 2.
Definition anytone_extension.cc:1483
KeyFunction _funcKeyCLong
Function of the function key C, long press.
Definition anytone_extension.hh:761
KeyFunction funcKey4Short
Function key 4 (P4 next to screen, D578UV only), short press function.
Definition anytone_extension.hh:558
void setFuncKey3Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 3.
Definition anytone_extension.cc:1506
KeyFunction _funcKey1Short
Function of the function key 1, short press.
Definition anytone_extension.hh:744
KeyFunction funcKey3Short
Function key 3 (P3 next to screen, D578UV only), short press function.
Definition anytone_extension.hh:554
bool keypadLockEnabled() const
Returns true if the key-pad gets locked too.
Definition anytone_extension.cc:1710
Interval longPressDuration
The long press duration in ms.
Definition anytone_extension.hh:586
KeyFunction _funcKeyDLong
Function of the function key D, long press.
Definition anytone_extension.hh:763
KeyFunction funcKeyBLong
Function key B (PF2 second below PTT or B on mic), long press function.
Definition anytone_extension.hh:576
bool sideKeysLock
If true, the side-keys get locked too.
Definition anytone_extension.hh:601
void setFuncKey5Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 5.
Definition anytone_extension.cc:1552
KeyFunction _funcKeyBLong
Function of the function key B, long press.
Definition anytone_extension.hh:759
KeyFunction funcKeyDLong
Function key D (D on mic, D578UV only), long press function.
Definition anytone_extension.hh:584
bool _autoKeyLock
Auto key-lock property.
Definition anytone_extension.hh:765
KeyFunction _funcKey4Short
Function of the function key 4, short press.
Definition anytone_extension.hh:750
bool _knobLock
Knob locked too.
Definition anytone_extension.hh:766
KeyFunction _funcKey3Long
Function of the function key 3, long press.
Definition anytone_extension.hh:749
bool forcedKeyLockEnabled() const
Returns true if the key-lock is forced.
Definition anytone_extension.cc:1732
KeyFunction _funcKeyCShort
Function of the function key C, short press.
Definition anytone_extension.hh:760
KeyFunction funcKeyALong
Function key A (PF1 below PTT or A on mic), long press function.
Definition anytone_extension.hh:572
void enableForcedKeyLock(bool enable)
Enables/disables the forced key-lock.
Definition anytone_extension.cc:1736
bool knobLock
If true, the knob gets locked too.
Definition anytone_extension.hh:593
KeyFunction funcKey4Long
Function key 4 (P4 next to screen, D578UV only), long press function.
Definition anytone_extension.hh:560
void setFuncKey1Long(KeyFunction func)
Sets the key function for a long press on the function key 1.
Definition anytone_extension.cc:1460
KeyFunction _funcKey6Long
Function of the function key 6, long press.
Definition anytone_extension.hh:755
bool keypadLock
If true, the key-pad gets locked too.
Definition anytone_extension.hh:597
void enableSideKeysLock(bool enable)
Enables/disables the side-keys lock.
Definition anytone_extension.cc:1725
void setFuncKey6Short(KeyFunction func)
Sets the key function for a short press on the programmable function key 6.
Definition anytone_extension.cc:1564
void setFuncKey6Long(KeyFunction func)
Sets the key function for a long press on the programmable function key 6.
Definition anytone_extension.cc:1575
void setFuncKeyCShort(KeyFunction func)
Sets the key function for a short press on the function key C.
Definition anytone_extension.cc:1633
bool _keypadLock
Key-pad is locked.
Definition anytone_extension.hh:767
Implements the menu settings extension of AnyTone devices.
Definition anytone_extension.hh:1281
Interval duration
Menu exit time in seconds.
Definition anytone_extension.hh:1286
void setDuration(Interval sec)
Sets the menu duration in seconds.
Definition anytone_extension.cc:2414
bool _showSeparator
Show menu separator lines.
Definition anytone_extension.hh:1309
void enableSeparator(bool enable)
Enables/disables the menu separator lines.
Definition anytone_extension.cc:2426
AnytoneMenuSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:2393
bool separator
Menu separator.
Definition anytone_extension.hh:1290
Interval _menuDuration
Menu display duration in seconds.
Definition anytone_extension.hh:1308
ConfigItem * clone() const
Clones this item.
Definition anytone_extension.cc:2400
bool separatorEnabled() const
Returns true, if the menu separator lines are shown.
Definition anytone_extension.cc:2422
Implements the power-save settings for AnyTone devices.
Definition anytone_extension.hh:478
PowerSave powerSave() const
Returns the power-save mode.
Definition anytone_extension.cc:1389
void setAutoShutdown(Interval min)
Sets the auto shut-down delay.
Definition anytone_extension.cc:1369
bool resetAutoShutdownOnCall
Resets the auto shut-down timer on every call.
Definition anytone_extension.hh:486
Interval _autoShutDownDelay
The auto shut-down delay in minutes.
Definition anytone_extension.hh:530
AnytonePowerSaveSettingsExtension(QObject *parent=nullptr)
The power-save mode.
Definition anytone_extension.cc:1347
void enableResetAutoShutdownOnCall(bool enable)
Enables/disables reset of auto shut-down timer on every call.
Definition anytone_extension.cc:1381
Interval autoShutdown
The auto shut-down delay in minutes.
Definition anytone_extension.hh:483
bool atpc() const
Returns true if the adaptive transmission power control is enabled.
Definition anytone_extension.cc:1401
PowerSave _powerSave
Power save mode property.
Definition anytone_extension.hh:532
bool _resetAutoShutdownOnCall
Enables reset of auto shut-down timer on every call.
Definition anytone_extension.hh:531
void enableATPC(bool enable)
Enables/disables the adaptive transmission power control.
Definition anytone_extension.cc:1405
bool _atpc
Adaptive Transmission Power Control.
Definition anytone_extension.hh:533
void setPowerSave(PowerSave mode)
Sets the power-save mode.
Definition anytone_extension.cc:1393
Implements the ranging/roaming settings extension of AnyTone devices.
Definition anytone_extension.hh:1830
RoamStart roamStart
Auto-roaming start condition.
Definition anytone_extension.hh:1848
Interval _repeaterCheckInterval
The repeater check interval in seconds.
Definition anytone_extension.hh:1964
void setAutoRoamPeriod(Interval min)
Sets the auto-roam period in minutes.
Definition anytone_extension.cc:748
RoamingZoneReference * _defaultRoamingZone
The default roaming zone.
Definition anytone_extension.hh:1972
unsigned int notificationCount
Repeater-check notification count.
Definition anytone_extension.hh:1875
bool autoRoam
Enables auto-roaming.
Definition anytone_extension.hh:1836
RoamStart _roamingReturnCondition
Auto-roaming return condition.
Definition anytone_extension.hh:1968
bool repeaterRangeCheckEnabled() const
Returns true if the repeater range check is enabled.
Definition anytone_extension.cc:768
RoamStart roamReturn
Auto-roaming end/return condition.
Definition anytone_extension.hh:1852
void setRoamingReturnCondition(RoamStart start)
Sets the auto-roaming return condition.
Definition anytone_extension.cc:831
bool rangeCheck
Repeater range check.
Definition anytone_extension.hh:1856
unsigned int _notificationCount
Number of notifications.
Definition anytone_extension.hh:1970
Interval checkInterval
Repeater range check interval in seconds.
Definition anytone_extension.hh:1860
AnytoneRoamingSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_extension.cc:709
bool _notification
Repeater check notification.
Definition anytone_extension.hh:1969
RoamStart _roamingStartCondition
Auto-roaming start condition.
Definition anytone_extension.hh:1967
RoamStart
Possible roaming start conditions.
Definition anytone_extension.hh:1885
Interval _autoRoamDelay
The auto-roam delay in seconds.
Definition anytone_extension.hh:1962
void setRoamingStartCondition(RoamStart start)
Sets the auto-roaming start condition.
Definition anytone_extension.cc:819
void setRepeaterRangeCheckCount(unsigned int count)
Sets the number of retries before giving up.
Definition anytone_extension.cc:795
void setRepeaterCheckInterval(Interval sec)
Sets the repeater check interval in seconds.
Definition anytone_extension.cc:783
Interval repeaterCheckInterval() const
Returns the repeater check interval in seconds.
Definition anytone_extension.cc:779
Interval _autoRoamPeriod
The auto-roam period in minutes.
Definition anytone_extension.hh:1961
void setOutOfRangeAlert(OutOfRangeAlert type)
Sets the repeater out-of-range alert type.
Definition anytone_extension.cc:807
bool _autoRoam
Enables auto roaming.
Definition anytone_extension.hh:1960
void setNotificationCount(unsigned int n)
Sets the number of repeater-check notifications.
Definition anytone_extension.cc:854
unsigned int retryCount
Retry count.
Definition anytone_extension.hh:1864
Interval autoRoamPeriod
The auto-roaming period in minutes.
Definition anytone_extension.hh:1840
bool _gpsRoaming
Enables GPS roaming.
Definition anytone_extension.hh:1971
OutOfRangeAlert outOfRangeAlert
Repeater out-of-range alert type.
Definition anytone_extension.hh:1867
bool notificationEnabled() const
Returns true, if the repeater check notification is enabled.
Definition anytone_extension.cc:839
void enableAutoRoam(bool enable)
Enables/disables auto-roaming.
Definition anytone_extension.cc:736
bool gpsRoaming
GPS roaming enabled.
Definition anytone_extension.hh:1881
OutOfRangeAlert _outOfRangeAlert
Type of the out-out-range alert.
Definition anytone_extension.hh:1966
RoamingZoneReference * defaultZone
The default roaming zone.
Definition anytone_extension.hh:1878
void enableRepeaterRangeCheck(bool enable)
Enables/disables repeater range check.
Definition anytone_extension.cc:772
unsigned int repeaterRangeCheckCount() const
Number of retries before givnig up.
Definition anytone_extension.cc:791
OutOfRangeAlert
Possible repeater out-of-range alerts.
Definition anytone_extension.hh:1891
RoamStart roamingReturnCondition() const
Returns the auto-roaming return condition.
Definition anytone_extension.cc:827
Interval autoRoamDelay
The auto-roam delay.
Definition anytone_extension.hh:1844
RoamStart roamingStartCondition() const
Returns the auto-roaming start condition.
Definition anytone_extension.cc:815
void enableGPSRoaming(bool enable)
Enables/disables GPS roaming.
Definition anytone_extension.cc:866
void enableNotification(bool enable)
Enables/disables the repeater-check notification.
Definition anytone_extension.cc:843
bool notification
Repeater-check notification.
Definition anytone_extension.hh:1871
void setAutoRoamDelay(Interval sec)
Sets the auto-roam delay in seconds.
Definition anytone_extension.cc:760
unsigned int _repeaterRangeCheckCount
Number of range checks before giving up.
Definition anytone_extension.hh:1965
bool _repeaterRangeCheck
Enables the repeater range-check.
Definition anytone_extension.hh:1963
Implements the device specific extension for the general settings of AnyTone devices.
Definition anytone_extension.hh:2075
AnytoneToneSettingsExtension * _toneSettings
The tone settings.
Definition anytone_extension.hh:2336
Frequency _maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2366
void setMaxVFOScanFrequencyVHF(Frequency hz)
Sets the maximum VFO scan frequency for the VHF band in Hz.
Definition anytone_extension.cc:1119
VFOMode
Possible VFO modes.
Definition anytone_extension.hh:2186
void setVFOStep(Frequency step)
Sets the VFO tuning step in kHz.
Definition anytone_extension.cc:1143
Frequency maxVFOScanFrequencyUHF
The maximum UHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2107
STEType
All possible STE (squelch tail eliminate) types.
Definition anytone_extension.hh:2198
Frequency minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2105
Frequency vfoStep
The VFO tuning step-size in kHz.
Definition anytone_extension.hh:2119
ZoneReference _zoneB
The current zone for VFO B.
Definition anytone_extension.hh:2360
AnytoneKeySettingsExtension * _keySettings
The key settings.
Definition anytone_extension.hh:2334
ZoneReference * zoneB()
Returns a reference to the current zone for VFO B.
bool _proMode
The "pro mode" flag.
Definition anytone_extension.hh:2373
bool _maintainCallChannel
Maintains the call channel.
Definition anytone_extension.hh:2374
ZoneReference * zoneB
The current zone for VFO B.
Definition anytone_extension.hh:2100
ZoneReference _zoneA
The current zone for VFO A.
Definition anytone_extension.hh:2359
void setMinVFOScanFrequencyVHF(Frequency hz)
Sets the minimum VFO scan frequency for the VHF band in Hz.
Definition anytone_extension.cc:1108
VFOScanType
Encodes the possible VFO scan types.
Definition anytone_extension.hh:2180
AnytonePowerSaveSettingsExtension * _powerSaveSettings
The power-save settings.
Definition anytone_extension.hh:2332
featureAnytoneSimplexRepeaterSettingsExtension * simplexRepeaterSettings
The simplex-repeater settings.
Definition anytone_extension.hh:2176
Q_INVOKABLE AnytoneSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_extension.cc:882
AnytoneBootSettingsExtension * _bootSettings
The boot settings.
Definition anytone_extension.hh:2330
AnytoneKeySettingsExtension * keySettings() const
A reference to the key settings.
Definition anytone_extension.cc:949
void enableProMode(bool enable)
Enables/disables the "pro mode".
Definition anytone_extension.cc:1202
AnytoneMenuSettingsExtension * menuSettings() const
A reference to the menu settings.
Definition anytone_extension.cc:969
AnytoneAudioSettingsExtension * audioSettings() const
A reference to the audio settings.
Definition anytone_extension.cc:964
VFO
Possible VFOs.
Definition anytone_extension.hh:2192
AnytoneAutoRepeaterSettingsExtension * _autoRepeaterSettings
The auto-repeater settings.
Definition anytone_extension.hh:2344
bool _subChannel
If true, the sub-channel is enabled.
Definition anytone_extension.hh:2362
VFOScanType _vfoScanType
The VFO scan-type property.
Definition anytone_extension.hh:2356
void enableSubChannel(bool enable)
Enables/disables the sub-channel.
Definition anytone_extension.cc:1073
VFOMode modeA
The mode of VFO A.
Definition anytone_extension.hh:2091
AnytoneAudioSettingsExtension * _audioSettings
The audio settings.
Definition anytone_extension.hh:2340
AnytoneDMRSettingsExtension * dmrSettings() const
A reference to the DMR settings.
Definition anytone_extension.cc:979
AnytoneBootSettingsExtension * bootSettings() const
A reference to the boot settings.
Definition anytone_extension.cc:939
void setVFOScanType(VFOScanType type)
Sets the VFO scan type.
Definition anytone_extension.cc:1008
void enableMaintainCallChannel(bool enable)
Enables/disables maintaining the call-channel.
Definition anytone_extension.cc:1214
AnytoneMenuSettingsExtension * _menuSettings
The menu settings.
Definition anytone_extension.hh:2342
bool subChannel
If true, the sub-channel is enabled.
Definition anytone_extension.hh:2082
bool _keepLastCaller
If true, the last caller is kept on channel switch.
Definition anytone_extension.hh:2367
AnytoneGPSSettingsExtension * _gpsSettings
The GSP settings.
Definition anytone_extension.hh:2348
AnytoneDisplaySettingsExtension * displaySettings() const
A reference to the display settings.
Definition anytone_extension.cc:959
AnytoneSimplexRepeaterSettingsExtension * _simplexRepeaterSettings
The simplex-repeater settings.
Definition anytone_extension.hh:2354
Interval _steDuration
STE duration.
Definition anytone_extension.hh:2371
AnytoneRoamingSettingsExtension * _roamingSettings
The roaming settings.
Definition anytone_extension.hh:2350
bool keepLastCallerEnabled() const
Returns true if the last caller is kept on channel switch.
Definition anytone_extension.cc:1127
void setTBSTFrequency(Frequency Hz)
Sets the TBST frequency in Hz.
Definition anytone_extension.cc:1190
void setSTEType(STEType type)
Sets the STE (squelch tail elimination) type.
Definition anytone_extension.cc:1155
AnytoneAutoRepeaterSettingsExtension * autoRepeaterSettings() const
A reference to the auto-repeater settings.
Definition anytone_extension.cc:974
AnytoneBluetoothSettingsExtension * _bluetoothSettings
The bluetooth settings.
Definition anytone_extension.hh:2352
Frequency _vfoStep
The VFO tuning step in kHz.
Definition anytone_extension.hh:2368
bool subChannelEnabled() const
Returns true if the sub-channel is enabled.
Definition anytone_extension.cc:1069
VFOMode _modeB
Mode of VFO B.
Definition anytone_extension.hh:2358
void enableKeepLastCaller(bool enable)
Enables/disables keeping the last caller on channel switch.
Definition anytone_extension.cc:1131
AnytonePowerSaveSettingsExtension * powerSaveSettings() const
A reference to the power-save settings.
Definition anytone_extension.cc:944
void setModeB(VFOMode mode)
Sets the mode for VFO B.
Definition anytone_extension.cc:1032
Frequency tbstFrequency() const
Returns the TBST frequency in Hz.
Definition anytone_extension.cc:1186
void setMinVFOScanFrequencyUHF(Frequency hz)
Sets the minimum VFO scan frequency for the UHF band in Hz.
Definition anytone_extension.cc:1085
AnytoneDMRSettingsExtension * _dmrSettings
The DMR settings.
Definition anytone_extension.hh:2346
VFOMode modeB
The mode of VFO B.
Definition anytone_extension.hh:2093
void setSelectedVFO(VFO vfo)
Sets the selected VFO.
Definition anytone_extension.cc:1061
Frequency _maxVFOScanFrequencyUHF
The maximum UHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2364
AnytoneBluetoothSettingsExtension * bluetoothSettings() const
A reference to the bluetooth settings.
Definition anytone_extension.cc:994
STEType steType
The STE type.
Definition anytone_extension.hh:2124
bool keepLastCaller
The keep-last-caller setting.
Definition anytone_extension.hh:2115
AnytoneRoamingSettingsExtension * roamingSettings() const
A reference to the roaming settings.
Definition anytone_extension.cc:989
VFOScanType vfoScanType
The VFO scan type.
Definition anytone_extension.hh:2103
double steFrequency
The STE frequency in Hz.
Definition anytone_extension.hh:2128
AnytoneGPSSettingsExtension * gpsSettings() const
A reference to the GPS settings.
Definition anytone_extension.cc:984
Interval steDuration
The STE duration in ms.
Definition anytone_extension.hh:2133
Frequency minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2109
void setSTEDuration(Interval intv)
Sets the STE duration.
Definition anytone_extension.cc:1178
void setModeA(VFOMode mode)
Sets the mode for VFO A.
Definition anytone_extension.cc:1020
void setSTEFrequency(double freq)
Sets the STE (squelch tail elimination) frequency in Hz.
Definition anytone_extension.cc:1166
VFO _selectedVFO
The current VFO.
Definition anytone_extension.hh:2361
Frequency _minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2363
void setMaxVFOScanFrequencyUHF(Frequency hz)
Sets the maximum VFO scan frequency for the UHF band in Hz.
Definition anytone_extension.cc:1096
Frequency _minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2365
Frequency maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2111
STEType _steType
The STE type.
Definition anytone_extension.hh:2369
AnytoneToneSettingsExtension * toneSettings() const
A reference to the tone settings.
Definition anytone_extension.cc:954
AnytoneDisplaySettingsExtension * _displaySettings
The display settings.
Definition anytone_extension.hh:2338
ZoneReference * zoneA()
Returns a reference to the current zone for VFO A.
double _steFrequency
STE frequency in Hz.
Definition anytone_extension.hh:2370
bool proModeEnabled() const
Returns true, if the "pro mode" is enabled.
Definition anytone_extension.cc:1198
VFO selectedVFO
The current active VFO.
Definition anytone_extension.hh:2086
VFOMode _modeA
Mode of VFO A.
Definition anytone_extension.hh:2357
Frequency _tbstFrequency
The TBST frequency in Hz.
Definition anytone_extension.hh:2372
ZoneReference * zoneA
The current zone for VFO A.
Definition anytone_extension.hh:2098
bool maintainCallChannelEnabled() const
Returns true if the call-channel is maintained.
Definition anytone_extension.cc:1210
Implements the simplex repeater settings for the BTECH DMR-6X2UV.
Definition anytone_extension.hh:2018
AnytoneSimplexRepeaterSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:2704
bool monitorEnabled() const
If true, repeater monitoring is enabled.
Definition anytone_extension.cc:2733
TimeSlot
Possible simplex repeater time-slots.
Definition anytone_extension.hh:2035
bool _monitor
If enabled, the radio will monitor the channel.
Definition anytone_extension.hh:2063
TimeSlot _timeSlot
The repeater time-slot.
Definition anytone_extension.hh:2064
bool _enabled
If true, the simplex repeater is enabled.
Definition anytone_extension.hh:2062
void enable(bool enable)
Enables/disables the simplex repeater.
Definition anytone_extension.cc:2725
void setTimeSlot(TimeSlot ts)
Sets the repeater time-slot.
Definition anytone_extension.cc:2749
bool enabled
Enables/disables the simplex repeater.
Definition anytone_extension.hh:2023
bool monitor
Enables/disables the repeater monitor.
Definition anytone_extension.hh:2027
TimeSlot timeSlot
Time-slot of the repeater.
Definition anytone_extension.hh:2031
void enableMonitor(bool enable)
Enables/disables repeater monitoring.
Definition anytone_extension.cc:2737
Implements the tone settings extension of AnyTone devices.
Definition anytone_extension.hh:778
bool startupToneEnabled() const
Returns true if the startup tone is enabled.
Definition anytone_extension.cc:1869
bool startup
If true, the startup tone is enabled.
Definition anytone_extension.hh:815
unsigned int keyToneLevel
The key tone level setting.
Definition anytone_extension.hh:788
bool _talkPermitDigital
DMR talk permit tone.
Definition anytone_extension.hh:895
bool _totNotification
TOT notification enabled.
Definition anytone_extension.hh:901
void enableFMIdleChannelTone(bool enable)
Enables/disables the idle FM channel tone.
Definition anytone_extension.cc:1861
bool callAlertEnabled() const
Returns true if call alert is enabled.
Definition anytone_extension.cc:1797
AnytoneToneSettingsExtension(QObject *parent=nullptr)
Empty constructor.
Definition anytone_extension.cc:1748
Melody * _callMelody
Call melody.
Definition anytone_extension.hh:902
bool _callAlert
Call alert tone enabled.
Definition anytone_extension.hh:894
bool dmrIdle
If true, the idle tone is enabled for DMR channels.
Definition anytone_extension.hh:811
bool dmrIdleChannelToneEnabled() const
Returns true if the idle channel tone is enabled for DMR channel.
Definition anytone_extension.cc:1845
Melody * idleMelody
The idle melody.
Definition anytone_extension.hh:822
bool _talkPermitAnalog
FM talk permit tone.
Definition anytone_extension.hh:896
void enableDigitalResetTone(bool enable)
Enables/disables the reset tone for digital calls.
Definition anytone_extension.cc:1837
Melody * callEndMelody
The call-end melody.
Definition anytone_extension.hh:826
bool keyTone
The key tone setting.
Definition anytone_extension.hh:784
bool fmIdle
If true, the idle tone is enabled for FM channels.
Definition anytone_extension.hh:813
unsigned int _keyToneLevel
The level of key-tones, 0=user adjustable.
Definition anytone_extension.hh:906
Melody * _callEndMelody
Call end melody.
Definition anytone_extension.hh:905
bool talkPermitDigitalEnabled() const
Returns true if the talk permit tone is enabled for digital channels.
Definition anytone_extension.cc:1809
bool tot
Enables transmit timeout notification (5s before TOT).
Definition anytone_extension.hh:817
bool smsAlert
If true, the SMS alert tone is enabled.
Definition anytone_extension.hh:792
bool smsAlertEnabled() const
Returns true if SMS alert is enabled.
Definition anytone_extension.cc:1785
void enableCallAlert(bool enable)
Enables/disables call alert.
Definition anytone_extension.cc:1801
bool keyToneEnabled() const
Returns true if the key tone is enabled.
Definition anytone_extension.cc:1773
void enableTOTNotification(bool enable)
Enables/disables the transmit timeout notification (5s before TOT).
Definition anytone_extension.cc:1885
bool talkPermitAnalogEnabled() const
Returns true if the talk permit tone is enabled for digital channels.
Definition anytone_extension.cc:1821
void setKeyToneLevel(unsigned int level)
Sets the key-tone level.
Definition anytone_extension.cc:1914
void enableDMRIdleChannelTone(bool enable)
Enables/disables the idle DMR channel tone.
Definition anytone_extension.cc:1849
Melody * callMelody
The call melody.
Definition anytone_extension.hh:820
Melody * _idleMelody
Idle melody.
Definition anytone_extension.hh:903
bool _smsAlert
SMS alert tone enabled.
Definition anytone_extension.hh:893
bool _dmrIdleChannelTone
Idle channel tone (DMR).
Definition anytone_extension.hh:898
bool digitalResetToneEnabled() const
Returns true if the reset tone is enabled for digital calls.
Definition anytone_extension.cc:1833
Melody * resetMelody
The reset melody.
Definition anytone_extension.hh:824
ConfigItem * clone() const
Clones this item.
Definition anytone_extension.cc:1763
void enableTalkPermitDigital(bool enable)
Enables/disables the talk permit tone for digital channels.
Definition anytone_extension.cc:1813
bool dmrTalkPermit
If true, the DMR talk permit tone is enabled.
Definition anytone_extension.hh:800
bool totNotification() const
Returns true if the transmit timeout notification is enabled (5s before TOT).
Definition anytone_extension.cc:1881
bool _startupTone
Startup tone enabled.
Definition anytone_extension.hh:900
void enableTalkPermitAnalog(bool enable)
Enables/disables the talk permit tone for analog channels.
Definition anytone_extension.cc:1825
void enableStartupTone(bool enable)
Enables/disables the startup tone.
Definition anytone_extension.cc:1873
bool fmIdleChannelToneEnabled() const
Returns true if the idle channel tone is enabled for FM channel.
Definition anytone_extension.cc:1857
bool _resetToneDigital
DMR reset tone.
Definition anytone_extension.hh:897
bool fmTalkPermit
If true, the FM talk permit tone is enabled.
Definition anytone_extension.hh:808
void enableKeyTone(bool enable)
Enables/disables the key tone.
Definition anytone_extension.cc:1777
bool _fmIdleChannelTone
Idle channel tone (FM).
Definition anytone_extension.hh:899
bool callAlert
If true, the call alert tone is enabled.
Definition anytone_extension.hh:796
bool _keyTone
Key tone property.
Definition anytone_extension.hh:892
Melody * _resetMelody
Reset melody.
Definition anytone_extension.hh:904
void enableSMSAlert(bool enable)
Enables/disables SMS alert.
Definition anytone_extension.cc:1789
bool dmrReset
If true, the DMR reset tone is enabled.
Definition anytone_extension.hh:804
bool _hidden
If true, the zone is hidden in the menu.
Definition anytone_extension.hh:325
void enableHidden(bool enable)
Enables/disables hidden zone.
Definition anytone_extension.cc:359
Q_INVOKABLE AnytoneZoneExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:338
bool hidden
If true, the zone is hidden in the menu.
Definition anytone_extension.hh:310
Represents a reference to a channel.
Definition configreference.hh:123
ConfigExtension(QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:1111
Parse context for config objects.
Definition configobject.hh:48
Base class for all configuration objects (channels, zones, contacts, etc).
Definition configobject.hh:40
ConfigItem(QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:133
ConfigObjectList(const QMetaObject &elementTypes=ConfigItem::staticMetaObject, QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:1388
ConfigObjectReference(const QMetaObject &elementType=ConfigObject::staticMetaObject, QObject *parent=nullptr)
Hidden constructor.
Definition configreference.cc:17
ConfigObject(QObject *parent=nullptr)
Specifies the prefix for every ID assigned to every object during serialization.
Definition configobject.cc:1018
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:41
Represents a time interval.
Definition interval.hh:11
A config item that encodes a melody.
Definition melody.hh:20
Implements a reference to a roaming zone.
Definition configreference.hh:273
Implements a reference to a zone.
Definition configreference.hh:295
Helper type to encode frequencies without any rounding error.
Definition frequency.hh:11