libdrmconf 0.12.1
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;
122 void setAPRSPTT(APRSPTT mode);
123
124protected:
135};
136
137
141{
142 Q_OBJECT
143
145 Q_PROPERTY(bool reverseBurst READ reverseBurst WRITE enableReverseBurst)
151 Q_PROPERTY(double customCTCSS READ customCTCSS WRITE setCustomCTCSS)
155 Q_PROPERTY(bool scrambler READ scrambler WRITE enableScrambler)
156
157public:
159 enum class SquelchMode {
160 Carrier = 0,
161 SubTone = 1,
162 OptSig = 2,
163 SubToneAndOptSig = 3,
164 SubToneOrOptSig = 4
165 };
166 Q_ENUM(SquelchMode)
167
168public:
170 Q_INVOKABLE explicit AnytoneFMChannelExtension(QObject *parent=nullptr);
171
172 ConfigItem *clone() const;
173
175 bool reverseBurst() const;
177 void enableReverseBurst(bool enable);
178
180 bool rxCustomCTCSS() const;
182 void enableRXCustomCTCSS(bool enable);
184 bool txCustomCTCSS() const;
186 void enableTXCustomCTCSS(bool enable);
188 double customCTCSS() const;
190 void setCustomCTCSS(double freq);
191
193 SquelchMode squelchMode() const;
195 void setSquelchMode(SquelchMode mode);
196
198 bool scrambler() const;
200 void enableScrambler(bool enable);
201
202protected:
215};
216
217
221{
222 Q_OBJECT
223
225 Q_PROPERTY(bool callConfirm READ callConfirm WRITE enableCallConfirm)
227 Q_PROPERTY(bool sms READ sms WRITE enableSMS)
229 Q_PROPERTY(bool smsConfirm READ smsConfirm WRITE enableSMSConfirm)
231 Q_PROPERTY(bool dataACK READ dataACK WRITE enableDataACK)
233 Q_PROPERTY(bool simplexTDMA READ simplexTDMA WRITE enableSimplexTDMA)
237 Q_PROPERTY(bool adaptiveTDMA READ adaptiveTDMA WRITE enableAdaptiveTDMA)
239 Q_PROPERTY(bool loneWorker READ loneWorker WRITE enableLoneWorker)
241 Q_PROPERTY(bool throughMode READ throughMode WRITE enableThroughMode)
242
243public:
245 Q_INVOKABLE explicit AnytoneDMRChannelExtension(QObject *parent=nullptr);
246
247 ConfigItem *clone() const;
248
250 bool callConfirm() const;
252 void enableCallConfirm(bool enabled);
254 bool sms() const;
256 void enableSMS(bool enable);
258 bool smsConfirm() const;
260 void enableSMSConfirm(bool enabled);
262 bool dataACK() const;
264 void enableDataACK(bool enable);
266 bool simplexTDMA() const;
268 void enableSimplexTDMA(bool enable);
270 bool adaptiveTDMA() const;
272 void enableAdaptiveTDMA(bool enable);
274 bool loneWorker() const;
276 void enableLoneWorker(bool enable);
278 bool throughMode() const;
280 void enableThroughMode(bool enable);
281
282protected:
286 bool _sms;
299};
300
301
305{
306 Q_OBJECT
307
309 Q_PROPERTY(bool hidden READ hidden WRITE enableHidden)
310
311public:
313 Q_INVOKABLE explicit AnytoneZoneExtension(QObject *parent=nullptr);
314
315 ConfigItem *clone() const;
316
318 bool hidden() const;
320 void enableHidden(bool enable);
321
322protected:
325};
326
327
331{
332 Q_OBJECT
333
336
337public:
339 enum class AlertType {
340 None = 0,
341 Ring = 1,
343 };
344 Q_ENUM(AlertType)
345
346public:
348 Q_INVOKABLE explicit AnytoneContactExtension(QObject *parent=nullptr);
349
350 ConfigItem *clone() const;
351
353 AlertType alertType() const;
355 void setAlertType(AlertType type);
356
357protected:
360};
361
362
368{
369 Q_OBJECT
370
376 Q_PROPERTY(QString bootPassword READ bootPassword WRITE setBootPassword)
377
381 Q_PROPERTY(ZoneReference* zoneA READ zoneA)
385 Q_PROPERTY(ZoneReference* zoneB READ zoneB)
392
394 Q_PROPERTY(bool gpsCheck READ gpsCheckEnabled WRITE enableGPSCheck)
396 Q_PROPERTY(bool reset READ resetEnabled WRITE enableReset)
397
398public:
400 enum class BootDisplay {
401 Default = 0, CustomText = 1, CustomImage = 2
402 };
403 Q_ENUM(BootDisplay)
404
405public:
407 explicit AnytoneBootSettingsExtension(QObject *parent=nullptr);
408
409 ConfigItem *clone() const;
410
412 BootDisplay bootDisplay() const;
414 void setBootDisplay(BootDisplay mode);
416 bool bootPasswordEnabled() const;
418 void enableBootPassword(bool enable);
420 const QString &bootPassword() const;
422 void setBootPassword(const QString &pass);
423
425 bool defaultChannelEnabled() const;
427 void enableDefaultChannel(bool enable);
429 ZoneReference *zoneA() const;
431 ChannelReference *channelA() const;
433 ZoneReference *zoneB() const;
435 ChannelReference *channelB() const;
437 ZoneReference *priorityZoneA() const;
439 ZoneReference *priorityZoneB() const;
440
442 bool gpsCheckEnabled() const;
444 void enableGPSCheck(bool enable);
445
447 bool resetEnabled() const;
449 void enableReset(bool enable);
450
451protected:
463 bool _reset;
464};
465
466
472{
473 Q_OBJECT
474
475 Q_CLASSINFO("autoShutDownDelayDescription", "The auto shut-down delay in minutes.")
478
481
482 Q_CLASSINFO("powerSaveDescription", "Specifies the power save mode. "
483 "D686UV, D878UV(2) and DMR-6X2UV only.")
485 Q_PROPERTY(PowerSave powerSave READ powerSave WRITE setPowerSave)
486
488 Q_PROPERTY(bool atpc READ atpc WRITE enableATPC)
489
490public:
492 enum class PowerSave {
493 Off = 0, Save50 = 1, Save66 = 2
494 };
495 Q_ENUM(PowerSave)
496
497public:
499 explicit AnytonePowerSaveSettingsExtension(QObject *parent=nullptr);
500
501 ConfigItem *clone() const;
502
504 Interval autoShutdown() const;
506 void setAutoShutdown(Interval min);
507
509 bool resetAutoShutdownOnCall() const;
511 void enableResetAutoShutdownOnCall(bool enable);
512
514 PowerSave powerSave() const;
516 void setPowerSave(PowerSave mode);
517
519 bool atpc() const;
521 void enableATPC(bool enable);
522
523protected:
526 PowerSave _powerSave;
527 bool _atpc;
528};
529
530
536{
537 Q_OBJECT
538
581
584
585 Q_CLASSINFO("knobLockDescription", "If enabled, the knob gets locked too.")
587 Q_PROPERTY(bool knobLock READ knobLockEnabled WRITE enableKnobLock)
588
589 Q_CLASSINFO("keypadLockDescription", "If enabled, the key-pad gets locked.")
592
593 Q_CLASSINFO("sideKeysLockDescription", "If enabled, the side-keys get locked.")
596
597 Q_CLASSINFO("forcedKeyLockDescription", "If enabled, the key-lock is forced.")
600
601public:
603 enum class KeyFunction {
604 Off, Voltage, Power, Repeater, Reverse, Encryption, Call, VOX, ToggleVFO, SubPTT,
605 Scan, WFM, Alarm, RecordSwitch, Record, SMS, Dial, GPSInformation, Monitor, ToggleMainChannel,
606 HotKey1, HotKey2, HotKey3, HotKey4, HotKey5, HotKey6, WorkAlone, SkipChannel, DMRMonitor,
607 SubChannel, PriorityZone, VFOScan, MICSoundQuality, LastCallReply, ChannelType, Ranging,
608 Roaming, ChannelRanging, MaxVolume, Slot, APRSTypeSwitch, Zone, ZoneUp, ZoneDown, RoamingSet,
609 APRSSet, Mute, MuteA, MuteB, CtcssDcsSet, TBSTSend, Bluetooth, GPS, ChannelName, CDTScan,
610 APRSSend, APRSInfo, Speaker, XBandRepeater, SimplexRepeater, GPSRoaming, Squelch, NoiseReductionTX
611 };
612 Q_ENUM(KeyFunction)
613
614public:
616 explicit AnytoneKeySettingsExtension(QObject *parent=nullptr);
617
618 ConfigItem *clone() const;
619
621 KeyFunction funcKey1Short() const;
623 void setFuncKey1Short(KeyFunction func);
625 KeyFunction funcKey1Long() const;
627 void setFuncKey1Long(KeyFunction func);
628
630 KeyFunction funcKey2Short() const;
632 void setFuncKey2Short(KeyFunction func);
634 KeyFunction funcKey2Long() const;
636 void setFuncKey2Long(KeyFunction func);
637
639 KeyFunction funcKey3Short() const;
641 void setFuncKey3Short(KeyFunction func);
643 KeyFunction funcKey3Long() const;
645 void setFuncKey3Long(KeyFunction func);
646
648 KeyFunction funcKey4Short() const;
650 void setFuncKey4Short(KeyFunction func);
652 KeyFunction funcKey4Long() const;
654 void setFuncKey4Long(KeyFunction func);
655
657 KeyFunction funcKey5Short() const;
659 void setFuncKey5Short(KeyFunction func);
661 KeyFunction funcKey5Long() const;
663 void setFuncKey5Long(KeyFunction func);
664
666 KeyFunction funcKey6Short() const;
668 void setFuncKey6Short(KeyFunction func);
670 KeyFunction funcKey6Long() const;
672 void setFuncKey6Long(KeyFunction func);
673
675 KeyFunction funcKeyAShort() const;
677 void setFuncKeyAShort(KeyFunction func);
679 KeyFunction funcKeyALong() const;
681 void setFuncKeyALong(KeyFunction func);
682
684 KeyFunction funcKeyBShort() const;
686 void setFuncKeyBShort(KeyFunction func);
688 KeyFunction funcKeyBLong() const;
690 void setFuncKeyBLong(KeyFunction func);
691
693 KeyFunction funcKeyCShort() const;
695 void setFuncKeyCShort(KeyFunction func);
697 KeyFunction funcKeyCLong() const;
699 void setFuncKeyCLong(KeyFunction func);
700
702 KeyFunction funcKeyDShort() const;
704 void setFuncKeyDShort(KeyFunction func);
706 KeyFunction funcKeyDLong() const;
708 void setFuncKeyDLong(KeyFunction func);
709
711 Interval longPressDuration() const;
713 void setLongPressDuration(Interval ms);
714
716 bool autoKeyLockEnabled() const;
718 void enableAutoKeyLock(bool enabled);
719
721 bool knobLockEnabled() const;
723 void enableKnobLock(bool enable);
725 bool keypadLockEnabled() const;
727 void enableKeypadLock(bool enable);
729 bool sideKeysLockEnabled() const;
731 void enableSideKeysLock(bool enable);
733 bool forcedKeyLockEnabled() const;
735 void enableForcedKeyLock(bool enable);
736
737protected:
764};
765
766
772{
773 Q_OBJECT
774 Q_CLASSINFO("description", "Tone settings for AnyTone devices.")
775
776 Q_CLASSINFO("keyToneDescription", "If true, enables the key tones.")
778 Q_PROPERTY(bool keyTone READ keyToneEnabled WRITE enableKeyTone)
779
780 Q_CLASSINFO("keyToneLevelDescription", "Specifies the key-tone level, 0=user adjustable.")
782 Q_PROPERTY(unsigned int keyToneLevel READ keyToneLevel WRITE setKeyToneLevel)
783
784 Q_CLASSINFO("smsAlertDescription", "Enables/disables the SMS alert tone.")
786 Q_PROPERTY(bool smsAlert READ smsAlertEnabled WRITE enableSMSAlert)
787
788 Q_CLASSINFO("callAlertDescription", "Enables/disables the call alert tone.")
790 Q_PROPERTY(bool callAlert READ callAlertEnabled WRITE enableCallAlert)
791
792 Q_CLASSINFO("dmrTalkPermitDescription", "Enables/disables the talk-permit tone for DMR channels.")
795
796 Q_CLASSINFO("dmrResetDescription", "Enables/disables the reset tone for DMR channels.")
799
800 Q_CLASSINFO("fmTalkPermitDescription", "Enables/disables the talk-permit tone for FM channels.")
803
809 Q_PROPERTY(bool startup READ startupToneEnabled WRITE enableStartupTone)
811 Q_PROPERTY(bool tot READ totNotification WRITE enableTOTNotification)
812
814 Q_PROPERTY(Melody * callMelody READ callMelody)
816 Q_PROPERTY(Melody * idleMelody READ idleMelody)
818 Q_PROPERTY(Melody * resetMelody READ resetMelody)
821
822public:
824 explicit AnytoneToneSettingsExtension(QObject *parent=nullptr);
825
826 ConfigItem *clone() const;
827
829 bool keyToneEnabled() const;
831 void enableKeyTone(bool enable);
832
834 bool smsAlertEnabled() const;
836 void enableSMSAlert(bool enable);
838 bool callAlertEnabled() const;
840 void enableCallAlert(bool enable);
841
843 bool talkPermitDigitalEnabled() const;
845 void enableTalkPermitDigital(bool enable);
847 bool talkPermitAnalogEnabled() const;
849 void enableTalkPermitAnalog(bool enable);
851 bool digitalResetToneEnabled() const;
853 void enableDigitalResetTone(bool enable);
855 bool dmrIdleChannelToneEnabled() const;
857 void enableDMRIdleChannelTone(bool enable);
859 bool fmIdleChannelToneEnabled() const;
861 void enableFMIdleChannelTone(bool enable);
863 bool startupToneEnabled() const;
865 void enableStartupTone(bool enable);
867 bool totNotification() const;
869 void enableTOTNotification(bool enable);
870
872 Melody *callMelody() const;
874 Melody *idleMelody() const;
876 Melody *resetMelody() const;
878 Melody *callEndMelody() const;
879
881 unsigned int keyToneLevel() const;
883 void setKeyToneLevel(unsigned int level);
884
885protected:
886 bool _keyTone;
900 unsigned int _keyToneLevel;
901
902};
903
904
910{
911 Q_OBJECT
912
916 Q_PROPERTY(unsigned int brightness READ brightness WRITE setBrightness)
917
920
921 Q_CLASSINFO("backlightDurationTX", "The duration in seconds, the backlight is lit during TX. "
922 "A value of 0 means off.")
925
926 Q_CLASSINFO("backlightDurationRX", "The duration in seconds, the backlight is lit during RX. "
927 "A value of 0 means off.")
930
933
938
940 Q_PROPERTY(bool showClock READ showClockEnabled WRITE enableShowClock)
942 Q_PROPERTY(bool showCall READ showCallEnabled WRITE enableShowCall)
944 Q_PROPERTY(bool showContact READ showContact WRITE enableShowContact)
950 Q_PROPERTY(bool showTimeSlot READ showTimeSlot WRITE enableShowTimeSlot)
957
959 Q_PROPERTY(Color callColor READ callColor WRITE setCallColor)
964
965 Q_CLASSINFO("channelNameColorDescription", "Specifies the color of the channel name.")
968 Q_CLASSINFO("channelBNameColorDescription", "Specifies the color of the channel name for VFO B.")
971
972 Q_CLASSINFO("zoneNameColorDescription", "Specifies the color of the zone name.")
975 Q_CLASSINFO("zoneBNameColorDescription", "Specifies the color of the zone name for VFO B.")
978
980 Q_PROPERTY(Language language READ language WRITE setLanguage)
983
984public:
987 Off = 0, ID = 1, Call = 2, Both = 3
988 };
989 Q_ENUM(LastCallerDisplayMode)
990
991
992 enum class Color {
993 White = 0, Black = 1, Orange=2, Red=3, Yellow=4, Green=5, Turquoise=6, Blue=7
994 };
995 Q_ENUM(Color)
996
997
998 enum class Language {
1001 };
1002 Q_ENUM(Language)
1003
1004
1005 enum class DateFormat {
1008 };
1009 Q_ENUM(DateFormat)
1010
1011public:
1013 explicit AnytoneDisplaySettingsExtension(QObject *parent=nullptr);
1014
1015 ConfigItem *clone() const;
1016
1018 bool displayFrequencyEnabled() const;
1020 void enableDisplayFrequency(bool enable);
1021
1023 unsigned int brightness() const;
1025 void setBrightness(unsigned int level);
1026
1028 Interval backlightDuration() const;
1030 void setBacklightDuration(Interval sec);
1031
1033 bool volumeChangePromptEnabled() const;
1035 void enableVolumeChangePrompt(bool enable);
1036
1038 bool callEndPromptEnabled() const;
1040 void enableCallEndPrompt(bool enable);
1041
1043 LastCallerDisplayMode lastCallerDisplay() const;
1045 void setLastCallerDisplay(LastCallerDisplayMode mode);
1046
1048 bool showClockEnabled() const;
1050 void enableShowClock(bool enable);
1051
1053 bool showCallEnabled() const;
1055 void enableShowCall(bool enable);
1056
1058 Color callColor() const;
1060 void setCallColor(Color color);
1061
1063 Language language() const;
1065 void setLanguage(Language lang);
1067 DateFormat dateFormat() const;
1069 void setDateFormat(DateFormat format);
1070
1072 bool showChannelNumberEnabled() const;
1074 void enableShowChannelNumber(bool enable);
1076 bool showColorCode() const;
1078 void enableShowColorCode(bool enable);
1080 bool showTimeSlot() const;
1082 void enableShowTimeSlot(bool enable);
1084 bool showChannelType() const;
1086 void enableShowChannelType(bool enable);
1087
1089 bool showContact() const;
1091 void enableShowContact(bool enable);
1092
1094 Color standbyTextColor() const;
1096 void setStandbyTextColor(Color color);
1098 Color standbyBackgroundColor() const;
1100 void setStandbyBackgroundColor(Color color);
1101
1103 bool showLastHeardEnabled() const;
1105 void enableShowLastHeard(bool enable);
1106
1108 Interval backlightDurationTX() const;
1110 void setBacklightDurationTX(Interval sec);
1111
1113 Color channelNameColor() const;
1115 void setChannelNameColor(Color color);
1117 Color channelBNameColor() const;
1119 void setChannelBNameColor(Color color);
1120
1122 Color zoneNameColor() const;
1124 void setZoneNameColor(Color color);
1126 Color zoneBNameColor() const;
1128 void setZoneBNameColor(Color color);
1129
1131 Interval backlightDurationRX() const;
1133 void setBacklightDurationRX(Interval sec);
1135 bool customChannelBackground() const;
1137 void enableCustomChannelBackground(bool enable);
1138
1139protected:
1141 unsigned int _brightness;
1166};
1167
1168
1174{
1175 Q_OBJECT
1176
1178 Q_PROPERTY(Interval voxDelay READ voxDelay WRITE setVOXDelay)
1181
1183 Q_PROPERTY(bool recording READ recordingEnabled WRITE enableRecording)
1184
1187
1190
1192 Q_PROPERTY(unsigned int maxVolume READ maxVolume WRITE setMaxVolume)
1195
1199 Q_PROPERTY(unsigned int fmMicGain READ fmMicGain WRITE setFMMicGain)
1200
1201public:
1203 enum class VoxSource {
1204 Internal = 0, External = 1, Both = 2
1205 };
1206 Q_ENUM(VoxSource)
1207
1208public:
1210 explicit AnytoneAudioSettingsExtension(QObject *parent=nullptr);
1211
1212 ConfigItem *clone() const;
1213
1215 Interval voxDelay() const;
1217 void setVOXDelay(Interval ms);
1218
1220 VoxSource voxSource() const;
1222 void setVOXSource(VoxSource source);
1223
1225 bool recordingEnabled() const;
1227 void enableRecording(bool enable);
1228
1230 unsigned int maxVolume() const;
1232 void setMaxVolume(unsigned int vol);
1234 unsigned int maxHeadPhoneVolume() const;
1236 void setMaxHeadPhoneVolume(unsigned int vol);
1237
1239 bool enhanceAudioEnabled() const;
1241 void enableEnhanceAudio(bool enable);
1242
1244 Interval muteDelay() const;
1246 void setMuteDelay(Interval intv);
1247
1249 bool fmMicGainEnabled() const;
1251 void enableFMMicGain(bool enable);
1253 unsigned int fmMicGain() const;
1255 void setFMMicGain(unsigned int gain);
1256
1257protected:
1261 unsigned int _maxVolume;
1262 unsigned int _maxHeadPhoneVolume;
1266 unsigned int _analogMicGain;
1267};
1268
1269
1275{
1276 Q_OBJECT
1277
1278 Q_CLASSINFO("durationDescription", "The time in seconds, the menu is shown.")
1280 Q_PROPERTY(Interval duration READ duration WRITE setDuration)
1281
1282 Q_CLASSINFO("separatorDescription", "If enabled, the menu items are separated by a line.")
1284 Q_PROPERTY(bool separator READ separatorEnabled WRITE enableSeparator)
1285
1286public:
1288 explicit AnytoneMenuSettingsExtension(QObject *parent=nullptr);
1289
1290 ConfigItem *clone() const;
1291
1293 Interval duration() const;
1295 void setDuration(Interval sec);
1297 bool separatorEnabled() const;
1299 void enableSeparator(bool enable);
1300
1301protected:
1304};
1305
1306
1311{
1312 Q_OBJECT
1313 Q_CLASSINFO("IdPrefix", "off")
1314
1315 Q_CLASSINFO("offsetDecription",
1316 "Transmit-frequency offset in Hz.")
1317 Q_CLASSINFO("offsetLongDecription",
1318 "The transmit-frequency offset is specified as a positive integer in Hz. The offset "
1319 "direction is specified for each VFO separately.")
1321 Q_PROPERTY(Frequency offset READ offset WRITE setOffset)
1322
1323public:
1325 explicit Q_INVOKABLE AnytoneAutoRepeaterOffset(QObject *parent=nullptr);
1326
1327 ConfigItem *clone() const;
1328
1330 Frequency offset() const;
1333
1334protected:
1337};
1338
1339
1343{
1344 Q_OBJECT
1345
1346public:
1348 explicit AnytoneAutoRepeaterOffsetRef(QObject *parent=nullptr);
1349};
1350
1351
1355{
1356 Q_OBJECT
1357
1358public:
1360 explicit AnytoneAutoRepeaterOffsetList(QObject *parent=nullptr);
1361
1362 ConfigItem *allocateChild(const YAML::Node &node, ConfigItem::Context &ctx, const ErrorStack &err);
1363};
1364
1365
1371{
1372 Q_OBJECT
1373 Q_CLASSINFO("description", "Auto-repeater settings for AnyTone devices.")
1374
1375 Q_CLASSINFO("directionADescription", "Auto-repeater transmit-frequency offset direction for VFO A.")
1378
1379 Q_CLASSINFO("directionBDescription", "Auto-repeater transmit-frequency offset direction for VFO B.")
1382
1383 Q_CLASSINFO("vhfMin", "The minimum frequency in Hz of the VHF auto-repeater frequency range.")
1385 Q_PROPERTY(Frequency vhfMin READ vhfMin WRITE setVHFMin)
1386
1387 Q_CLASSINFO("vhfMax", "The maximum frequency in Hz of the VHF auto-repeater frequency range.")
1389 Q_PROPERTY(Frequency vhfMax READ vhfMax WRITE setVHFMax)
1390
1391 Q_CLASSINFO("uhfMin", "The minimum frequency in Hz of the UHF auto-repeater frequency range.")
1393 Q_PROPERTY(Frequency uhfMin READ uhfMin WRITE setUHFMin)
1394
1395 Q_CLASSINFO("uhfMax", "The maximum frequency in Hz of the UHF auto-repeater frequency range.")
1397 Q_PROPERTY(Frequency uhfMax READ uhfMax WRITE setUHFMax)
1398
1399 Q_CLASSINFO("vhfDescription", "A reference to an offset frequency for the VHF band.")
1402
1403 Q_CLASSINFO("uhfDescription", "A reference to an offset frequency for the UHF band.")
1406
1407 Q_CLASSINFO("vhf2Min", "The minimum frequency in Hz of the second VHF auto-repeater frequency range.")
1409 Q_PROPERTY(Frequency vhf2Min READ vhf2Min WRITE setVHF2Min)
1410
1411 Q_CLASSINFO("vhf2Max", "The maximum frequency in Hz of the second VHF auto-repeater frequency range.")
1413 Q_PROPERTY(Frequency vhf2Max READ vhf2Max WRITE setVHF2Max)
1414
1415 Q_CLASSINFO("uhf2Min", "The minimum frequency in Hz of the second UHF auto-repeater frequency range.")
1417 Q_PROPERTY(Frequency uhf2Min READ uhf2Min WRITE setUHF2Min)
1418
1419 Q_CLASSINFO("uhf2Max", "The maximum frequency in Hz of the second UHF auto-repeater frequency range.")
1421 Q_PROPERTY(Frequency uhf2Max READ uhf2Max WRITE setUHF2Max)
1422
1423 Q_CLASSINFO("vhf2Description", "A reference to an offset frequency for the second VHF band.")
1426
1427 Q_CLASSINFO("uhf2Description", "A reference to an offset frequency for the second UHF band.")
1430
1431 Q_CLASSINFO("offsetDescription", "The lists of offset frequencies.")
1434
1435public:
1437 enum class Direction {
1438 Off = 0,
1441 };
1442 Q_ENUM(Direction)
1443
1444public:
1446 explicit AnytoneAutoRepeaterSettingsExtension(QObject *parent=nullptr);
1447
1448 ConfigItem *clone() const;
1449
1451 Direction directionA() const;
1453 void setDirectionA(Direction dir);
1455 Direction directionB() const;
1457 void setDirectionB(Direction dir);
1458
1460 Frequency vhfMin() const;
1462 void setVHFMin(Frequency Hz);
1464 Frequency vhfMax() const;
1466 void setVHFMax(Frequency Hz);
1468 Frequency uhfMin() const;
1470 void setUHFMin(Frequency Hz);
1472 Frequency uhfMax() const;
1474 void setUHFMax(Frequency Hz);
1475
1477 AnytoneAutoRepeaterOffsetRef *uhfRef() const;
1479 AnytoneAutoRepeaterOffsetRef *vhfRef() const;
1480
1482 Frequency vhf2Min() const;
1484 void setVHF2Min(Frequency Hz);
1486 Frequency vhf2Max() const;
1488 void setVHF2Max(Frequency Hz);
1490 Frequency uhf2Min() const;
1492 void setUHF2Min(Frequency Hz);
1494 Frequency uhf2Max() const;
1496 void setUHF2Max(Frequency Hz);
1497
1499 AnytoneAutoRepeaterOffsetRef *uhf2Ref() const;
1501 AnytoneAutoRepeaterOffsetRef *vhf2Ref() const;
1502
1504 AnytoneAutoRepeaterOffsetList *offsets() const;
1505
1506protected:
1537};
1538
1539
1545{
1546 Q_OBJECT
1547
1548 Q_CLASSINFO("groupCallHangTimeDescription", "Specifies the hang- or hold-time for group calls.")
1553
1554 Q_CLASSINFO("privateCallHangTimeDescription", "Specifies the hang- or hold-time for private calls.")
1559
1560 Q_CLASSINFO("preWaveDelay", "Sets the pre-wave delay in ms. Should be set to 100ms.")
1563
1564 Q_CLASSINFO("wakeHeadPeriod", "Sets the wake head-period in ms. Should be set to 100ms.")
1567
1568 Q_CLASSINFO("filterOwnIDDescription", "If enabled, own ID is not shown in call lists.")
1571
1572 Q_CLASSINFO("monitorSlotMatchDescription", "Time-slot match-mode for DMR monitor.")
1575
1576 Q_CLASSINFO("monitorColorCodeMatchDescription", "If enabled, the DMR monitor will only open for "
1577 "matching color-codes.")
1579 Q_PROPERTY(bool monitorColorCodeMatch READ monitorColorCodeMatchEnabled WRITE enableMonitorColorCodeMatch)
1580
1581 Q_CLASSINFO("monitorIDMatchDescription", "If enabled, the DMR monitor will only open for matching IDs.")
1583 Q_PROPERTY(bool monitorIDMatch READ monitorIDMatchEnabled WRITE enableMonitorIDMatch)
1584
1585 Q_CLASSINFO("monitorTimeSlotHold", "Whether the DMR monitor holds the time-slot.")
1587 Q_PROPERTY(bool monitorTimeSlotHold READ monitorTimeSlotHoldEnabled WRITE enableMonitorTimeSlotHold)
1588
1589 Q_CLASSINFO("smsFormatDescription", "Specifies the SMS format, select Motorola here.")
1591 Q_PROPERTY(SMSFormat smsFormat READ smsFormat WRITE setSMSFormat)
1592
1593 Q_CLASSINFO("sendTalkerAliasDescription", "Sends the radio name as talker alias over the air.")
1595 Q_PROPERTY(bool sendTalkerAlias READ sendTalkerAlias WRITE enableSendTalkerAlias)
1597 Q_PROPERTY(TalkerAliasSource talkerAliasSource READ talkerAliasSource WRITE setTalkerAliasSource)
1599 Q_PROPERTY(TalkerAliasEncoding talkerAliasEncoding READ talkerAliasEncoding WRITE setTalkerAliasEncoding)
1600
1602 Q_PROPERTY(EncryptionType encryption READ encryption WRITE setEncryption)
1603
1604
1605public:
1607 enum class SlotMatch {
1608 Off = 0, Single = 1, Both = 2
1609 };
1610 Q_ENUM(SlotMatch)
1611
1612
1613 enum class SMSFormat {
1614 Motorola = 0, Hytera = 1, DMR = 2
1615 };
1616 Q_ENUM(SMSFormat)
1617
1618
1619 enum class TalkerAliasSource {
1620 Off = 0, UserDB = 1, Air = 2
1621 };
1622 Q_ENUM(TalkerAliasSource)
1623
1624
1625 enum class TalkerAliasEncoding {
1626 ISO8 = 0, ISO7 = 1, Unicode = 2,
1627 };
1628 Q_ENUM(TalkerAliasEncoding)
1629
1630
1631 enum class EncryptionType {
1632 AES=0, DMR=1
1633 };
1634 Q_ENUM(EncryptionType)
1635
1636public:
1638 explicit AnytoneDMRSettingsExtension(QObject *parent = nullptr);
1639
1640 ConfigItem *clone() const;
1641
1643 Interval groupCallHangTime() const;
1645 void setGroupCallHangTime(Interval sec);
1647 Interval manualGroupCallHangTime() const;
1649 void setManualGroupCallHangTime(Interval sec);
1651 Interval privateCallHangTime() const;
1653 void setPrivateCallHangTime(Interval sec);
1655 Interval manualPrivateCallHangTime() const;
1657 void setManualPrivateCallHangTime(Interval sec);
1658
1660 Interval preWaveDelay() const;
1662 void setPreWaveDelay(Interval ms);
1664 Interval wakeHeadPeriod() const;
1666 void setWakeHeadPeriod(Interval ms);
1667
1669 bool filterOwnIDEnabled() const;
1671 void enableFilterOwnID(bool enable);
1672
1674 SlotMatch monitorSlotMatch() const;
1676 void setMonitorSlotMatch(SlotMatch match);
1678 bool monitorColorCodeMatchEnabled() const;
1680 void enableMonitorColorCodeMatch(bool enable);
1682 bool monitorIDMatchEnabled() const;
1684 void enableMonitorIDMatch(bool enable);
1686 bool monitorTimeSlotHoldEnabled() const;
1688 void enableMonitorTimeSlotHold(bool enable);
1689
1691 SMSFormat smsFormat() const;
1693 void setSMSFormat(SMSFormat format);
1694
1696 bool sendTalkerAlias() const;
1698 void enableSendTalkerAlias(bool enable);
1699
1701 TalkerAliasSource talkerAliasSource() const;
1703 void setTalkerAliasSource(TalkerAliasSource mode);
1704
1706 TalkerAliasEncoding talkerAliasEncoding() const ;
1708 void setTalkerAliasEncoding(TalkerAliasEncoding encoding);
1709
1711 EncryptionType encryption() const;
1713 void setEncryption(EncryptionType type);
1714
1715protected:
1727 SMSFormat _smsFormat;
1729 TalkerAliasSource _talkerAliasSource;
1730 TalkerAliasEncoding _talkerAliasEncoding;
1731 EncryptionType _encryption;
1732};
1733
1734
1740{
1741 Q_OBJECT
1742
1743 Q_CLASSINFO("unitsDescription", "Specifies the GPS units.")
1745 Q_PROPERTY(Units units READ units WRITE setUnits)
1746
1747 Q_CLASSINFO("timeZoneDescription", "Specifies the GPS time-zone (IANA name).")
1749 Q_PROPERTY(QString timeZone READ ianaTimeZone WRITE setIANATimeZone)
1750
1751 Q_CLASSINFO("positionReportingDescription", "Enables GPS range reporting.")
1754
1755 Q_CLASSINFO("updatePeriodDescription", "Specifies the GPS reporting interval in seconds.")
1758
1760 Q_PROPERTY(GPSMode mode READ mode WRITE setMode)
1761
1762public:
1764 enum class Units {
1765 Metric = 0, Archaic = 1
1766 };
1767 Q_ENUM(Units)
1768
1769
1770 enum class GPSMode {
1771 GPS=0, Beidou=1, GPS_Beidou=2, Glonass=3, GPS_Glonas=4, Beidou_Glonass=5, All=6
1772 };
1773 Q_ENUM(GPSMode)
1774
1775public:
1777 explicit AnytoneGPSSettingsExtension(QObject *parent=nullptr);
1778
1779 ConfigItem *clone() const;
1780
1782 Units units() const;
1784 void setUnits(Units units);
1785
1787 QString ianaTimeZone() const;
1789 QTimeZone timeZone() const;
1791 void setIANATimeZone(const QString &id);
1793 void setTimeZone(const QTimeZone &zone);
1794
1796 bool positionReportingEnabled() const;
1798 void enablePositionReporting(bool enable);
1799
1801 Interval updatePeriod() const;
1803 void setUpdatePeriod(Interval sec);
1804
1806 GPSMode mode() const;
1808 void setMode(GPSMode mode);
1809
1810protected:
1812 QTimeZone _timeZone;
1816};
1817
1818
1824{
1825 Q_OBJECT
1826
1827 Q_CLASSINFO("Description", "Collects all ranging/roaming settings for AnyTone devices.")
1828
1829
1830 Q_PROPERTY(bool autoRoam READ autoRoam WRITE enableAutoRoam)
1831
1832 Q_CLASSINFO("autoRoamPeriodDescription", "Specifies the auto-roaming period in minutes.")
1835
1836 Q_CLASSINFO("autoRoamDelayDescription", "A delay in seconds before starting the auto-roaming.")
1839
1840 Q_CLASSINFO("roamStart", "Start condition for auto-roaming.")
1843
1844 Q_CLASSINFO("roamReturn", "Condition to return to the original repeater.")
1847
1848 Q_CLASSINFO("rangeCheckDescription", "Repeater range check.")
1851
1852 Q_CLASSINFO("checkIntervalDescription", "Repeater range check interval in seconds.")
1855
1856 Q_CLASSINFO("retryCount", "Number of retries to connect to a repeater before giving up.")
1859
1862
1863 Q_CLASSINFO("notificationDescription", "Enables the repeater-check notification.")
1866
1867 Q_CLASSINFO("notificationCountDescription", "The number of repeater-check notifications.")
1870
1873
1875 Q_PROPERTY(bool gpsRoaming READ gpsRoaming WRITE enableGPSRoaming)
1876
1877public:
1879 enum class RoamStart {
1880 Periodic=0, OutOfRange=1
1881 };
1882 Q_ENUM(RoamStart)
1883
1884
1885 enum class OutOfRangeAlert {
1886 None = 0x00, Bell = 0x01, Voice = 0x02
1887 };
1888 Q_ENUM(OutOfRangeAlert)
1889
1890public:
1892 explicit AnytoneRoamingSettingsExtension(QObject *parent=nullptr);
1893
1894 ConfigItem *clone() const;
1895
1897 bool autoRoam() const;
1899 void enableAutoRoam(bool enable);
1900
1902 Interval autoRoamPeriod() const;
1904 void setAutoRoamPeriod(Interval min);
1906 Interval autoRoamDelay() const;
1908 void setAutoRoamDelay(Interval sec);
1909
1911 bool repeaterRangeCheckEnabled() const;
1913 void enableRepeaterRangeCheck(bool enable);
1915 Interval repeaterCheckInterval() const;
1917 void setRepeaterCheckInterval(Interval sec);
1919 unsigned int repeaterRangeCheckCount() const;
1921 void setRepeaterRangeCheckCount(unsigned int count);
1923 OutOfRangeAlert outOfRangeAlert() const;
1925 void setOutOfRangeAlert(OutOfRangeAlert type);
1926
1928 RoamStart roamingStartCondition() const;
1930 void setRoamingStartCondition(RoamStart start);
1932 RoamStart roamingReturnCondition() const;
1934 void setRoamingReturnCondition(RoamStart start);
1935
1937 bool notificationEnabled() const;
1939 void enableNotification(bool enable);
1941 unsigned int notificationCount() const;
1943 void setNotificationCount(unsigned int n);
1944
1946 bool gpsRoaming() const;
1948 void enableGPSRoaming(bool enable);
1949
1951 RoamingZoneReference *defaultZone() const;
1952
1953protected:
1964 unsigned int _notificationCount;
1967};
1968
1969
1975{
1976 Q_OBJECT
1977
1978 Q_CLASSINFO("Description", "Collects all bluetooth settings for AnyTone devices.")
1979
1980
1981 Q_PROPERTY(bool pttLatch READ pttLatch WRITE enablePTTLatch)
1984
1985public:
1987 explicit AnytoneBluetoothSettingsExtension(QObject *parent=nullptr);
1988
1989 ConfigItem *clone() const;
1990
1992 bool pttLatch() const;
1994 void enablePTTLatch(bool enable);
1995
1997 Interval pttSleepTimer() const;
1999 void setPTTSleepTimer(Interval intv);
2000
2001protected:
2004};
2005
2006
2012{
2013 Q_OBJECT
2014
2015 Q_CLASSINFO("enabledDescription", "If true, the simplex-repeater feature is enabled.")
2017 Q_PROPERTY(bool enabled READ enabled WRITE enable)
2018
2019 Q_CLASSINFO("monitorDescription", "If true, the repeater-monitoring is enabled.")
2021 Q_PROPERTY(bool monitor READ monitorEnabled WRITE enableMonitor)
2022
2023 Q_CLASSINFO("timeSlotDescription", "Specifies the time-slot of the repeater.")
2025 Q_PROPERTY(TimeSlot timeSlot READ timeSlot WRITE setTimeSlot)
2026
2027public:
2029 enum class TimeSlot {
2030 TS1 = 0, TS2 = 1, Channel = 2
2031 };
2032 Q_ENUM(TimeSlot)
2033
2034public:
2036 explicit AnytoneSimplexRepeaterSettingsExtension(QObject *parent=nullptr);
2037
2038 ConfigItem *clone() const;
2039
2041 bool enabled() const;
2043 void enable(bool enable);
2044
2046 bool monitorEnabled() const;
2048 void enableMonitor(bool enable);
2049
2051 TimeSlot timeSlot() const;
2053 void setTimeSlot(TimeSlot ts);
2054
2055protected:
2059};
2060
2061
2069{
2070 Q_OBJECT
2071
2072 Q_CLASSINFO("description", "Device specific settings for AnyTone devices.")
2073
2074 Q_CLASSINFO("subChannelDescription", "Enables/disables the sub-channel.")
2077
2080
2082 Q_PROPERTY(VFOMode modeA READ modeA WRITE setModeA)
2083
2085 Q_PROPERTY(VFOMode modeB READ modeB WRITE setModeB)
2086
2088 Q_PROPERTY(ZoneReference* zoneA READ zoneA)
2089
2091 Q_PROPERTY(ZoneReference* zoneB READ zoneB)
2092
2103
2104 Q_CLASSINFO("keepLastCallerDescription", "Keeps the last caller on channel switch")
2107
2108 Q_CLASSINFO("vfoStepDescription", "Specifies the VFO tuning steps in kHz.")
2110 Q_PROPERTY(Frequency vfoStep READ vfoStep WRITE setVFOStep)
2111
2112 Q_CLASSINFO("steTypeDescription", "Specifies the STE (squelch tail elimination) type.")
2114 Q_PROPERTY(STEType steType READ steType WRITE setSTEType)
2115 Q_CLASSINFO("steFrequencyDescription", "Specifies the STE (squelch tail elimination) frequency in Hz.")
2117 Q_PROPERTY(double steFrequency READ steFrequency WRITE setSTEFrequency)
2120
2121 Q_CLASSINFO("tbstFrequencyDescription", "Specifies the TBST frequency in Hz. Should be one of "
2122 "1000, 1450, 1750 and 2100 Hz. "
2123 "D878UV(2), D578UV and DMR-6X2UV only.")
2126
2127 Q_CLASSINFO("proModeDescription", "Enables 'professional' mode. This limits the option reachable via the menu.")
2129 Q_PROPERTY(bool proMode READ proModeEnabled WRITE enableProMode)
2130
2132 Q_PROPERTY(bool maintainCallChannel READ maintainCallChannelEnabled WRITE enableMaintainCallChannel)
2133
2158
2159 Q_CLASSINFO("simplexRepeaterSettingsDescription",
2160 "Configuration for the DMR-6X2UV simplex-repeater feature.")
2163
2164public:
2166 enum class VFOScanType {
2167 Time = 0, Carrier = 1, Stop = 2
2168 };
2169 Q_ENUM(VFOScanType)
2170
2171
2172 enum class VFOMode {
2173 Memory = 0, VFO = 1
2174 };
2175 Q_ENUM(VFOMode)
2176
2177
2178 enum class VFO {
2179 A = 0, B = 1
2180 };
2181 Q_ENUM(VFO)
2182
2183
2184 enum class STEType {
2185 Off = 0, Silent = 1, Deg120 = 2, Deg180 = 3, Deg240 = 4
2186 };
2187 Q_ENUM(STEType)
2188
2189
2190public:
2192 Q_INVOKABLE explicit AnytoneSettingsExtension(QObject *parent=nullptr);
2193
2194 ConfigItem *clone() const;
2195
2197 AnytoneBootSettingsExtension *bootSettings() const;
2199 AnytonePowerSaveSettingsExtension *powerSaveSettings() const;
2201 AnytoneKeySettingsExtension *keySettings() const;
2203 AnytoneToneSettingsExtension *toneSettings() const;
2205 AnytoneDisplaySettingsExtension *displaySettings() const;
2207 AnytoneAudioSettingsExtension *audioSettings() const;
2209 AnytoneMenuSettingsExtension *menuSettings() const;
2211 AnytoneAutoRepeaterSettingsExtension *autoRepeaterSettings() const;
2213 AnytoneDMRSettingsExtension *dmrSettings() const;
2215 AnytoneGPSSettingsExtension *gpsSettings() const;
2217 AnytoneRoamingSettingsExtension *roamingSettings() const;
2219 AnytoneBluetoothSettingsExtension *bluetoothSettings() const;
2221 AnytoneSimplexRepeaterSettingsExtension *simplexRepeaterSettings() const;
2222
2224 VFOScanType vfoScanType() const;
2226 void setVFOScanType(VFOScanType type);
2227
2229 VFOMode modeA() const;
2231 void setModeA(VFOMode mode);
2233 VFOMode modeB() const;
2235 void setModeB(VFOMode mode);
2236
2240 const ZoneReference *zoneA() const;
2244 const ZoneReference *zoneB() const;
2245
2247 VFO selectedVFO() const;
2249 void setSelectedVFO(VFO vfo);
2250
2252 bool subChannelEnabled() const;
2254 void enableSubChannel(bool enable);
2255
2264
2273
2275 bool keepLastCallerEnabled() const;
2277 void enableKeepLastCaller(bool enable);
2278
2280 Frequency vfoStep() const;
2282 void setVFOStep(Frequency step);
2283
2285 STEType steType() const;
2287 void setSTEType(STEType type);
2290 double steFrequency() const;
2293 void setSTEFrequency(double freq);
2295 Interval steDuration() const;
2297 void setSTEDuration(Interval intv);
2298
2300 Frequency tbstFrequency() const;
2302 void setTBSTFrequency(Frequency Hz);
2303
2305 bool proModeEnabled() const;
2307 void enableProMode(bool enable);
2308
2310 bool maintainCallChannelEnabled() const;
2312 void enableMaintainCallChannel(bool enable);
2313
2314protected:
2341
2361};
2362
2363
2368{
2369 Q_OBJECT
2370
2372 Q_PROPERTY(Interval txDelay READ txDelay WRITE setTXDelay)
2376 Q_PROPERTY(bool passAll READ passAll WRITE enablePassAll)
2380 Q_PROPERTY(bool reportMicE READ reportMicE WRITE enableReportMicE)
2384 Q_PROPERTY(bool reportItem READ reportItem WRITE enableReportItem)
2390 Q_PROPERTY(bool reportNMEA READ reportNMEA WRITE enableReportNMEA)
2394 Q_PROPERTY(bool reportOther READ reportOther WRITE enableReportOther)
2395
2398
2399public:
2401 enum class Bandwidth {
2402 Narrow = 0, Wide = 1
2403 };
2404 Q_ENUM(Bandwidth)
2405
2406public:
2408 explicit Q_INVOKABLE AnytoneFMAPRSSettingsExtension(QObject *parent=nullptr);
2409
2410 ConfigItem *clone() const;
2411
2413 Interval txDelay() const;
2415 void setTXDelay(Interval intv);
2416
2418 Interval preWaveDelay() const;
2420 void setPreWaveDelay(Interval ms);
2421
2423 bool passAll() const;
2425 void enablePassAll(bool enable);
2426
2428 bool reportPosition() const;
2430 void enableReportPosition(bool enable);
2432 bool reportMicE() const;
2434 void enableReportMicE(bool enable);
2436 bool reportObject() const;
2438 void enableReportObject(bool enable);
2440 bool reportItem() const;
2442 void enableReportItem(bool enable);
2444 bool reportMessage() const;
2446 void enableReportMessage(bool enable);
2448 bool reportWeather() const;
2450 void enableReportWeather(bool enable);
2452 bool reportNMEA() const;
2454 void enableReportNMEA(bool enable);
2456 bool reportStatus() const;
2458 void enableReportStatus(bool enable);
2460 bool reportOther() const;
2462 void enableReportOther(bool enable);
2463
2465 AnytoneAPRSFrequencyList *frequencies() const;
2466
2467protected:
2494};
2495
2496#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:1174
bool _recording
Recording enabled.
Definition anytone_extension.hh:1259
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:1189
bool enhance
If true, the audio is "enhanced".
Definition anytone_extension.hh:1186
AnytoneAudioSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:2265
Interval voxDelay
The VOX delay in ms.
Definition anytone_extension.hh:1178
bool recording
If true, recording is enabled.
Definition anytone_extension.hh:1183
unsigned int maxHeadPhoneVolume
The maximum head-phone volume setting [0-10].
Definition anytone_extension.hh:1194
Interval _voxDelay
VOX delay in ms.
Definition anytone_extension.hh:1258
VoxSource
Source for the VOX.
Definition anytone_extension.hh:1203
unsigned int fmMicGain
The FM mic gain [1,10].
Definition anytone_extension.hh:1199
unsigned int maxVolume
The maximum volume setting [0-10].
Definition anytone_extension.hh:1192
bool _enhanceAudio
Enhance audio.
Definition anytone_extension.hh:1263
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:1180
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:1261
bool _enableAnalogMicGain
Enables separate analog mic gain.
Definition anytone_extension.hh:1265
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:1264
unsigned int _maxHeadPhoneVolume
The maximum head-phone volume.
Definition anytone_extension.hh:1262
bool enableFMMicGain
Enables the separate FM mic gain.
Definition anytone_extension.hh:1197
VoxSource _voxSource
The VOX source.
Definition anytone_extension.hh:1260
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:1266
Represents a list of auto-repeater offsets.
Definition anytone_extension.hh:1355
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:1343
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:1321
Frequency _offset
The transmit frequency offset in Hz.
Definition anytone_extension.hh:1336
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:1371
Direction directionA
Specifies the auto-repeater transmit-frequency offset direction for VFO A.
Definition anytone_extension.hh:1377
Frequency uhfMin
The minimum frequency in Hz of the UHF auto-repeater frequency range.
Definition anytone_extension.hh:1393
AnytoneAutoRepeaterOffsetRef * uhf
A reference to the auto-repeater frequency for UHF.
Definition anytone_extension.hh:1405
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:1528
AnytoneAutoRepeaterOffsetRef * vhf2
A reference to the auto-repeater frequency for the second VHF band.
Definition anytone_extension.hh:1425
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:1401
AnytoneAutoRepeaterOffsetRef * uhf2
A reference to the auto-repeater frequency for the second UHF band.
Definition anytone_extension.hh:1429
Frequency _maxUHF2
Maximum frequency of the second UHF auto-repeater range.
Definition anytone_extension.hh:1530
Frequency _maxVHF
Maximum frequency of the VHF auto-repeater range.
Definition anytone_extension.hh:1514
Direction _directionA
The auto-repeater direction for VFO A.
Definition anytone_extension.hh:1508
AnytoneAutoRepeaterOffsetList * offsets
The repeater transmit offset frequencies.
Definition anytone_extension.hh:1433
Frequency _minVHF
Minimum frequency of the VHF auto-repeater range.
Definition anytone_extension.hh:1512
AnytoneAutoRepeaterOffsetRef * _uhf2Offset
A reference to the second UHF offset frequency.
Definition anytone_extension.hh:1534
Frequency vhf2Max
The maximum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_extension.hh:1413
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:1381
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:1510
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:1397
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:1437
@ Positive
Positive frequency offset.
Definition anytone_extension.hh:1439
@ Off
Disabled.
Definition anytone_extension.hh:1438
@ Negative
Negative frequency offset.
Definition anytone_extension.hh:1440
AnytoneAutoRepeaterOffsetRef * _vhfOffset
A reference to the VHF offset frequency.
Definition anytone_extension.hh:1520
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:1526
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:1522
Frequency vhf2Min
The minimum frequency in Hz of the second VHF auto-repeater frequency range.
Definition anytone_extension.hh:1409
Frequency uhf2Min
The minimum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_extension.hh:1417
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:1385
Frequency _minUHF
Minimum frequency of the UHF auto-repeater range.
Definition anytone_extension.hh:1516
Frequency uhf2Max
The maximum frequency in Hz of the second UHF auto-repeater frequency range.
Definition anytone_extension.hh:1421
AnytoneAutoRepeaterOffsetList * _offsets
The list of repeater offsets.
Definition anytone_extension.hh:1536
Frequency _maxUHF
Maximum frequency of the UHF auto-repeater range.
Definition anytone_extension.hh:1518
Frequency _minVHF2
Minimum frequency of the second VHF auto-repeater range.
Definition anytone_extension.hh:1524
AnytoneAutoRepeaterOffsetRef * _vhf2Offset
A reference to the second VHF offset frequency.
Definition anytone_extension.hh:1532
Frequency vhfMax
The maximum frequency in Hz of the VHF auto-repeater frequency range.
Definition anytone_extension.hh:1389
Implements the bluetooth settings for some AnyTone devices.
Definition anytone_extension.hh:1975
Interval _pttSleep
PTT sleep timer, 0 is off.
Definition anytone_extension.hh:2003
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:2002
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:1981
Interval pttSleepTimer
The sleep timeout of the PTT button.
Definition anytone_extension.hh:1983
Implements the boot settings extension of AnyTone devices.
Definition anytone_extension.hh:368
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:463
bool defaultChannel
If enables, the default channels are selected at boot.
Definition anytone_extension.hh:379
ChannelReference * channelA
The default channel for VFO A.
Definition anytone_extension.hh:383
ChannelReference * _channelB
Default channel for VFO B, must be member of zone for VFO B.
Definition anytone_extension.hh:459
ZoneReference * priorityZoneB
The priority zone for VFO B.
Definition anytone_extension.hh:391
bool _bootPasswordEnabled
If true, the boot password is enabled.
Definition anytone_extension.hh:453
ZoneReference * zoneB
The current zone for VFO B.
Definition anytone_extension.hh:385
BootDisplay _bootDisplay
The boot display property.
Definition anytone_extension.hh:452
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:460
bool _defaultChannel
Change to the default channel on boot.
Definition anytone_extension.hh:455
QString bootPassword
Holds the boot password.
Definition anytone_extension.hh:376
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:374
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:462
ZoneReference * _zoneA
Default zone for VFO A.
Definition anytone_extension.hh:456
ChannelReference * channelB
The default channel for VFO B.
Definition anytone_extension.hh:387
ZoneReference * zoneA
The default zone for VFO A.
Definition anytone_extension.hh:381
ZoneReference * _priorityZoneB
Priority zone for VFO B.
Definition anytone_extension.hh:461
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:400
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:396
BootDisplay bootDisplay
The boot display setting.
Definition anytone_extension.hh:372
void setBootPassword(const QString &pass)
Sets the boot password.
Definition anytone_extension.cc:1274
bool gpsCheck
Enables the GPS check.
Definition anytone_extension.hh:394
ZoneReference * _zoneB
Default zone for VFO B.
Definition anytone_extension.hh:458
ChannelReference * _channelA
Default channel for VFO A, must be member of zone for VFO A.
Definition anytone_extension.hh:457
QString _bootPassword
The boot password.
Definition anytone_extension.hh:454
ZoneReference * priorityZoneA
The priority zone for VFO A.
Definition anytone_extension.hh:389
bool _talkaround
If true, talkaround is enabled.
Definition anytone_extension.hh:126
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:130
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:128
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
APRSPTT _aprsPTT
Holds the APRS PTT mode.
Definition anytone_extension.hh:134
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:132
Implements the AnyTone contact extension.
Definition anytone_extension.hh:331
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:359
AlertType
Possible ring-tone types.
Definition anytone_extension.hh:339
@ Online
WTF?
Definition anytone_extension.hh:342
@ None
Alert disabled.
Definition anytone_extension.hh:340
@ Ring
Ring tone.
Definition anytone_extension.hh:341
AlertType alertType
Overrides the ring flag, allows to set None, Ring and Online.
Definition anytone_extension.hh:335
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:298
bool loneWorker
If true, the lone-worker feature is enabled for this channel.
Definition anytone_extension.hh:239
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:233
ConfigItem * clone() const
Clones this item.
Definition anytone_extension.cc:229
bool _smsConfirm
If true, the SMS confirmation is enabled.
Definition anytone_extension.hh:288
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:292
bool sms
If true, SMS reception is enabled.
Definition anytone_extension.hh:227
bool _dataACK
If true, the data acknowledgement is enabled.
Definition anytone_extension.hh:290
bool _sms
If true, the SMS reception is enabled.
Definition anytone_extension.hh:286
bool adaptiveTDMA
If true, the adaptive TDMA mode is enabled.
Definition anytone_extension.hh:237
bool callConfirm
If true, the call confirmation is enabled.
Definition anytone_extension.hh:225
bool smsConfirm
If true, the SMS confirmation is enabled.
Definition anytone_extension.hh:229
bool throughMode
If true, the through mode is enabled (what ever that means).
Definition anytone_extension.hh:241
bool dataACK
If true, the radio will response to received data packages.
Definition anytone_extension.hh:231
bool _callConfirm
If true, the call confirmation is enabled.
Definition anytone_extension.hh:284
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:294
bool _loneWorker
If true the lone-worker feature is enabled.
Definition anytone_extension.hh:296
Implements the DMR settings extension of AnyTone devices.
Definition anytone_extension.hh:1545
SMSFormat _smsFormat
Sets the SMS format.
Definition anytone_extension.hh:1727
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:1720
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:1724
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:1566
bool _monitorIDMatch
Enables ID match for DMR monitor.
Definition anytone_extension.hh:1725
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:1556
Interval preWaveDelay
Pre-wave delay in ms.
Definition anytone_extension.hh:1562
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:1558
SlotMatch monitorSlotMatch
Slot-match mode for DMR monitor.
Definition anytone_extension.hh:1574
EncryptionType _encryption
DMR encryption type.
Definition anytone_extension.hh:1731
bool _monitorTimeSlotHold
Enables the time-slot hold for the DMR monitor.
Definition anytone_extension.hh:1726
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:1717
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:1722
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:1730
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:1718
bool _sendTalkerAlias
Enables sending talker alias.
Definition anytone_extension.hh:1728
Interval groupCallHangTime
Group-call hang-time in seconds.
Definition anytone_extension.hh:1550
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:1552
bool filterOwnID
Filter own ID from call lists.
Definition anytone_extension.hh:1570
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:1716
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:1723
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:1721
TalkerAliasSource _talkerAliasSource
Source for the talker alias.
Definition anytone_extension.hh:1729
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:1719
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:910
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:952
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:946
Color _zoneNameColor
Color of zone name.
Definition anytone_extension.hh:1164
bool showLastHeardEnabled() const
Shows the last caller.
Definition anytone_extension.cc:2142
bool _callEndPrompt
Call-end prompt enabled.
Definition anytone_extension.hh:1144
bool _showLastHeard
Shows the last caller.
Definition anytone_extension.hh:1158
bool _showTimeSlot
Show time slot.
Definition anytone_extension.hh:1153
LastCallerDisplayMode _lastCallerDisplay
Last-caller display mode.
Definition anytone_extension.hh:1145
bool _showColorCode
Show color code.
Definition anytone_extension.hh:1152
Color channelNameColor
The channel name color.
Definition anytone_extension.hh:967
bool _showContact
Enables showing the contact.
Definition anytone_extension.hh:1155
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:1148
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:959
void setStandbyTextColor(Color color)
Sets the standby text color.
Definition anytone_extension.cc:2158
bool _customChannelBackground
Custom channel background enabled.
Definition anytone_extension.hh:1161
Color
Possible display colors.
Definition anytone_extension.hh:992
AnytoneDisplaySettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_extension.cc:1925
Color zoneNameColor
The zone name color.
Definition anytone_extension.hh:974
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:977
Language language
Specifies the UI language.
Definition anytone_extension.hh:980
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:916
Color _channelNameColor
Color of channel name.
Definition anytone_extension.hh:1162
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:940
bool showCall
If true, the call is shown.
Definition anytone_extension.hh:942
bool customChannelBackground
Enables custom channel background.
Definition anytone_extension.hh:932
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:1141
Color _zoneBNameColor
Color of zone name for VFO B.
Definition anytone_extension.hh:1165
bool showContact
Shows the contact.
Definition anytone_extension.hh:944
Color _standbyBackgroundColor
Standby background color.
Definition anytone_extension.hh:1157
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:1142
bool showColorCode
Shows the color code.
Definition anytone_extension.hh:948
void enableShowChannelType(bool enable)
Shows/hides channel type.
Definition anytone_extension.cc:2122
bool showTimeSlot
Shows the time slot.
Definition anytone_extension.hh:950
bool displayFrequency
The display frequency setting.
Definition anytone_extension.hh:914
Color _standbyTextColor
Standby text color.
Definition anytone_extension.hh:1156
bool callEndPrompt
The call-end prompt is shown.
Definition anytone_extension.hh:937
LastCallerDisplayMode lastCallerDisplay
The last-caller display mode.
Definition anytone_extension.hh:956
offInterval backlightDurationRX
RX backlight duration.
Definition anytone_extension.hh:929
bool _volumeChangePrompt
Volume-change prompt enabled.
Definition anytone_extension.hh:1143
bool _showChannelNumber
Show channel number.
Definition anytone_extension.hh:1151
Interval _backlightDurationTX
Backlight duration in seconds during TX.
Definition anytone_extension.hh:1159
DateFormat
Possible date formats.
Definition anytone_extension.hh:1005
@ DayFirst
dd/mm/yyyy
Definition anytone_extension.hh:1007
@ YearFirst
yyyy/mm/dd
Definition anytone_extension.hh:1006
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:982
bool _showClock
Display clock.
Definition anytone_extension.hh:1146
Color channelBNameColor
The channel name color for VFO B.
Definition anytone_extension.hh:970
Color standbyBackgroundColor
The standby background color.
Definition anytone_extension.hh:963
bool _showCall
Display call.
Definition anytone_extension.hh:1147
Interval backlightDurationTX() const
Returns backlight duration during TX.
Definition anytone_extension.cc:2178
bool _displayFrequency
Display frequency property.
Definition anytone_extension.hh:1140
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:961
Language
Possible UI languages.
Definition anytone_extension.hh:998
@ English
UI Language is english.
Definition anytone_extension.hh:999
@ German
UI Language is german.
Definition anytone_extension.hh:1000
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:954
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
bool volumeChangePrompt
The volume-change prompt is shown.
Definition anytone_extension.hh:935
Language _language
UI language.
Definition anytone_extension.hh:1149
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:1150
Interval backlightDuration
The backlight duration in seconds.
Definition anytone_extension.hh:919
bool _showChannelType
Show channel type.
Definition anytone_extension.hh:1154
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:1160
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:986
Color _channelBNameColor
Color of channel name for VFO B.
Definition anytone_extension.hh:1163
Implements some additional settings for the FM APRS system.
Definition anytone_extension.hh:2368
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:2386
bool _reportWeather
The report weather flag.
Definition anytone_extension.hh:2485
bool _reportMessage
The report message flag.
Definition anytone_extension.hh:2483
bool _reportMicE
The report Mic-E flag.
Definition anytone_extension.hh:2477
bool _reportStatus
The report status flag.
Definition anytone_extension.hh:2489
Q_INVOKABLE AnytoneFMAPRSSettingsExtension(QObject *parent=nullptr)
Default constructor.
Definition anytone_extension.cc:2759
Interval _preWaveDelay
The pre-wave delay.
Definition anytone_extension.hh:2471
void enableReportMessage(bool enable)
Enables/disables report message flag.
Definition anytone_extension.cc:2868
Interval _txDelay
The transmit delay.
Definition anytone_extension.hh:2469
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:2378
bool reportItem
If true, the report item flag is set.
Definition anytone_extension.hh:2384
bool _reportOther
The report other flag.
Definition anytone_extension.hh:2491
Interval preWaveDelay
The transmit pre-wave delay in milliseconds.
Definition anytone_extension.hh:2374
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:2388
bool passAll
If true, all APRS messages are processed, including those with invalid CRC.
Definition anytone_extension.hh:2376
bool reportNMEA
If true, the report NMEA flag is set.
Definition anytone_extension.hh:2390
AnytoneAPRSFrequencyList * frequencies
The list of additional APRS frequencies.
Definition anytone_extension.hh:2397
bool _reportItem
The report item flag.
Definition anytone_extension.hh:2481
bool _reportNMEA
The report NMEA flag.
Definition anytone_extension.hh:2487
Interval txDelay
The transmit delay in milliseconds.
Definition anytone_extension.hh:2372
bool _reportPosition
If true the report position flag is set.
Definition anytone_extension.hh:2475
bool _passAll
If true, all APRS messages are processed.
Definition anytone_extension.hh:2473
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:2479
void enableReportItem(bool enable)
Enables/disables report item flag.
Definition anytone_extension.cc:2856
Bandwidth
Possible bandwidth settings.
Definition anytone_extension.hh:2401
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:2394
bool reportStatus
If true, the report status flag is set.
Definition anytone_extension.hh:2392
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:2380
bool reportObject
If true, the report object flag is set.
Definition anytone_extension.hh:2382
AnytoneAPRSFrequencyList * _frequencies
The list of additional FM APRS frequencies.
Definition anytone_extension.hh:2493
void setTXDelay(Interval intv)
Sets the transmit delay.
Definition anytone_extension.cc:2784
SquelchMode squelchMode
Holds the squelch mode.
Definition anytone_extension.hh:153
bool txCustomCTCSS
If true, the custom CTCSS tone is transmitted.
Definition anytone_extension.hh:149
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:155
SquelchMode _squelchMode
Holds the squelch mode.
Definition anytone_extension.hh:212
bool _reverseBurst
If true, the CTCSS phase-reverse burst at the end of transmission is enabled.
Definition anytone_extension.hh:204
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:159
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:145
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:151
bool _rxCustomCTCSS
If true, the custom CTCSS tone is used for RX (open squelch).
Definition anytone_extension.hh:206
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:214
bool _txCustomCTCSS
If true, the custom CTCSS tone is transmitted.
Definition anytone_extension.hh:208
double _customCTCSS
Holds the custom CTCSS tone frequency in Hz.
Definition anytone_extension.hh:210
bool rxCustomCTCSS
If true, the custom CTCSS tone is used for RX (open squelch).
Definition anytone_extension.hh:147
Implements the GPS settings extension of AnyTone devices.
Definition anytone_extension.hh:1740
Interval updatePeriod
GPS ranging interval in seconds.
Definition anytone_extension.hh:1757
void setMode(GPSMode mode)
Sets the GPS mode.
Definition anytone_extension.cc:698
QString timeZone
The time-zone IANA Id.
Definition anytone_extension.hh:1749
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:1745
bool _gpsRangeReporting
Enables GPS range reporting.
Definition anytone_extension.hh:1813
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:1753
Units _gpsUnits
The GPS units.
Definition anytone_extension.hh:1811
QTimeZone _timeZone
The time zone.
Definition anytone_extension.hh:1812
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:1815
Interval _gpsRangingInterval
The GPS ranging interval in seconds.
Definition anytone_extension.hh:1814
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:1760
GPSMode
Possible GPS modes.
Definition anytone_extension.hh:1770
Units
Possible unit systems.
Definition anytone_extension.hh:1764
Implements the key settings extension of AnyTone devices.
Definition anytone_extension.hh:536
KeyFunction _funcKey6Short
Function of the function key 6, short press.
Definition anytone_extension.hh:748
KeyFunction _funcKey3Short
Function of the function key 3, short press.
Definition anytone_extension.hh:742
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:560
KeyFunction funcKeyCLong
Function key C (PF3 on top or B on mic), long press function.
Definition anytone_extension.hh:574
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:739
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:583
KeyFunction _funcKeyAShort
Function of the function key A, short press.
Definition anytone_extension.hh:750
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:540
KeyFunction _funcKeyBShort
Function of the function key B, short press.
Definition anytone_extension.hh:752
KeyFunction funcKey3Long
Function key 3 (P3 next to screen, D578UV only), long press function.
Definition anytone_extension.hh:550
KeyFunction funcKey2Short
Function key 2 (P2 below or next to screen), short press function.
Definition anytone_extension.hh:544
KeyFunction funcKey6Long
Function key 6 (P6 next to screen, D578UV only), long press function.
Definition anytone_extension.hh:562
void enableKnobLock(bool enable)
Enables/disables the knob lock.
Definition anytone_extension.cc:1703
bool _sideKeysLock
Side-keys are locked.
Definition anytone_extension.hh:762
KeyFunction funcKey2Long
Function key 2 (P2 below or next to screen), long press function.
Definition anytone_extension.hh:546
KeyFunction _funcKey5Long
Function of the function key 5, long press.
Definition anytone_extension.hh:747
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:542
KeyFunction _funcKey2Long
Function of the function key 2, long press.
Definition anytone_extension.hh:741
KeyFunction funcKeyCShort
Function key C (PF3 on top or C on mic), short press function.
Definition anytone_extension.hh:572
KeyFunction _funcKeyALong
Function of the function key A, long press.
Definition anytone_extension.hh:751
KeyFunction _funcKey2Short
Function of the function key 2, short press.
Definition anytone_extension.hh:740
KeyFunction
All possible key functions.
Definition anytone_extension.hh:603
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:568
KeyFunction funcKey5Long
Function key 5 (P5 next to screen, D578UV only), long press function.
Definition anytone_extension.hh:558
KeyFunction funcKeyAShort
Function key A (PF1 below PTT or A on mic), short press function.
Definition anytone_extension.hh:564
KeyFunction _funcKeyDShort
Function of the function key D, short press.
Definition anytone_extension.hh:756
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:758
KeyFunction funcKeyDShort
Function key D (D on mic, D578UV only), short press function.
Definition anytone_extension.hh:576
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:745
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:599
KeyFunction funcKey5Short
Function key 5 (P5 next to screen, D578UV only), short press function.
Definition anytone_extension.hh:556
bool _forcedKeyLock
Forced key-lock.
Definition anytone_extension.hh:763
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:746
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:755
KeyFunction funcKey4Short
Function key 4 (P4 next to screen, D578UV only), short press function.
Definition anytone_extension.hh:552
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:738
KeyFunction funcKey3Short
Function key 3 (P3 next to screen, D578UV only), short press function.
Definition anytone_extension.hh:548
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:580
KeyFunction _funcKeyDLong
Function of the function key D, long press.
Definition anytone_extension.hh:757
KeyFunction funcKeyBLong
Function key B (PF2 second below PTT or B on mic), long press function.
Definition anytone_extension.hh:570
bool sideKeysLock
If true, the side-keys get locked too.
Definition anytone_extension.hh:595
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:753
KeyFunction funcKeyDLong
Function key D (D on mic, D578UV only), long press function.
Definition anytone_extension.hh:578
bool _autoKeyLock
Auto key-lock property.
Definition anytone_extension.hh:759
KeyFunction _funcKey4Short
Function of the function key 4, short press.
Definition anytone_extension.hh:744
bool _knobLock
Knob locked too.
Definition anytone_extension.hh:760
KeyFunction _funcKey3Long
Function of the function key 3, long press.
Definition anytone_extension.hh:743
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:754
KeyFunction funcKeyALong
Function key A (PF1 below PTT or A on mic), long press function.
Definition anytone_extension.hh:566
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:587
KeyFunction funcKey4Long
Function key 4 (P4 next to screen, D578UV only), long press function.
Definition anytone_extension.hh:554
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:749
bool keypadLock
If true, the key-pad gets locked too.
Definition anytone_extension.hh:591
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:761
Implements the menu settings extension of AnyTone devices.
Definition anytone_extension.hh:1275
Interval duration
Menu exit time in seconds.
Definition anytone_extension.hh:1280
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:1303
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:1284
Interval _menuDuration
Menu display duration in seconds.
Definition anytone_extension.hh:1302
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:472
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:480
Interval _autoShutDownDelay
The auto shut-down delay in minutes.
Definition anytone_extension.hh:524
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:477
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:526
bool _resetAutoShutdownOnCall
Enables reset of auto shut-down timer on every call.
Definition anytone_extension.hh:525
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:527
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:1824
RoamStart roamStart
Auto-roaming start condition.
Definition anytone_extension.hh:1842
Interval _repeaterCheckInterval
The repeater check interval in seconds.
Definition anytone_extension.hh:1958
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:1966
unsigned int notificationCount
Repeater-check notification count.
Definition anytone_extension.hh:1869
bool autoRoam
Enables auto-roaming.
Definition anytone_extension.hh:1830
RoamStart _roamingReturnCondition
Auto-roaming return condition.
Definition anytone_extension.hh:1962
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:1846
void setRoamingReturnCondition(RoamStart start)
Sets the auto-roaming return condition.
Definition anytone_extension.cc:831
bool rangeCheck
Repeater range check.
Definition anytone_extension.hh:1850
unsigned int _notificationCount
Number of notifications.
Definition anytone_extension.hh:1964
Interval checkInterval
Repeater range check interval in seconds.
Definition anytone_extension.hh:1854
AnytoneRoamingSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_extension.cc:709
bool _notification
Repeater check notification.
Definition anytone_extension.hh:1963
RoamStart _roamingStartCondition
Auto-roaming start condition.
Definition anytone_extension.hh:1961
RoamStart
Possible roaming start conditions.
Definition anytone_extension.hh:1879
Interval _autoRoamDelay
The auto-roam delay in seconds.
Definition anytone_extension.hh:1956
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:1955
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:1954
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:1858
Interval autoRoamPeriod
The auto-roaming period in minutes.
Definition anytone_extension.hh:1834
bool _gpsRoaming
Enables GPS roaming.
Definition anytone_extension.hh:1965
OutOfRangeAlert outOfRangeAlert
Repeater out-of-range alert type.
Definition anytone_extension.hh:1861
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:1875
OutOfRangeAlert _outOfRangeAlert
Type of the out-out-range alert.
Definition anytone_extension.hh:1960
RoamingZoneReference * defaultZone
The default roaming zone.
Definition anytone_extension.hh:1872
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:1885
RoamStart roamingReturnCondition() const
Returns the auto-roaming return condition.
Definition anytone_extension.cc:827
Interval autoRoamDelay
The auto-roam delay.
Definition anytone_extension.hh:1838
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:1865
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:1959
bool _repeaterRangeCheck
Enables the repeater range-check.
Definition anytone_extension.hh:1957
Implements the device specific extension for the general settings of AnyTone devices.
Definition anytone_extension.hh:2069
AnytoneToneSettingsExtension * _toneSettings
The tone settings.
Definition anytone_extension.hh:2322
Frequency _maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2352
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:2172
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:2098
STEType
All possible STE (squelch tail eliminate) types.
Definition anytone_extension.hh:2184
Frequency minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2096
Frequency vfoStep
The VFO tuning step-size in kHz.
Definition anytone_extension.hh:2110
ZoneReference _zoneB
The current zone for VFO B.
Definition anytone_extension.hh:2346
AnytoneKeySettingsExtension * _keySettings
The key settings.
Definition anytone_extension.hh:2320
ZoneReference * zoneB()
Returns a reference to the current zone for VFO B.
bool _proMode
The "pro mode" flag.
Definition anytone_extension.hh:2359
bool _maintainCallChannel
Maintains the call channel.
Definition anytone_extension.hh:2360
ZoneReference * zoneB
The current zone for VFO B.
Definition anytone_extension.hh:2091
ZoneReference _zoneA
The current zone for VFO A.
Definition anytone_extension.hh:2345
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:2166
AnytonePowerSaveSettingsExtension * _powerSaveSettings
The power-save settings.
Definition anytone_extension.hh:2318
featureAnytoneSimplexRepeaterSettingsExtension * simplexRepeaterSettings
The simplex-repeater settings.
Definition anytone_extension.hh:2162
Q_INVOKABLE AnytoneSettingsExtension(QObject *parent=nullptr)
Constructor.
Definition anytone_extension.cc:882
AnytoneBootSettingsExtension * _bootSettings
The boot settings.
Definition anytone_extension.hh:2316
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:2178
AnytoneAutoRepeaterSettingsExtension * _autoRepeaterSettings
The auto-repeater settings.
Definition anytone_extension.hh:2330
bool _subChannel
If true, the sub-channel is enabled.
Definition anytone_extension.hh:2348
VFOScanType _vfoScanType
The VFO scan-type property.
Definition anytone_extension.hh:2342
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:2082
AnytoneAudioSettingsExtension * _audioSettings
The audio settings.
Definition anytone_extension.hh:2326
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:2328
bool subChannel
If true, the sub-channel is enabled.
Definition anytone_extension.hh:2076
bool _keepLastCaller
If true, the last caller is kept on channel switch.
Definition anytone_extension.hh:2353
AnytoneGPSSettingsExtension * _gpsSettings
The GSP settings.
Definition anytone_extension.hh:2334
AnytoneDisplaySettingsExtension * displaySettings() const
A reference to the display settings.
Definition anytone_extension.cc:959
AnytoneSimplexRepeaterSettingsExtension * _simplexRepeaterSettings
The simplex-repeater settings.
Definition anytone_extension.hh:2340
Interval _steDuration
STE duration.
Definition anytone_extension.hh:2357
AnytoneRoamingSettingsExtension * _roamingSettings
The roaming settings.
Definition anytone_extension.hh:2336
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:2338
Frequency _vfoStep
The VFO tuning step in kHz.
Definition anytone_extension.hh:2354
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:2344
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:2332
VFOMode modeB
The mode of VFO B.
Definition anytone_extension.hh:2085
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:2350
AnytoneBluetoothSettingsExtension * bluetoothSettings() const
A reference to the bluetooth settings.
Definition anytone_extension.cc:994
STEType steType
The STE type.
Definition anytone_extension.hh:2114
bool keepLastCaller
The keep-last-caller setting.
Definition anytone_extension.hh:2106
AnytoneRoamingSettingsExtension * roamingSettings() const
A reference to the roaming settings.
Definition anytone_extension.cc:989
VFOScanType vfoScanType
The VFO scan type.
Definition anytone_extension.hh:2094
double steFrequency
The STE frequency in Hz.
Definition anytone_extension.hh:2117
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:2119
Frequency minVFOScanFrequencyVHF
The minimum VHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2100
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:2347
Frequency _minVFOScanFrequencyUHF
The minimum UHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2349
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:2351
Frequency maxVFOScanFrequencyVHF
The maximum VHF VFO-scan frequency in Hz.
Definition anytone_extension.hh:2102
STEType _steType
The STE type.
Definition anytone_extension.hh:2355
AnytoneToneSettingsExtension * toneSettings() const
A reference to the tone settings.
Definition anytone_extension.cc:954
AnytoneDisplaySettingsExtension * _displaySettings
The display settings.
Definition anytone_extension.hh:2324
ZoneReference * zoneA()
Returns a reference to the current zone for VFO A.
double _steFrequency
STE frequency in Hz.
Definition anytone_extension.hh:2356
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:2079
VFOMode _modeA
Mode of VFO A.
Definition anytone_extension.hh:2343
Frequency _tbstFrequency
The TBST frequency in Hz.
Definition anytone_extension.hh:2358
ZoneReference * zoneA
The current zone for VFO A.
Definition anytone_extension.hh:2088
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:2012
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:2029
bool _monitor
If enabled, the radio will monitor the channel.
Definition anytone_extension.hh:2057
TimeSlot _timeSlot
The repeater time-slot.
Definition anytone_extension.hh:2058
bool _enabled
If true, the simplex repeater is enabled.
Definition anytone_extension.hh:2056
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:2017
bool monitor
Enables/disables the repeater monitor.
Definition anytone_extension.hh:2021
TimeSlot timeSlot
Time-slot of the repeater.
Definition anytone_extension.hh:2025
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:772
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:809
unsigned int keyToneLevel
The key tone level setting.
Definition anytone_extension.hh:782
bool _talkPermitDigital
DMR talk permit tone.
Definition anytone_extension.hh:889
bool _totNotification
TOT notification enabled.
Definition anytone_extension.hh:895
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:896
bool _callAlert
Call alert tone enabled.
Definition anytone_extension.hh:888
bool dmrIdle
If true, the idle tone is enabled for DMR channels.
Definition anytone_extension.hh:805
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:816
bool _talkPermitAnalog
FM talk permit tone.
Definition anytone_extension.hh:890
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:820
bool keyTone
The key tone setting.
Definition anytone_extension.hh:778
bool fmIdle
If true, the idle tone is enabled for FM channels.
Definition anytone_extension.hh:807
unsigned int _keyToneLevel
The level of key-tones, 0=user adjustable.
Definition anytone_extension.hh:900
Melody * _callEndMelody
Call end melody.
Definition anytone_extension.hh:899
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:811
bool smsAlert
If true, the SMS alert tone is enabled.
Definition anytone_extension.hh:786
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:814
Melody * _idleMelody
Idle melody.
Definition anytone_extension.hh:897
bool _smsAlert
SMS alert tone enabled.
Definition anytone_extension.hh:887
bool _dmrIdleChannelTone
Idle channel tone (DMR).
Definition anytone_extension.hh:892
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:818
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:794
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:894
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:891
bool fmTalkPermit
If true, the FM talk permit tone is enabled.
Definition anytone_extension.hh:802
void enableKeyTone(bool enable)
Enables/disables the key tone.
Definition anytone_extension.cc:1777
bool _fmIdleChannelTone
Idle channel tone (FM).
Definition anytone_extension.hh:893
bool callAlert
If true, the call alert tone is enabled.
Definition anytone_extension.hh:790
bool _keyTone
Key tone property.
Definition anytone_extension.hh:886
Melody * _resetMelody
Reset melody.
Definition anytone_extension.hh:898
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:798
bool _hidden
If true, the zone is hidden in the menu.
Definition anytone_extension.hh:324
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:309
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