2021-03-31 06:37:35 +00:00
|
|
|
#ifndef REPEATERATTRIBUTES_H
|
|
|
|
#define REPEATERATTRIBUTES_H
|
2021-04-01 22:28:09 +00:00
|
|
|
#include <QMetaType>
|
2021-03-31 06:37:35 +00:00
|
|
|
|
|
|
|
enum duplexMode {
|
|
|
|
dmSplitOff=0x00,
|
|
|
|
dmSplitOn=0x01,
|
|
|
|
dmSimplex=0x10,
|
|
|
|
dmDupMinus=0x11,
|
|
|
|
dmDupPlus=0x12,
|
|
|
|
dmDupRPS=0x13,
|
|
|
|
dmDupAutoOn=0x26,
|
|
|
|
dmDupAutoOff=0x36
|
|
|
|
};
|
|
|
|
|
2021-04-03 08:26:28 +00:00
|
|
|
// Here, T=tone, D=DCS, N=none
|
|
|
|
// And the naming convention order is Transmit Receive
|
|
|
|
enum rptAccessTxRx {
|
2021-04-03 08:50:07 +00:00
|
|
|
ratrNN=0x00,
|
2021-04-03 08:26:28 +00:00
|
|
|
ratrTN=0x01, // "TONE" (T only)
|
|
|
|
ratrNT=0x02, // "TSQL" (R only)
|
|
|
|
ratrDD=0x03, // "DTCS" (TR)
|
|
|
|
ratrDN=0x06, // "DTCS(T)"
|
|
|
|
ratrTD=0x07, // "TONE(T) / TSQL(R)"
|
|
|
|
ratrDT=0x08, // "DTCS(T) / TSQL(R)"
|
|
|
|
ratrTT=0x09 // "TONE(T) / TSQL(R)"
|
|
|
|
};
|
|
|
|
|
2021-04-01 22:28:09 +00:00
|
|
|
Q_DECLARE_METATYPE(enum duplexMode)
|
2021-04-04 07:36:21 +00:00
|
|
|
Q_DECLARE_METATYPE(enum rptAccessTxRx)
|
2021-04-01 22:28:09 +00:00
|
|
|
|
2021-03-31 06:37:35 +00:00
|
|
|
#endif // REPEATERATTRIBUTES_H
|