libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
tyt_extensions.hh
1#ifndef TYTEXTENSION_HH
2#define TYTEXTENSION_HH
3
4#include "configobject.hh"
5
13{
14 Q_OBJECT
15
16 Q_CLASSINFO("description", "Settings for MD-390, RT8, MD-UV390, RT3S, MD-2017, RT82, DM-1701, RT84.")
17 Q_CLASSINFO("longDescription", "Device specific channel settings for TyT and Retevis devices."
18 "Including TyT MD-390, MD-UV390, MD-2017, Retevis RT8, RT3S and RT82"
19 " as well as Baofeng DM-1701.")
20
21
22 Q_PROPERTY(bool loneWorker READ loneWorker WRITE enableLoneWorker)
24 Q_PROPERTY(bool autoScan READ autoScan WRITE enableAutoScan)
26 Q_PROPERTY(bool talkaround READ talkaround WRITE enableTalkaround)
34 Q_PROPERTY(bool displayPTTId READ displayPTTId WRITE enableDisplayPTTId)
39
40
41 Q_PROPERTY(bool tightSquelch READ tightSquelch WRITE enableTightSquelch)
45 Q_PROPERTY(bool reverseBurst READ reverseBurst WRITE enableReverseBurst)
46
47
48 Q_PROPERTY(KillTone killTone READ killTone WRITE setKillTone)
52 Q_PROPERTY(bool allowInterrupt READ allowInterrupt WRITE enableAllowInterrupt)
54 Q_PROPERTY(bool dcdm READ dcdm WRITE enableDCDM)
56 Q_PROPERTY(bool dcdmLeader READ dcdmLeader WRITE enableDCDMLeader)
58 Q_PROPERTY(unsigned int dmrSquelch READ dmrSquelch WRITE setDMRSquelch)
59 Q_CLASSINFO("dmrSquelchDescription", "Sets the squelch level for DMR channels. "
60 "Only applicable for MD-UV390 and MD-2017")
61
62public:
64 enum class RefFrequency {
65 Low=0, Medium=1, High=2
66 };
67 Q_ENUM(RefFrequency)
68
69
70 enum class KillTone {
71 Tone259_2Hz=0, Tone55_2Hz=1, Off=3
72 };
73 Q_ENUM(KillTone)
74
75
76 enum class InCallCriterion {
77 Always = 0, AdmitCriterion=1, TXInterrupt=2
78 };
79 Q_ENUM(InCallCriterion)
80
81public:
83 Q_INVOKABLE explicit TyTChannelExtension(QObject *parent=nullptr);
84
85 ConfigItem *clone() const;
86
88 bool loneWorker() const;
90 void enableLoneWorker(bool enable);
92 bool autoScan() const;
94 void enableAutoScan(bool enable);
96 bool talkaround() const;
98 void enableTalkaround(bool enable);
100 bool dataCallConfirmed() const;
102 void enableDataCallConfirmed(bool enable);
104 bool privateCallConfirmed() const;
106 void enablePrivateCallConfirmed(bool enable);
108 bool emergencyAlarmConfirmed() const;
110 void enableEmergencyAlarmConfirmed(bool enable);
112 bool displayPTTId() const;
114 void enableDisplayPTTId(bool enable);
123
125 bool tightSquelch() const;
127 void enableTightSquelch(bool enable);
129 bool compressedUDPHeader() const;
131 void enableCompressedUDPHeader(bool enable);
133 bool reverseBurst() const;
135 void enableReverseBurst(bool enable);
136
138 KillTone killTone() const;
140 void setKillTone(KillTone tone);
146 bool allowInterrupt() const;
148 void enableAllowInterrupt(bool enable);
150 bool dcdm() const;
152 void enableDCDM(bool enable);
154 bool dcdmLeader() const;
156 void enableDCDMLeader(bool enable);
158 unsigned int dmrSquelch() const;
160 void setDMRSquelch(unsigned int sq);
161
162public:
163 /*ConfigItem *allocateChild(QMetaProperty &prop, const YAML::Node &node,
164 const Context &ctx, const ErrorStack &err=ErrorStack());*/
165
166protected:
167 // Common properties
186
187 // MD-390 properties
194
195 // MD-UV390, MD-2017 properties
203 bool _dcdm;
207 unsigned int _dmrSquelch;
208};
209
210
214{
215 Q_OBJECT
216
218 Q_PROPERTY(unsigned holdTime READ holdTime WRITE setHoldTime)
221
222public:
224 Q_INVOKABLE explicit TyTScanListExtension(QObject *parent=nullptr);
225
226 ConfigItem *clone() const;
227
229 unsigned holdTime() const;
231 void setHoldTime(unsigned ms);
233 unsigned prioritySampleTime() const;
235 void setPrioritySampleTime(unsigned ms);
236
237public:
238 /*ConfigItem *allocateChild(QMetaProperty &prop, const YAML::Node &node,
239 const Context &ctx, const ErrorStack &err=ErrorStack());*/
240
241protected:
243 unsigned _holdTime;
246};
247
248
252{
253 Q_OBJECT
254
275
278
279public:
315 Q_ENUM(ButtonAction)
316
317public:
319 Q_INVOKABLE explicit TyTButtonSettings(QObject *parent=nullptr);
320
321 ConfigItem *clone() const;
322
324 ButtonAction sideButton1Short() const;
326 void setSideButton1Short(ButtonAction action);
328 ButtonAction sideButton1Long() const;
330 void setSideButton1Long(ButtonAction action);
331
333 ButtonAction sideButton2Short() const;
335 void setSideButton2Short(ButtonAction action);
337 ButtonAction sideButton2Long() const;
339 void setSideButton2Long(ButtonAction action);
340
342 ButtonAction sideButton3Short() const;
344 void setSideButton3Short(ButtonAction action);
346 ButtonAction sideButton3Long() const;
348 void setSideButton3Long(ButtonAction action);
349
351 ButtonAction progButton1Short() const;
353 void setProgButton1Short(ButtonAction action);
355 ButtonAction progButton1Long() const;
357 void setProgButton1Long(ButtonAction action);
358
360 ButtonAction progButton2Short() const;
362 void setProgButton2Short(ButtonAction action);
364 ButtonAction progButton2Long() const;
366 void setProgButton2Long(ButtonAction action);
367
369 unsigned longPressDuration() const;
371 void setLongPressDuration(unsigned dur);
372
373protected:
394
397};
398
399
403{
404 Q_OBJECT
405
409 Q_PROPERTY(unsigned hangTime READ hangTime WRITE setHangTime)
411 Q_PROPERTY(bool textMessage READ textMessage WRITE enableTextMessage)
413 Q_PROPERTY(bool callAlert READ callAlert WRITE enableCallAlert)
417 Q_PROPERTY(bool manualDial READ manualDial WRITE enableManualDial)
427 Q_PROPERTY(bool scan READ scan WRITE enableScan)
437 Q_PROPERTY(bool talkaround READ talkaround WRITE enableTalkaround)
439 Q_PROPERTY(bool alertTone READ alertTone WRITE enableAlertTone)
441 Q_PROPERTY(bool power READ power WRITE enablePower)
443 Q_PROPERTY(bool backlight READ backlight WRITE enableBacklight)
445 Q_PROPERTY(bool bootScreen READ bootScreen WRITE enableBootScreen)
447 Q_PROPERTY(bool keypadLock READ keypadLock WRITE enableKeypadLock)
449 Q_PROPERTY(bool ledIndicator READ ledIndicator WRITE enableLEDIndicator)
451 Q_PROPERTY(bool squelch READ squelch WRITE enableSquelch)
453 Q_PROPERTY(bool vox READ vox WRITE enableVOX)
455 Q_PROPERTY(bool password READ password WRITE enablePassword)
457 Q_PROPERTY(bool displayMode READ displayMode WRITE enableDisplayMode)
462
463public:
465 Q_INVOKABLE explicit TyTMenuSettings(QObject *parent=nullptr);
466
467 ConfigItem *clone() const;
468
470 bool hangtimeIsInfinite() const;
472 void setHangtimeInfinite(bool infinite);
473
475 unsigned hangTime() const;
477 void setHangTime(unsigned sec);
478
480 bool textMessage() const;
482 void enableTextMessage(bool enable);
483
485 bool callAlert() const;
487 void enableCallAlert(bool enable);
488
490 bool contactEditing() const;
492 void enableContactEditing(bool enable);
493
495 bool manualDial() const;
497 void enableManualDial(bool enable);
498
500 bool remoteRadioCheck() const;
502 void enableRemoteRadioCheck(bool enable);
503
505 bool remoteMonitor() const;
507 void enableRemoteMonitor(bool enable);
508
510 bool remoteRadioEnable() const;
512 void enableRemoteRadioEnable(bool enable);
513
515 bool remoteRadioDisable() const;
517 void enableRemoteRadioDisable(bool enable);
518
520 bool scan() const;
522 void enableScan(bool enable);
523
525 bool scanListEditing() const;
527 void enableScanListEditing(bool enable);
528
530 bool callLogMissed() const;
532 void enableCallLogMissed(bool enable);
533
535 bool callLogAnswered() const;
537 void enableCallLogAnswered(bool enable);
538
540 bool callLogOutgoing() const;
542 void enableCallLogOutgoing(bool enable);
543
545 bool talkaround() const;
547 void enableTalkaround(bool enable);
548
550 bool alertTone() const;
552 void enableAlertTone(bool enable);
553
555 bool power() const;
557 void enablePower(bool enable);
558
560 bool backlight() const;
562 void enableBacklight(bool enable);
563
565 bool bootScreen() const;
567 void enableBootScreen(bool enable);
568
570 bool keypadLock() const;
572 void enableKeypadLock(bool enable);
573
575 bool ledIndicator() const;
577 void enableLEDIndicator(bool enable);
578
580 bool squelch() const;
582 void enableSquelch(bool enable);
583
585 bool vox() const;
587 void enableVOX(bool enable);
588
590 bool password() const;
592 void enablePassword(bool enable);
593
595 bool displayMode() const;
597 void enableDisplayMode(bool enable);
598
600 bool radioProgramming() const;
602 void enableRadioProgramming(bool enable);
603
605 bool gpsInformation() const;
607 void enableGPSInformation(bool enable);
608
609public:
610 /*ConfigItem *allocateChild(QMetaProperty &prop, const YAML::Node &node,
611 const Context &ctx, const ErrorStack &err=ErrorStack());*/
612
613protected:
617 unsigned _hangTime;
635 bool _scan;
649 bool _power;
661 bool _vox;
670};
671
672
676{
677 Q_OBJECT
678
680 Q_PROPERTY(MonitorType monitorType READ monitorType WRITE setMonitorType)
695 Q_CLASSINFO("powerSaveModeDescription", "Puts the radio into sleep-mode when idle.")
696 Q_CLASSINFO("powerSaveModeLongDescription",
697 "When enabled, the radio enters a sleep mode when idle. That is, when on receive and "
698 "there is no activity on the current channel. However, the radio may need some time "
699 "to wake up from this mode. Hence, the 'wakeupPreamble' need to be enabled by all "
700 "radios in the network to provide this wake-up delay.")
702 Q_PROPERTY(bool wakeupPreamble READ wakeupPreamble WRITE enableWakeupPreamble)
703 Q_CLASSINFO("wakeupPreambleDescription", "If enabled, the radio will transmit a short wake-up "
704 "preamble before each call.")
706 Q_PROPERTY(bool bootPicture READ bootPicture WRITE enableBootPicture)
708 Q_PROPERTY(bool channelMode READ channelMode WRITE enableChannelMode)
710 Q_PROPERTY(bool channelModeA READ channelModeA WRITE enableChannelModeA)
712 Q_PROPERTY(bool channelModeB READ channelModeB WRITE enableChannelModeB)
740 Q_PROPERTY(unsigned keypadLockTime READ keypadLockTime WRITE setKeypadLockTime)
744 Q_PROPERTY(unsigned powerOnPassword READ powerOnPassword WRITE setPowerOnPassword)
750 Q_PROPERTY(QString pcProgPassword READ pcProgPassword WRITE setPCProgPassword)
756 Q_PROPERTY(unsigned channelHangTime READ channelHangTime WRITE setChannelHangTime)
757
758 Q_CLASSINFO("description", "Settings for MD-390, RT8, MD-UV390, RT3S, MD-2017, RT82.")
759 Q_CLASSINFO("longDescription", "Device specific radio settings for TyT and Retevis devices."
760 "Including TyT MD-390, MD-UV390, MD-2017 as well as Retevis RT8, "
761 "RT3S and RT82.")
762
763public:
765 enum class MonitorType {
766 Silent=0, Open=1
767 };
768 Q_ENUM(MonitorType)
769
770public:
772 Q_INVOKABLE explicit TyTSettingsExtension(QObject *parent=nullptr);
773
774 ConfigItem *clone() const;
775
777 MonitorType monitorType() const;
779 void setMonitorType(MonitorType type);
780
782 bool allLEDsDisabled() const;
784 void disableAllLEDs(bool disable);
785
787 bool talkPermitToneDigital() const;
789 void enableTalkPermitToneDigital(bool enable);
790
792 bool talkPermitToneAnalog() const;
794 void enableTalkPermitToneAnalog(bool enable);
795
797 bool passwordAndLock() const;
799 void enablePasswordAndLock(bool enable);
800
802 bool channelFreeIndicationTone() const;
804 void enableChannelFreeIndicationTone(bool enable);
805
807 bool allTonesDisabled() const;
809 void disableAllTones(bool disable);
810
812 bool powerSaveMode() const;
814 void enablePowerSaveMode(bool enable);
815
817 bool wakeupPreamble() const;
819 void enableWakeupPreamble(bool enable);
820
822 bool bootPicture() const;
824 void enableBootPicture(bool enable);
825
827 bool channelMode() const;
829 void enableChannelMode(bool enable);
831 bool channelModeA() const;
833 void enableChannelModeA(bool enable);
835 bool channelModeB() const;
837 void enableChannelModeB(bool enable);
838
840 unsigned txPreambleDuration() const;
842 void setTXPreambleDuration(unsigned ms);
843
845 unsigned groupCallHangTime() const;
847 void setGroupCallHangTime(unsigned ms);
848
850 unsigned privateCallHangTime() const;
852 void setPrivateCallHangTime(unsigned ms);
853
855 unsigned lowBatteryWarnInterval() const;
857 void setLowBatteryWarnInterval(unsigned sec);
858
860 bool callAlertToneContinuous() const;
862 void enableCallAlertToneContinuous(bool enable);
864 unsigned callAlertToneDuration() const;
866 void setCallAlertToneDuration(unsigned sec);
867
869 unsigned loneWorkerResponseTime() const;
871 void setLoneWorkerResponseTime(unsigned min);
872
874 unsigned loneWorkerReminderTime() const;
876 void setLoneWorkerReminderTime(unsigned sec);
877
879 unsigned digitalScanHangTime() const;
881 void setDigitalScanHangTime(unsigned ms);
882
884 unsigned analogScanHangTime() const;
886 void setAnalogScanHangTime(unsigned ms);
887
889 bool backlightAlwaysOn() const;
891 void enableBacklightAlwaysOn(bool enable);
893 unsigned backlightDuration() const;
895 void setBacklightDuration(unsigned sec);
896
898 bool keypadLockManual() const;
900 void enableKeypadLockManual(bool enable);
902 unsigned keypadLockTime() const;
904 void setKeypadLockTime(unsigned sec);
905
907 bool powerOnPasswordEnabled() const;
909 void enablePowerOnPassword(bool enable);
911 unsigned powerOnPassword() const;
913 void setPowerOnPassword(unsigned passwd);
914
916 bool radioProgPasswordEnabled() const;
918 void enableRadioProgPassword(bool enable);
920 unsigned radioProgPassword() const;
922 void setRadioProgPassword(unsigned passwd);
923
925 const QString &pcProgPassword() const;
927 void setPCProgPassword(const QString &passwd);
928
930 bool privateCallMatch() const;
932 void enablePrivateCallMatch(bool enable);
934 bool groupCallMatch() const;
936 void enableGroupCallMatch(bool enable);
937
939 unsigned channelHangTime() const;
941 void setChannelHangTime(unsigned ms);
942
943public:
944 /*ConfigItem *allocateChild(QMetaProperty &prop, const YAML::Node &node,
945 const Context &ctx, const ErrorStack &err=ErrorStack());*/
946protected:
948 MonitorType _monitorType;
1017};
1018
1019
1023{
1024 Q_OBJECT
1025
1030
1031public:
1033 Q_INVOKABLE explicit TyTConfigExtension(QObject *parent=nullptr);
1034
1035 ConfigItem *clone() const;
1036
1039
1042
1043public:
1044 /*ConfigItem *allocateChild(QMetaProperty &prop, const YAML::Node &node,
1045 const Context &ctx, const ErrorStack &err=ErrorStack());*/
1046
1047protected:
1052};
1053
1054#endif // TYTBUTTONSETTINGSEXTENSION_HH
ConfigExtension(QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:1111
Base class for all configuration objects (channels, zones, contacts, etc).
Definition configobject.hh:40
ConfigItem(QObject *parent=nullptr)
Hidden constructor.
Definition configobject.cc:133
Represents the TyT button settings extension.
Definition tyt_extensions.hh:252
ButtonAction sideButton2Long
The action to perform on a long press on side button 2.
Definition tyt_extensions.hh:262
unsigned _longPressDuration
Holds the long-press duration in ms.
Definition tyt_extensions.hh:396
void setProgButton2Long(ButtonAction action)
Sets the action for the programmable button 2 long-press (Baofeng DM-1701).
Definition tyt_extensions.cc:450
void setProgButton2Short(ButtonAction action)
Sets the action for the programmable button 2 short-press (Baofeng DM-1701).
Definition tyt_extensions.cc:438
unsigned longPressDuration
The duration of a long press in msec.
Definition tyt_extensions.hh:277
void setSideButton1Long(ButtonAction action)
Sets the action for the side button 1 long-press.
Definition tyt_extensions.cc:354
ButtonAction _sideButton2Short
Holds the side button 2 short-press action.
Definition tyt_extensions.hh:379
void setLongPressDuration(unsigned dur)
Sets the long-press duration in msec.
Definition tyt_extensions.cc:462
void setSideButton3Short(ButtonAction action)
Sets the action for the side button 3 short-press (Baofeng DM-1701).
Definition tyt_extensions.cc:390
ButtonAction _progButton1Long
Holds the prog button 1 long-press action.
Definition tyt_extensions.hh:389
ButtonAction progButton2Long
The action to perform on a long press on programmable button 2.
Definition tyt_extensions.hh:274
void setSideButton2Long(ButtonAction action)
Sets the action for the side button 2 long-press.
Definition tyt_extensions.cc:378
void setSideButton2Short(ButtonAction action)
Sets the action for the side button 2 short-press.
Definition tyt_extensions.cc:366
ButtonAction progButton1Long
The action to perform on a long press on programmable button 1.
Definition tyt_extensions.hh:270
ButtonAction sideButton2Short
The action to perform on a short press on side button 2.
Definition tyt_extensions.hh:260
ButtonAction _progButton1Short
Holds the prog button 1 short-press action.
Definition tyt_extensions.hh:387
void setSideButton1Short(ButtonAction action)
Sets the action for the side button 1 short-press.
Definition tyt_extensions.cc:342
ButtonAction sideButton3Long
The action to perform on a long press on side button 3.
Definition tyt_extensions.hh:266
ButtonAction sideButton1Short
The action to perform on a short press on side button 1.
Definition tyt_extensions.hh:256
ButtonAction _sideButton3Short
Holds the side button 3 short-press action.
Definition tyt_extensions.hh:383
ButtonAction _progButton2Short
Holds the prog button 2 short-press action.
Definition tyt_extensions.hh:391
ButtonAction _sideButton1Long
Holds the side button 1 long-press action.
Definition tyt_extensions.hh:377
ButtonAction _sideButton1Short
Holds the side button 1 short-press action.
Definition tyt_extensions.hh:375
void setProgButton1Long(ButtonAction action)
Sets the action for the programmable button 1 long-press (Baofeng DM-1701).
Definition tyt_extensions.cc:426
void setSideButton3Long(ButtonAction action)
Sets the action for the side button 3 long-press (Baofeng DM-1701).
Definition tyt_extensions.cc:402
ButtonAction sideButton1Long
The action to perform on a long press on side button 1.
Definition tyt_extensions.hh:258
ButtonAction progButton2Short
The action to perform on a short press on programmable button 2.
Definition tyt_extensions.hh:272
ButtonAction _progButton2Long
Holds the prog button 2 long-press action.
Definition tyt_extensions.hh:393
ButtonAction sideButton3Short
The action to perform on a short press on side button 3.
Definition tyt_extensions.hh:264
ButtonAction _sideButton2Long
Holds the side button 2 long-press action.
Definition tyt_extensions.hh:381
void setProgButton1Short(ButtonAction action)
Sets the action for the programmable button 1 short-press (Baofeng DM-1701).
Definition tyt_extensions.cc:414
ButtonAction
Possible actions for the side-buttons.
Definition tyt_extensions.hh:281
@ Tone1750Hz
Send 1750Hz tone.
Definition tyt_extensions.hh:307
@ PowerSelect
Select TX power.
Definition tyt_extensions.hh:286
@ ScanToggle
Start/stop scan.
Definition tyt_extensions.hh:296
@ OneTouch5
Perform one-touch action 5.
Definition tyt_extensions.hh:293
@ LoneWorkerToggle
Toggle lone-worker.
Definition tyt_extensions.hh:303
@ RightKey
Who knows?
Definition tyt_extensions.hh:309
@ RepeaterTalkaroundToggle
Toggle repater mode / talkaround.
Definition tyt_extensions.hh:295
@ VoxToggle
Enable/disable VOX.
Definition tyt_extensions.hh:299
@ PromiscuousToggle
md380tools: enable/disable promiscuous mode
Definition tyt_extensions.hh:313
@ NuisanceDelete
Nuisance delete.
Definition tyt_extensions.hh:288
@ MonitorToggle
Toggle monitor (promiscuous mode on digital channel, open squelch on analog channel).
Definition tyt_extensions.hh:287
@ ZoneIncrement
Switch to next zone.
Definition tyt_extensions.hh:300
@ SetTalkgroup
md380tools: set temp. TG
Definition tyt_extensions.hh:312
@ OneTouch1
Perform one-touch action 1.
Definition tyt_extensions.hh:289
@ ToggleAllAlertTones
Toggle all alert tones.
Definition tyt_extensions.hh:283
@ OneTouch4
Perform one-touch action 4.
Definition tyt_extensions.hh:292
@ RecordToggle
Enable/disable recording (dep. on firmware).
Definition tyt_extensions.hh:304
@ EmergencyOn
Enable emergency.
Definition tyt_extensions.hh:284
@ RecordPlayback
Start/stop playback.
Definition tyt_extensions.hh:305
@ OneTouch2
Perform one-touch action 2.
Definition tyt_extensions.hh:290
@ BatteryIndicator
Show battery charge.
Definition tyt_extensions.hh:301
@ RecordDeleteAll
Delete all recordings.
Definition tyt_extensions.hh:306
@ OneTouch6
Perform one-touch action 6.
Definition tyt_extensions.hh:294
@ ZoneDecrement
Switch to previous zone.
Definition tyt_extensions.hh:311
@ ManualDialForPrivate
Manual dial for private.
Definition tyt_extensions.hh:302
@ PrivacyToggle
Enable/disable privacy system.
Definition tyt_extensions.hh:298
@ SquelchToggle
Enable/disable squelch.
Definition tyt_extensions.hh:297
@ EmergencyOff
Disable emergency.
Definition tyt_extensions.hh:285
@ LeftKey
Who knows?
Definition tyt_extensions.hh:310
@ OneTouch3
Perform one-touch action 3.
Definition tyt_extensions.hh:291
@ Disabled
Disabled side-button action.
Definition tyt_extensions.hh:282
@ SwitchUpDown
Switch Channel A/B.
Definition tyt_extensions.hh:308
Q_INVOKABLE TyTButtonSettings(QObject *parent=nullptr)
Constructor.
Definition tyt_extensions.cc:311
ButtonAction _sideButton3Long
Holds the side button 3 long-press action.
Definition tyt_extensions.hh:385
ButtonAction progButton1Short
The action to perform on a short press on programmable button 1.
Definition tyt_extensions.hh:268
void setRXRefFrequency(RefFrequency ref)
Sets the reference frequency setting for RX.
Definition tyt_extensions.cc:118
RefFrequency txRefFrequency() const
Returns the reference frequency setting for TX.
Definition tyt_extensions.cc:126
void enableDataCallConfirmed(bool enable)
Enables/disables data-call confirmation.
Definition tyt_extensions.cc:70
void enableDCDMLeader(bool enable)
Enables/disables this radio to be the leader on a DCDM simplex channel.
Definition tyt_extensions.cc:238
bool dcdm() const
Returns true if the DCDM mode is enabled.
Definition tyt_extensions.cc:222
bool dcdmLeader() const
Returns true if this radio is the leader for a DCDM simplex channel.
Definition tyt_extensions.cc:234
void setDMRSquelch(unsigned int sq)
Sets the squelch-level for DMR channels.
Definition tyt_extensions.cc:142
void enableEmergencyAlarmConfirmed(bool enable)
Enables/disables emergency-call confirmation.
Definition tyt_extensions.cc:94
bool reverseBurst() const
Returns true if the reverse burst is enabled.
Definition tyt_extensions.cc:174
void enableTalkaround(bool enable)
Enables/disables the talk-around feature.
Definition tyt_extensions.cc:58
bool _autoScan
Holds the auto-scan flag.
Definition tyt_extensions.hh:171
void setKillTone(KillTone tone)
Sets the kill-tone frequency.
Definition tyt_extensions.cc:190
KillTone killTone() const
Returns the kill tone frequency.
Definition tyt_extensions.cc:186
bool privateCallConfirmed() const
Returns true if private call confirmation is enabled.
Definition tyt_extensions.cc:78
bool _displayPTTId
Holds the display PTT ID flag.
Definition tyt_extensions.hh:181
unsigned int dmrSquelch() const
Squelch level for DMR channels.
Definition tyt_extensions.cc:138
bool _tightSquelch
Holds the tightSquelch flag.
Definition tyt_extensions.hh:189
void enableDisplayPTTId(bool enable)
Enables/disables analog PTT ID display.
Definition tyt_extensions.cc:106
void setInCallCriterion(InCallCriterion crit)
Sets the in-call criterion.
Definition tyt_extensions.cc:202
bool loneWorker() const
Returns true if the lone worker feature is enabled.
Definition tyt_extensions.cc:30
bool emergencyAlarmConfirmed() const
Returns true if emergency calls are confirmed.
Definition tyt_extensions.cc:90
bool _reverseBurst
Holds the reverse burst flag.
Definition tyt_extensions.hh:193
Q_INVOKABLE TyTChannelExtension(QObject *parent=nullptr)
Default constructor.
Definition tyt_extensions.cc:7
bool tightSquelch() const
Returns true if the tight squelch is enabled.
Definition tyt_extensions.cc:150
void enableAutoScan(bool enable)
Enables/disables the auto-scan feature.
Definition tyt_extensions.cc:46
RefFrequency
Possible reference frequency settings for RX & TX.
Definition tyt_extensions.hh:64
bool _talkaround
Holds the talk around flag.
Definition tyt_extensions.hh:173
void enableTightSquelch(bool enable)
Enables/disables the tight squelch.
Definition tyt_extensions.cc:154
bool autoScan() const
Returns true if the auto scan feature is enabled.
Definition tyt_extensions.cc:42
bool _allowInterrupt
Holds the interrupt flag.
Definition tyt_extensions.hh:201
bool talkaround() const
Returns true if the talk around feature is enabled.
Definition tyt_extensions.cc:54
bool _dcdmLeader
Holds the DCDM-leader flag.
Definition tyt_extensions.hh:205
InCallCriterion
Possible in-call criterions.
Definition tyt_extensions.hh:76
ConfigItem * clone() const
Clones this item.
Definition tyt_extensions.cc:19
RefFrequency _rxRefFrequency
Holds the reference frequency setting for RX.
Definition tyt_extensions.hh:183
bool _privateCallConfirmed
Holds the private-call confirmation flag.
Definition tyt_extensions.hh:177
bool displayPTTId() const
Returns true if analog PTT IDs are shown.
Definition tyt_extensions.cc:102
InCallCriterion _inCallCriterion
Holds the in-call criterion.
Definition tyt_extensions.hh:199
void enableLoneWorker(bool enable)
Enables/disables the lone-worker feature.
Definition tyt_extensions.cc:34
void enableAllowInterrupt(bool enable)
Enables/disables interrupt.
Definition tyt_extensions.cc:214
unsigned int _dmrSquelch
The squelch level [0-10] for DMR channels.
Definition tyt_extensions.hh:207
bool compressedUDPHeader() const
Returns true if the compressed UDP header is enabled.
Definition tyt_extensions.cc:162
RefFrequency _txRefFrequency
Holds the reference frequency setting for TX.
Definition tyt_extensions.hh:185
bool _emergencyAlarmConfirmed
Holds the emergency-call confirmation flag.
Definition tyt_extensions.hh:179
void setTXRefFrequency(RefFrequency ref)
Sets the reference frequency setting for TX.
Definition tyt_extensions.cc:130
KillTone _killTone
Holds the kill tone setting.
Definition tyt_extensions.hh:197
bool allowInterrupt() const
Returns true if interrupt is allowed.
Definition tyt_extensions.cc:210
void enableCompressedUDPHeader(bool enable)
Enables/disables the compressed UDP header.
Definition tyt_extensions.cc:166
KillTone
Possible kill-tone settings.
Definition tyt_extensions.hh:70
bool _dataCallConfirmed
Holds the data-call confirmation flag.
Definition tyt_extensions.hh:175
bool dataCallConfirmed() const
Returns true if data call confirmation is enabled.
Definition tyt_extensions.cc:66
bool _loneWorker
Holds the lone-worker flag.
Definition tyt_extensions.hh:169
void enablePrivateCallConfirmed(bool enable)
Enables/disables private-call confirmation.
Definition tyt_extensions.cc:82
InCallCriterion inCallCriterion() const
Returns the in-call criterion.
Definition tyt_extensions.cc:198
void enableDCDM(bool enable)
Enables/disables the DCDM mode.
Definition tyt_extensions.cc:226
bool _compressedUDPHeader
Holds the compressed UDP header flag.
Definition tyt_extensions.hh:191
bool _dcdm
Holds the DCDM flag.
Definition tyt_extensions.hh:203
RefFrequency rxRefFrequency() const
Returns the reference frequency setting for RX.
Definition tyt_extensions.cc:114
void enableReverseBurst(bool enable)
Enables/disables reverse burst.
Definition tyt_extensions.cc:178
TyTButtonSettings * buttonSettings
The button settings for TyT devices.
Definition tyt_extensions.hh:1027
Q_INVOKABLE TyTConfigExtension(QObject *parent=nullptr)
Constructor.
Definition tyt_extensions.cc:1296
TyTButtonSettings * _buttonSettings
Owns the button settings extension.
Definition tyt_extensions.hh:1049
ConfigItem * clone() const
Clones this item.
Definition tyt_extensions.cc:1304
TyTMenuSettings * menuSettings
The menu settings for TyT devices.
Definition tyt_extensions.hh:1029
TyTMenuSettings * _menuSettings
Owns the menu settings extension.
Definition tyt_extensions.hh:1051
Represents the TyT menu settings extension.
Definition tyt_extensions.hh:403
bool _callLogMissed
If true, the list of missed calls is shown.
Definition tyt_extensions.hh:639
void enableScan(bool enable)
Enables/disables the scan menu item.
Definition tyt_extensions.cc:628
bool _talkaround
If true, the talkaround menu item is shown.
Definition tyt_extensions.hh:645
bool contactEditing
If true, the contact editing menu is shown.
Definition tyt_extensions.hh:415
bool _displayMode
If true, the display-mode settings menu item is shown.
Definition tyt_extensions.hh:665
void setHangTime(unsigned sec)
Sets the menu hang time in seconds.
Definition tyt_extensions.cc:519
bool remoteRadioDisable
If true, the remote radio disable menu item is shown.
Definition tyt_extensions.hh:425
bool _remoteMonitor
If true, the remote monitor menu item is shown.
Definition tyt_extensions.hh:629
void enableSquelch(bool enable)
Enables/disables the squelch menu item.
Definition tyt_extensions.cc:772
void enableCallAlert(bool enable)
Enables/disables the call alert menu item.
Definition tyt_extensions.cc:544
bool hangtimeIsInfinite
If true, the menu hang time is infinite.
Definition tyt_extensions.hh:407
bool callLogMissed
If true, the list of missed calls is shown.
Definition tyt_extensions.hh:431
bool _power
If true, the power settings menu item is shown.
Definition tyt_extensions.hh:649
bool radioProgramming
If true, radio programming on the radio is enabled.
Definition tyt_extensions.hh:459
void enableRemoteRadioDisable(bool enable)
Enables/disables the remote radio disable menu item.
Definition tyt_extensions.cc:616
bool _alertTone
If true, the alert-tone menu item is shown.
Definition tyt_extensions.hh:647
void enableBacklight(bool enable)
Enables/disables the backlight menu item.
Definition tyt_extensions.cc:724
bool textMessage
If true, the text message menu is shown.
Definition tyt_extensions.hh:411
bool _callLogOutgoing
If true, the list of outgoing calls is shown.
Definition tyt_extensions.hh:643
bool scanListEditing
If true, the scan list editing is enabled.
Definition tyt_extensions.hh:429
bool _ledIndicator
If true, the LED indicator settings menu item is shown.
Definition tyt_extensions.hh:657
void enableGPSInformation(bool enable)
Enables/disables the GPS information menu item.
Definition tyt_extensions.cc:832
bool _backlight
If true, the backlight menu item is shown.
Definition tyt_extensions.hh:651
bool _textMessage
If true, the text message menu is shown.
Definition tyt_extensions.hh:619
bool _gpsInformation
If true, the positioning settings menu item is shown.
Definition tyt_extensions.hh:669
bool talkaround
If true, the talkaround menu item is shown.
Definition tyt_extensions.hh:437
Q_INVOKABLE TyTMenuSettings(QObject *parent=nullptr)
Constructor.
Definition tyt_extensions.cc:470
bool scan
If true, the scan menu item is shown.
Definition tyt_extensions.hh:427
bool displayMode
If true, the display-mode settings menu item is shown.
Definition tyt_extensions.hh:457
void enablePassword(bool enable)
Enables/disables the password menu item.
Definition tyt_extensions.cc:796
unsigned _hangTime
The menu hang time in seconds.
Definition tyt_extensions.hh:617
void enableRemoteRadioCheck(bool enable)
Enables/disables the remote radio check menu item.
Definition tyt_extensions.cc:580
void enableCallLogOutgoing(bool enable)
Enables/disables the list of outgoing calls menu item.
Definition tyt_extensions.cc:676
bool _bootScreen
If true, the boot-screen settings menu item is shown.
Definition tyt_extensions.hh:653
bool _scanListEditing
If true, the scan list editing is enabled.
Definition tyt_extensions.hh:637
void enableBootScreen(bool enable)
Enables/disables the boot screen menu item.
Definition tyt_extensions.cc:736
bool _contactEditing
If true, the contact editing menu is shown.
Definition tyt_extensions.hh:623
bool _password
If true, the password menu item is shown.
Definition tyt_extensions.hh:663
bool ledIndicator
If true, the LED indicator settings menu item is shown.
Definition tyt_extensions.hh:449
void enableAlertTone(bool enable)
Enables/disables the alert tone menu item.
Definition tyt_extensions.cc:700
bool password
If true, the password menu item is shown.
Definition tyt_extensions.hh:455
bool gpsInformation
If true, the positioning settings menu item is shown.
Definition tyt_extensions.hh:461
bool remoteMonitor
If true, the remote monitor menu item is shown.
Definition tyt_extensions.hh:421
bool _scan
If true, the scan menu item is shown.
Definition tyt_extensions.hh:635
bool _callAlert
If true, the call-alert menu item is shown.
Definition tyt_extensions.hh:621
bool _squelch
If true, the squelch settings menu item is shown.
Definition tyt_extensions.hh:659
bool remoteRadioCheck
If true, the remote radio check menu item is shown.
Definition tyt_extensions.hh:419
bool _manualDial
If true, the manual dial menu item is shown.
Definition tyt_extensions.hh:625
bool vox
If true, the VOX settings menu item is shown.
Definition tyt_extensions.hh:453
bool keypadLock
If true, the keypad-lock settings menu item is shown.
Definition tyt_extensions.hh:447
void enableTalkaround(bool enable)
Enables/disables the talkaround menu item.
Definition tyt_extensions.cc:688
bool bootScreen
If true, the boot-screen settings menu item is shown.
Definition tyt_extensions.hh:445
void enableScanListEditing(bool enable)
Enables/disables the scan list editing menu item.
Definition tyt_extensions.cc:640
bool callLogAnswered
If true, the list of answered calls is shown.
Definition tyt_extensions.hh:433
void enableCallLogAnswered(bool enable)
Enables/disables the list of answered calls menu item.
Definition tyt_extensions.cc:664
bool alertTone
If true, the alert-tone menu item is shown.
Definition tyt_extensions.hh:439
void enableLEDIndicator(bool enable)
Enables/disables the LED indicator menu item.
Definition tyt_extensions.cc:760
void enableCallLogMissed(bool enable)
Enables/disables the list of missed calls menu item.
Definition tyt_extensions.cc:652
void enableRemoteRadioEnable(bool enable)
Enables/disables the remote radio enable menu item.
Definition tyt_extensions.cc:604
void enableKeypadLock(bool enable)
Enables/disables the keypad lock menu item.
Definition tyt_extensions.cc:748
bool power
If true, the power settings menu item is shown.
Definition tyt_extensions.hh:441
bool _remoteRadioCheck
If true, the remote radio check menu item is shown.
Definition tyt_extensions.hh:627
void enableDisplayMode(bool enable)
Enables/disables the display mode menu item.
Definition tyt_extensions.cc:808
void enableManualDial(bool enable)
Enables/disables the manual dial menu item.
Definition tyt_extensions.cc:568
bool backlight
If true, the backlight menu item is shown.
Definition tyt_extensions.hh:443
bool callLogOutgoing
If true, the list of outgoing calls is shown.
Definition tyt_extensions.hh:435
void enableVOX(bool enable)
Enables/disables the VOX menu item.
Definition tyt_extensions.cc:784
void setHangtimeInfinite(bool infinite)
Enables/disables infinite hang time.
Definition tyt_extensions.cc:504
bool _callLogAnswered
If true, the list of answered calls is shown.
Definition tyt_extensions.hh:641
bool manualDial
If true, the manual dial menu item is shown.
Definition tyt_extensions.hh:417
void enableContactEditing(bool enable)
Enables/disables contact editing.
Definition tyt_extensions.cc:556
void enablePower(bool enable)
Enables/disables the power menu item.
Definition tyt_extensions.cc:712
bool _keypadLock
If true, the keypad-lock settings menu item is shown.
Definition tyt_extensions.hh:655
bool _radioProgramming
If true, radio programming on the radio is enabled.
Definition tyt_extensions.hh:667
void enableRadioProgramming(bool enable)
Enables/disables the radio programming menu item.
Definition tyt_extensions.cc:820
bool _remoteRadioEnable
If true, the remote radio enable menu item is shown.
Definition tyt_extensions.hh:631
bool remoteRadioEnable
If true, the remote radio enable menu item is shown.
Definition tyt_extensions.hh:423
bool squelch
If true, the squelch settings menu item is shown.
Definition tyt_extensions.hh:451
bool _vox
If true, the VOX settings menu item is shown.
Definition tyt_extensions.hh:661
bool callAlert
If true, the call-alert menu item is shown.
Definition tyt_extensions.hh:413
void enableRemoteMonitor(bool enable)
Enables/disables the remote monitor menu item.
Definition tyt_extensions.cc:592
bool _inifiniteHangTime
If true, the menu hang time is infinite.
Definition tyt_extensions.hh:615
void enableTextMessage(bool enable)
Enables/disables the text message menu item.
Definition tyt_extensions.cc:532
unsigned hangTime
The menu hang time in seconds.
Definition tyt_extensions.hh:409
ConfigItem * clone() const
Clones this item.
Definition tyt_extensions.cc:483
bool _remoteRadioDisable
If true, the remote radio disable menu item is shown.
Definition tyt_extensions.hh:633
unsigned _prioritySampleTime
The sample time for priority channels in ms.
Definition tyt_extensions.hh:245
Q_INVOKABLE TyTScanListExtension(QObject *parent=nullptr)
Default constructor.
Definition tyt_extensions.cc:258
ConfigItem * clone() const
Clones this item.
Definition tyt_extensions.cc:265
void setHoldTime(unsigned ms)
Sets the hold time im ms.
Definition tyt_extensions.cc:279
unsigned holdTime
Holds the hold time in ms.
Definition tyt_extensions.hh:218
unsigned _holdTime
The hold time in ms.
Definition tyt_extensions.hh:243
unsigned prioritySampleTime
Holds the sample time in ms for priority channels.
Definition tyt_extensions.hh:220
void setPrioritySampleTime(unsigned ms)
Sets the sample time for priority channels in ms.
Definition tyt_extensions.cc:291
Represents the TyT general settings extension.
Definition tyt_extensions.hh:676
void enableChannelMode(bool enable)
Enables/disables channel mode for the radio.
Definition tyt_extensions.cc:997
bool _privateCallMatch
If true, the private call IDs must match.
Definition tyt_extensions.hh:1012
unsigned radioProgPassword
If radioProgPasswordEnabled is true, specifies the radio programming password.
Definition tyt_extensions.hh:748
unsigned _powerOnPassword
Holds the power-on password.
Definition tyt_extensions.hh:1004
unsigned analogScanHangTime
The analog channel scan hang time in ms.
Definition tyt_extensions.hh:732
bool _channelMode
If true, the radio is in channel (memory) mode.
Definition tyt_extensions.hh:972
bool channelFreeIndicationTone
If true, the channel free tone is enabled.
Definition tyt_extensions.hh:690
unsigned _lowBatteryWarnInterval
Holds the low-battery warn interval.
Definition tyt_extensions.hh:980
unsigned channelHangTime
Holds the channel hang time in ms.
Definition tyt_extensions.hh:756
void setGroupCallHangTime(unsigned ms)
Sets the group-call hang time in ms.
Definition tyt_extensions.cc:1043
unsigned lowBatteryWarnInterval
The low battery warn interval in seconds.
Definition tyt_extensions.hh:720
unsigned _txPreambleDuration
Holds the TX preamble duration.
Definition tyt_extensions.hh:974
void setMonitorType(MonitorType type)
Sets the monitor type.
Definition tyt_extensions.cc:876
void enableBootPicture(bool enable)
Enables the boot picture.
Definition tyt_extensions.cc:984
unsigned _groupCallHangTime
Holds the group-call hang time.
Definition tyt_extensions.hh:976
bool channelModeA
If true or channelMode is true, the VFO A is in channel mode.
Definition tyt_extensions.hh:710
bool channelModeB
If true or channelMode is true, the VFO B is in channel mode.
Definition tyt_extensions.hh:712
void enableRadioProgPassword(bool enable)
Enables the radio programming password.
Definition tyt_extensions.cc:1219
MonitorType monitorType
The monitor type setting.
Definition tyt_extensions.hh:680
void setLowBatteryWarnInterval(unsigned sec)
Sets the low-battery warn interval in seconds.
Definition tyt_extensions.cc:1067
void setRadioProgPassword(unsigned passwd)
Sets the radio programming password.
Definition tyt_extensions.cc:1230
void enableChannelFreeIndicationTone(bool enable)
Enables channel-free indication tone.
Definition tyt_extensions.cc:936
bool _channelModeB
If true or channelMode is true, the VFO B is in channel (memory) mode.
Definition tyt_extensions.hh:970
void setCallAlertToneDuration(unsigned sec)
Sets the call alert-tone duration in seconds.
Definition tyt_extensions.cc:1090
callbool bootPicture
If true, a picture is shown during boot.
Definition tyt_extensions.hh:706
unsigned _backlightDuration
Holds the backlight duration.
Definition tyt_extensions.hh:996
void setPCProgPassword(const QString &passwd)
Sets PC programming password.
Definition tyt_extensions.cc:1242
void setTXPreambleDuration(unsigned ms)
Sets the TX preamble duration in ms.
Definition tyt_extensions.cc:1031
bool allLEDsDisabled
If true, all LEDs are disabled.
Definition tyt_extensions.hh:682
bool radioProgPasswordEnabled
If true the radio programming password is enabled.
Definition tyt_extensions.hh:746
unsigned loneWorkerResponseTime
The lone-worker response time in minutes.
Definition tyt_extensions.hh:726
unsigned callAlertToneDuration
The call alert duration in seconds.
Definition tyt_extensions.hh:724
void enableKeypadLockManual(bool enable)
Sets the keypad lock to manual.
Definition tyt_extensions.cc:1173
bool powerSaveMode
If true, the power save mode is enabled.
Definition tyt_extensions.hh:694
bool powerOnPasswordEnabled
If true the power-on password is enabled.
Definition tyt_extensions.hh:742
bool _powerOnPasswordEnabled
If true, the power-on password is enabled.
Definition tyt_extensions.hh:1002
unsigned txPreambleDuration
The transmit preamble duration in ms.
Definition tyt_extensions.hh:714
bool _allTonesDisabled
If true, all tones are disabled.
Definition tyt_extensions.hh:960
unsigned _digitalScanHangTime
Holds the scan hang-time for digital channels.
Definition tyt_extensions.hh:990
bool backlightAlwaysOn
If true, the backlight is always on.
Definition tyt_extensions.hh:734
unsigned groupCallHangTime
The group hang time in ms.
Definition tyt_extensions.hh:716
bool callAlertToneContinuous
If true, the call alert-tone is continuous.
Definition tyt_extensions.hh:722
QString _pcProgPassword
Holds the PC programming password.
Definition tyt_extensions.hh:1010
unsigned digitalScanHangTime
The digital channel scan hang time in ms.
Definition tyt_extensions.hh:730
void disableAllLEDs(bool disable)
Disables all LEDs.
Definition tyt_extensions.cc:888
bool allTonesDisabled
If true, all tones are disabled.
Definition tyt_extensions.hh:692
void enableWakeupPreamble(bool enable)
Enables transmission of wakeup preamble.
Definition tyt_extensions.cc:972
unsigned backlightDuration
If backlightAlwaysOn is false, specifies the backlight duration in seconds.
Definition tyt_extensions.hh:736
bool talkPermitToneDigital
If true, the talk permit tone for digital channels is enabled.
Definition tyt_extensions.hh:684
void enableChannelModeA(bool enable)
Enables/disables channel mode for the VFO A.
Definition tyt_extensions.cc:1008
void setPrivateCallHangTime(unsigned ms)
Sets the private-call hang time in ms.
Definition tyt_extensions.cc:1055
bool talkPermitToneAnalog
If true, the talk permit tone for analog channels is enabled.
Definition tyt_extensions.hh:686
bool passwordAndLock
If true, the password and lock is enabled.
Definition tyt_extensions.hh:688
void setLoneWorkerReminderTime(unsigned sec)
Sets the lone-worker reminder timer in seconds.
Definition tyt_extensions.cc:1114
unsigned _privateCallHangTime
Holds the private-call hang time.
Definition tyt_extensions.hh:978
unsigned privateCallHangTime
The private hang time in ms.
Definition tyt_extensions.hh:718
unsigned powerOnPassword
If powerOnPasswordEnabled is true, specifies the power-on password.
Definition tyt_extensions.hh:744
bool _channelModeA
If true or channelMode is true, the VFO A is in channel (memory) mode.
Definition tyt_extensions.hh:968
unsigned keypadLockTime
If keypadLockManual is false, specifies the keypad lock time.
Definition tyt_extensions.hh:740
bool _channelFreeIndicationTone
If true, the channel free indication tone is enabled.
Definition tyt_extensions.hh:958
unsigned _loneWorkerReminderTime
Holds the lone-worker reminder time.
Definition tyt_extensions.hh:988
Q_INVOKABLE TyTSettingsExtension(QObject *parent=nullptr)
Possible monitor types.
Definition tyt_extensions.cc:843
bool _talkPermitToneDigital
If true the talk-permit tone is enabled for digital channels.
Definition tyt_extensions.hh:952
void setKeypadLockTime(unsigned sec)
Sets the keypad lock time in seconds.
Definition tyt_extensions.cc:1184
bool _wakeupPreamble
If true, the wake-up preamble is sent.
Definition tyt_extensions.hh:964
bool _groupCallMatch
If true, the group call IDs must match.
Definition tyt_extensions.hh:1014
void enablePowerSaveMode(bool enable)
Enables the power save mode.
Definition tyt_extensions.cc:960
bool _radioProgPasswordEnabled
If true, the radio programming password is enabled.
Definition tyt_extensions.hh:1006
void enableTalkPermitToneDigital(bool enable)
Enables the talk permit tone for digital channels.
Definition tyt_extensions.cc:900
void enableChannelModeB(bool enable)
Enables/disables channel mode for the VFO B.
Definition tyt_extensions.cc:1019
bool keypadLockManual
If true, the keypad is locked manually.
Definition tyt_extensions.hh:738
unsigned _analogScanHangTime
Holds the scan hang-time for analog channels.
Definition tyt_extensions.hh:992
void enableTalkPermitToneAnalog(bool enable)
Enables the talk permit tone for analog channels.
Definition tyt_extensions.cc:912
unsigned _keypadLockTime
Holds the keypad lock time.
Definition tyt_extensions.hh:1000
unsigned loneWorkerReminderTime
The lone-worker reminder time in seconds.
Definition tyt_extensions.hh:728
bool wakeupPreamble() const
Returns true if the wake-up preamble is sent.
Definition tyt_extensions.cc:968
void setChannelHangTime(unsigned ms)
Sets the channel hang time in ms.
Definition tyt_extensions.cc:1278
bool _powerSaveMode
If true, the power save mode is enabled.
Definition tyt_extensions.hh:962
bool _talkPermitToneAnalog
If true the talk-permit tone is enabled for analog channels.
Definition tyt_extensions.hh:954
bool _passwdAndLock
If true the password and lock is enabled.
Definition tyt_extensions.hh:956
void enableBacklightAlwaysOn(bool enable)
Enables the backlight continuously.
Definition tyt_extensions.cc:1150
void enablePrivateCallMatch(bool enable)
Enables/disables private call match.
Definition tyt_extensions.cc:1254
void enableGroupCallMatch(bool enable)
Enables/disables group call match.
Definition tyt_extensions.cc:1266
bool _keypadLockManual
If true, the keypad lock is manual.
Definition tyt_extensions.hh:998
unsigned _callAlertToneDuration
Holds the call alert-tone duration.
Definition tyt_extensions.hh:984
void setAnalogScanHangTime(unsigned ms)
Sets the scan hang-time for analog channels.
Definition tyt_extensions.cc:1138
void setDigitalScanHangTime(unsigned ms)
Sets the scan hang-time for digital channels.
Definition tyt_extensions.cc:1126
void enablePasswordAndLock(bool enable)
Enables the password and lock.
Definition tyt_extensions.cc:924
bool _callAlertToneContinuous
If true, the call alert-tone is continuous.
Definition tyt_extensions.hh:982
MonitorType _monitorType
Holds the monitor type.
Definition tyt_extensions.hh:948
void enableCallAlertToneContinuous(bool enable)
Sets the call alert-tone continuous.
Definition tyt_extensions.cc:1079
bool privateCallMatch
If true, the private call IDs must match.
Definition tyt_extensions.hh:752
bool _allLEDsDisabled
If true all LEDs are disabled.
Definition tyt_extensions.hh:950
void enablePowerOnPassword(bool enable)
Enables the power on password.
Definition tyt_extensions.cc:1196
void setPowerOnPassword(unsigned passwd)
Sets the power-on password.
Definition tyt_extensions.cc:1207
unsigned _channelHangTime
Holds the channel hang time in ms.
Definition tyt_extensions.hh:1016
void setBacklightDuration(unsigned sec)
Sets the backlight duration in seconds.
Definition tyt_extensions.cc:1161
bool _backlightAlwaysOn
If true, the backlight is always on.
Definition tyt_extensions.hh:994
bool channelMode
If true, the radio is in channel mode.
Definition tyt_extensions.hh:708
unsigned _radioProgPassword
Holds the radio programming password.
Definition tyt_extensions.hh:1008
bool _bootPicture
If true the boot picture is enabled.
Definition tyt_extensions.hh:966
bool groupCallMatch
If true, the group call IDs must match.
Definition tyt_extensions.hh:754
unsigned _loneWorkerResponseTime
Holds the lone-worker response time.
Definition tyt_extensions.hh:986
QString pcProgPassword
Specifies the PC programming password.
Definition tyt_extensions.hh:750
void setLoneWorkerResponseTime(unsigned min)
Sets the lone-worker response time in minutes.
Definition tyt_extensions.cc:1102
void disableAllTones(bool disable)
Disables all tones.
Definition tyt_extensions.cc:948