2016-01-14 18:45:04 +00:00
|
|
|
/*
|
2019-01-07 11:03:37 +00:00
|
|
|
* Copyright (C) 2015-2019 by Jonathan Naylor G4KLX
|
2016-01-14 18:45:04 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if !defined(CONF_H)
|
|
|
|
#define CONF_H
|
|
|
|
|
|
|
|
#include <string>
|
2016-04-04 18:03:38 +00:00
|
|
|
#include <vector>
|
2016-01-14 18:45:04 +00:00
|
|
|
|
|
|
|
class CConf
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CConf(const std::string& file);
|
|
|
|
~CConf();
|
|
|
|
|
|
|
|
bool read();
|
|
|
|
|
|
|
|
// The General section
|
|
|
|
std::string getCallsign() const;
|
2017-08-19 15:23:37 +00:00
|
|
|
unsigned int getId() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
unsigned int getTimeout() const;
|
|
|
|
bool getDuplex() const;
|
|
|
|
std::string getDisplay() const;
|
2016-05-03 22:01:49 +00:00
|
|
|
bool getDaemon() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
|
|
|
// The Info section
|
2017-08-20 11:07:57 +00:00
|
|
|
unsigned int getRXFrequency() const;
|
|
|
|
unsigned int getTXFrequency() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
unsigned int getPower() const;
|
|
|
|
float getLatitude() const;
|
|
|
|
float getLongitude() const;
|
|
|
|
int getHeight() const;
|
|
|
|
std::string getLocation() const;
|
|
|
|
std::string getDescription() const;
|
|
|
|
std::string getURL() const;
|
|
|
|
|
|
|
|
// The Log section
|
2016-03-07 18:42:05 +00:00
|
|
|
unsigned int getLogDisplayLevel() const;
|
|
|
|
unsigned int getLogFileLevel() const;
|
|
|
|
std::string getLogFilePath() const;
|
|
|
|
std::string getLogFileRoot() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
2016-05-09 20:55:44 +00:00
|
|
|
// The CW ID section
|
|
|
|
bool getCWIdEnabled() const;
|
|
|
|
unsigned int getCWIdTime() const;
|
2017-04-10 16:55:53 +00:00
|
|
|
std::string getCWIdCallsign() const;
|
2016-05-09 20:55:44 +00:00
|
|
|
|
2016-10-10 18:15:30 +00:00
|
|
|
// The DMR Id section
|
|
|
|
std::string getDMRIdLookupFile() const;
|
|
|
|
unsigned int getDMRIdLookupTime() const;
|
|
|
|
|
2018-01-17 21:21:25 +00:00
|
|
|
// The NXDN Id section
|
|
|
|
std::string getNXDNIdLookupFile() const;
|
|
|
|
unsigned int getNXDNIdLookupTime() const;
|
|
|
|
|
2016-01-14 18:45:04 +00:00
|
|
|
// The Modem section
|
|
|
|
std::string getModemPort() const;
|
2018-07-19 13:09:00 +00:00
|
|
|
std::string getModemProtocol() const;
|
|
|
|
unsigned int getModemAddress() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
bool getModemRXInvert() const;
|
|
|
|
bool getModemTXInvert() const;
|
|
|
|
bool getModemPTTInvert() const;
|
|
|
|
unsigned int getModemTXDelay() const;
|
2016-03-17 18:12:14 +00:00
|
|
|
unsigned int getModemDMRDelay() const;
|
2017-08-20 11:07:57 +00:00
|
|
|
int getModemTXOffset() const;
|
|
|
|
int getModemRXOffset() const;
|
2017-10-28 11:37:32 +00:00
|
|
|
int getModemRXDCOffset() const;
|
2017-08-20 11:07:57 +00:00
|
|
|
int getModemTXDCOffset() const;
|
2017-12-30 15:05:11 +00:00
|
|
|
float getModemRFLevel() const;
|
2017-06-02 15:34:55 +00:00
|
|
|
float getModemRXLevel() const;
|
|
|
|
float getModemCWIdTXLevel() const;
|
|
|
|
float getModemDStarTXLevel() const;
|
|
|
|
float getModemDMRTXLevel() const;
|
|
|
|
float getModemYSFTXLevel() const;
|
|
|
|
float getModemP25TXLevel() const;
|
2018-01-11 19:35:33 +00:00
|
|
|
float getModemNXDNTXLevel() const;
|
2018-06-07 17:46:03 +00:00
|
|
|
float getModemPOCSAGTXLevel() const;
|
2016-12-21 19:58:46 +00:00
|
|
|
std::string getModemRSSIMappingFile() const;
|
2017-04-14 13:05:30 +00:00
|
|
|
bool getModemTrace() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
bool getModemDebug() const;
|
|
|
|
|
2018-03-22 07:13:13 +00:00
|
|
|
// The Transparent Data section
|
|
|
|
bool getTransparentEnabled() const;
|
|
|
|
std::string getTransparentRemoteAddress() const;
|
|
|
|
unsigned int getTransparentRemotePort() const;
|
|
|
|
unsigned int getTransparentLocalPort() const;
|
2018-08-13 18:39:16 +00:00
|
|
|
unsigned int getTransparentSendFrameType() const;
|
2018-03-22 07:13:13 +00:00
|
|
|
|
2016-11-03 19:07:44 +00:00
|
|
|
// The UMP section
|
|
|
|
bool getUMPEnabled() const;
|
|
|
|
std::string getUMPPort() const;
|
|
|
|
|
2016-01-14 18:45:04 +00:00
|
|
|
// The D-Star section
|
|
|
|
bool getDStarEnabled() const;
|
|
|
|
std::string getDStarModule() const;
|
2016-04-04 16:40:05 +00:00
|
|
|
bool getDStarSelfOnly() const;
|
2016-04-06 17:46:05 +00:00
|
|
|
std::vector<std::string> getDStarBlackList() const;
|
2017-06-10 12:18:18 +00:00
|
|
|
bool getDStarAckReply() const;
|
2017-06-14 10:54:44 +00:00
|
|
|
unsigned int getDStarAckTime() const;
|
2018-09-14 10:30:48 +00:00
|
|
|
bool getDStarAckMessage() const;
|
2017-02-16 19:49:58 +00:00
|
|
|
bool getDStarErrorReply() const;
|
2017-11-09 09:21:22 +00:00
|
|
|
bool getDStarRemoteGateway() const;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int getDStarModeHang() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
|
|
|
// The DMR section
|
|
|
|
bool getDMREnabled() const;
|
2019-11-05 08:42:21 +00:00
|
|
|
DMR_BEACONS getDMRBeacons() const;
|
2018-01-16 18:35:29 +00:00
|
|
|
unsigned int getDMRBeaconInterval() const;
|
|
|
|
unsigned int getDMRBeaconDuration() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
unsigned int getDMRId() const;
|
|
|
|
unsigned int getDMRColorCode() const;
|
2017-01-16 12:10:23 +00:00
|
|
|
bool getDMREmbeddedLCOnly() const;
|
2017-02-27 20:17:55 +00:00
|
|
|
bool getDMRDumpTAData() const;
|
2016-04-04 16:40:05 +00:00
|
|
|
bool getDMRSelfOnly() const;
|
2016-04-04 18:03:38 +00:00
|
|
|
std::vector<unsigned int> getDMRPrefixes() const;
|
2016-04-06 17:46:05 +00:00
|
|
|
std::vector<unsigned int> getDMRBlackList() const;
|
2016-12-21 19:06:29 +00:00
|
|
|
std::vector<unsigned int> getDMRWhiteList() const;
|
2017-01-05 19:15:10 +00:00
|
|
|
std::vector<unsigned int> getDMRSlot1TGWhiteList() const;
|
|
|
|
std::vector<unsigned int> getDMRSlot2TGWhiteList() const;
|
2016-06-16 20:40:05 +00:00
|
|
|
unsigned int getDMRCallHang() const;
|
2016-05-05 16:56:18 +00:00
|
|
|
unsigned int getDMRTXHang() const;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int getDMRModeHang() const;
|
2019-10-11 17:24:25 +00:00
|
|
|
bool getDMROVCM() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
|
|
|
// The System Fusion section
|
2017-08-13 09:30:02 +00:00
|
|
|
bool getFusionEnabled() const;
|
|
|
|
bool getFusionLowDeviation() const;
|
|
|
|
bool getFusionRemoteGateway() const;
|
2017-08-15 09:11:05 +00:00
|
|
|
bool getFusionSelfOnly() const;
|
2018-05-21 20:32:33 +00:00
|
|
|
unsigned int getFusionTXHang() const;
|
2019-02-12 11:29:05 +00:00
|
|
|
bool getFusionDGIdEnabled() const;
|
|
|
|
unsigned char getFusionDGId() const;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int getFusionModeHang() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
2016-09-08 17:38:59 +00:00
|
|
|
// The P25 section
|
|
|
|
bool getP25Enabled() const;
|
2017-08-19 15:23:37 +00:00
|
|
|
unsigned int getP25Id() const;
|
2016-09-12 22:26:05 +00:00
|
|
|
unsigned int getP25NAC() const;
|
2017-08-15 09:30:05 +00:00
|
|
|
bool getP25SelfOnly() const;
|
2017-09-01 08:25:54 +00:00
|
|
|
bool getP25OverrideUID() const;
|
2017-11-09 09:21:22 +00:00
|
|
|
bool getP25RemoteGateway() const;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int getP25ModeHang() const;
|
2016-09-08 17:38:59 +00:00
|
|
|
|
2018-01-11 19:35:33 +00:00
|
|
|
// The NXDN section
|
|
|
|
bool getNXDNEnabled() const;
|
|
|
|
unsigned int getNXDNId() const;
|
|
|
|
unsigned int getNXDNRAN() const;
|
|
|
|
bool getNXDNSelfOnly() const;
|
|
|
|
bool getNXDNRemoteGateway() const;
|
|
|
|
unsigned int getNXDNModeHang() const;
|
|
|
|
|
2018-06-07 17:46:03 +00:00
|
|
|
// The POCSAG section
|
|
|
|
bool getPOCSAGEnabled() const;
|
2018-06-12 18:40:49 +00:00
|
|
|
unsigned int getPOCSAGFrequency() const;
|
2018-06-07 17:46:03 +00:00
|
|
|
|
2016-01-14 18:45:04 +00:00
|
|
|
// The D-Star Network section
|
|
|
|
bool getDStarNetworkEnabled() const;
|
|
|
|
std::string getDStarGatewayAddress() const;
|
|
|
|
unsigned int getDStarGatewayPort() const;
|
|
|
|
unsigned int getDStarLocalPort() const;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int getDStarNetworkModeHang() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
bool getDStarNetworkDebug() const;
|
|
|
|
|
|
|
|
// The DMR Network section
|
|
|
|
bool getDMRNetworkEnabled() const;
|
|
|
|
std::string getDMRNetworkAddress() const;
|
|
|
|
unsigned int getDMRNetworkPort() const;
|
2016-04-03 18:11:45 +00:00
|
|
|
unsigned int getDMRNetworkLocal() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
std::string getDMRNetworkPassword() const;
|
2016-11-03 19:27:52 +00:00
|
|
|
std::string getDMRNetworkOptions() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
bool getDMRNetworkDebug() const;
|
2016-09-06 18:42:15 +00:00
|
|
|
unsigned int getDMRNetworkJitter() const;
|
2016-02-15 20:36:05 +00:00
|
|
|
bool getDMRNetworkSlot1() const;
|
|
|
|
bool getDMRNetworkSlot2() const;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int getDMRNetworkModeHang() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
|
|
|
// The System Fusion Network section
|
|
|
|
bool getFusionNetworkEnabled() const;
|
2016-06-07 20:17:57 +00:00
|
|
|
std::string getFusionNetworkMyAddress() const;
|
|
|
|
unsigned int getFusionNetworkMyPort() const;
|
2017-11-09 22:17:25 +00:00
|
|
|
std::string getFusionNetworkGatewayAddress() const;
|
|
|
|
unsigned int getFusionNetworkGatewayPort() const;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int getFusionNetworkModeHang() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
bool getFusionNetworkDebug() const;
|
|
|
|
|
2016-09-08 17:38:59 +00:00
|
|
|
// The P25 Network section
|
|
|
|
bool getP25NetworkEnabled() const;
|
|
|
|
std::string getP25GatewayAddress() const;
|
|
|
|
unsigned int getP25GatewayPort() const;
|
|
|
|
unsigned int getP25LocalPort() const;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int getP25NetworkModeHang() const;
|
2016-09-08 17:38:59 +00:00
|
|
|
bool getP25NetworkDebug() const;
|
|
|
|
|
2018-01-15 21:03:34 +00:00
|
|
|
// The NXDN Network section
|
|
|
|
bool getNXDNNetworkEnabled() const;
|
2018-03-12 20:55:53 +00:00
|
|
|
std::string getNXDNGatewayAddress() const;
|
|
|
|
unsigned int getNXDNGatewayPort() const;
|
|
|
|
std::string getNXDNLocalAddress() const;
|
|
|
|
unsigned int getNXDNLocalPort() const;
|
2018-01-15 21:03:34 +00:00
|
|
|
unsigned int getNXDNNetworkModeHang() const;
|
|
|
|
bool getNXDNNetworkDebug() const;
|
|
|
|
|
2018-06-07 17:46:03 +00:00
|
|
|
// The POCSAG Network section
|
|
|
|
bool getPOCSAGNetworkEnabled() const;
|
|
|
|
std::string getPOCSAGGatewayAddress() const;
|
|
|
|
unsigned int getPOCSAGGatewayPort() const;
|
|
|
|
std::string getPOCSAGLocalAddress() const;
|
|
|
|
unsigned int getPOCSAGLocalPort() const;
|
|
|
|
unsigned int getPOCSAGNetworkModeHang() const;
|
|
|
|
bool getPOCSAGNetworkDebug() const;
|
|
|
|
|
2016-01-14 18:45:04 +00:00
|
|
|
// The TFTSERIAL section
|
|
|
|
std::string getTFTSerialPort() const;
|
2016-02-16 18:30:12 +00:00
|
|
|
unsigned int getTFTSerialBrightness() const;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
2016-03-14 22:58:09 +00:00
|
|
|
// The HD44780 section
|
|
|
|
unsigned int getHD44780Rows() const;
|
|
|
|
unsigned int getHD44780Columns() const;
|
2016-04-06 16:43:20 +00:00
|
|
|
std::vector<unsigned int> getHD44780Pins() const;
|
2016-07-03 10:05:52 +00:00
|
|
|
unsigned int getHD44780i2cAddress() const;
|
2016-05-03 16:59:21 +00:00
|
|
|
bool getHD44780PWM() const;
|
2016-05-01 15:59:43 +00:00
|
|
|
unsigned int getHD44780PWMPin() const;
|
|
|
|
unsigned int getHD44780PWMBright() const;
|
|
|
|
unsigned int getHD44780PWMDim() const;
|
2016-06-01 10:55:24 +00:00
|
|
|
bool getHD44780DisplayClock() const;
|
|
|
|
bool getHD44780UTC() const;
|
2016-05-01 15:59:43 +00:00
|
|
|
|
2016-04-06 18:53:25 +00:00
|
|
|
// The Nextion section
|
|
|
|
std::string getNextionPort() const;
|
|
|
|
unsigned int getNextionBrightness() const;
|
2016-06-01 10:55:24 +00:00
|
|
|
bool getNextionDisplayClock() const;
|
|
|
|
bool getNextionUTC() const;
|
2016-06-24 09:33:28 +00:00
|
|
|
unsigned int getNextionIdleBrightness() const;
|
2017-11-13 20:48:47 +00:00
|
|
|
unsigned int getNextionScreenLayout() const;
|
2018-09-05 20:12:12 +00:00
|
|
|
bool getNextionTempInFahrenheit() const;
|
2016-04-06 18:53:25 +00:00
|
|
|
|
2016-05-06 23:03:39 +00:00
|
|
|
// The OLED section
|
|
|
|
unsigned char getOLEDType() const;
|
|
|
|
unsigned char getOLEDBrightness() const;
|
2016-11-03 21:43:29 +00:00
|
|
|
bool getOLEDInvert() const;
|
2017-08-13 09:57:02 +00:00
|
|
|
bool getOLEDScroll() const;
|
2018-10-30 14:30:41 +00:00
|
|
|
bool getOLEDRotate() const;
|
2019-09-27 20:48:57 +00:00
|
|
|
bool getOLEDLogoScreensaver() const;
|
2016-05-06 23:03:39 +00:00
|
|
|
|
2016-10-28 12:22:20 +00:00
|
|
|
// The LCDproc section
|
|
|
|
std::string getLCDprocAddress() const;
|
|
|
|
unsigned int getLCDprocPort() const;
|
|
|
|
unsigned int getLCDprocLocalPort() const;
|
|
|
|
bool getLCDprocDisplayClock() const;
|
|
|
|
bool getLCDprocUTC() const;
|
2016-10-29 19:00:32 +00:00
|
|
|
bool getLCDprocDimOnIdle() const;
|
2016-10-28 12:22:20 +00:00
|
|
|
|
2018-10-10 19:05:24 +00:00
|
|
|
// The Lock File section
|
|
|
|
bool getLockFileEnabled() const;
|
|
|
|
std::string getLockFileName() const;
|
|
|
|
|
2018-11-06 12:14:57 +00:00
|
|
|
// The Mobile GPS section
|
|
|
|
bool getMobileGPSEnabled() const;
|
|
|
|
std::string getMobileGPSAddress() const;
|
|
|
|
unsigned int getMobileGPSPort() const;
|
2018-10-10 19:05:24 +00:00
|
|
|
|
2019-01-07 11:03:37 +00:00
|
|
|
// The Remote Control section
|
|
|
|
bool getRemoteControlEnabled() const;
|
|
|
|
unsigned int getRemoteControlPort() const;
|
|
|
|
|
2016-01-14 18:45:04 +00:00
|
|
|
private:
|
|
|
|
std::string m_file;
|
|
|
|
std::string m_callsign;
|
2017-08-19 19:14:12 +00:00
|
|
|
unsigned int m_id;
|
2016-01-14 18:45:04 +00:00
|
|
|
unsigned int m_timeout;
|
|
|
|
bool m_duplex;
|
|
|
|
std::string m_display;
|
2016-05-03 22:01:49 +00:00
|
|
|
bool m_daemon;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
|
|
|
unsigned int m_rxFrequency;
|
|
|
|
unsigned int m_txFrequency;
|
|
|
|
unsigned int m_power;
|
|
|
|
float m_latitude;
|
|
|
|
float m_longitude;
|
|
|
|
int m_height;
|
|
|
|
std::string m_location;
|
|
|
|
std::string m_description;
|
|
|
|
std::string m_url;
|
|
|
|
|
2016-03-07 18:42:05 +00:00
|
|
|
unsigned int m_logDisplayLevel;
|
|
|
|
unsigned int m_logFileLevel;
|
|
|
|
std::string m_logFilePath;
|
|
|
|
std::string m_logFileRoot;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
2016-05-09 20:55:44 +00:00
|
|
|
bool m_cwIdEnabled;
|
|
|
|
unsigned int m_cwIdTime;
|
2017-04-10 16:55:53 +00:00
|
|
|
std::string m_cwIdCallsign;
|
2016-05-09 20:55:44 +00:00
|
|
|
|
2016-10-10 18:15:30 +00:00
|
|
|
std::string m_dmrIdLookupFile;
|
|
|
|
unsigned int m_dmrIdLookupTime;
|
|
|
|
|
2018-01-17 21:21:25 +00:00
|
|
|
std::string m_nxdnIdLookupFile;
|
|
|
|
unsigned int m_nxdnIdLookupTime;
|
|
|
|
|
2016-01-14 18:45:04 +00:00
|
|
|
std::string m_modemPort;
|
2018-07-19 13:09:00 +00:00
|
|
|
std::string m_modemProtocol;
|
|
|
|
unsigned int m_modemAddress;
|
2016-01-14 18:45:04 +00:00
|
|
|
bool m_modemRXInvert;
|
|
|
|
bool m_modemTXInvert;
|
|
|
|
bool m_modemPTTInvert;
|
|
|
|
unsigned int m_modemTXDelay;
|
2016-03-17 18:12:14 +00:00
|
|
|
unsigned int m_modemDMRDelay;
|
2017-08-20 11:07:57 +00:00
|
|
|
int m_modemTXOffset;
|
|
|
|
int m_modemRXOffset;
|
2017-10-28 11:37:32 +00:00
|
|
|
int m_modemRXDCOffset;
|
2017-08-20 11:07:57 +00:00
|
|
|
int m_modemTXDCOffset;
|
2017-12-30 15:05:11 +00:00
|
|
|
float m_modemRFLevel;
|
2017-06-02 15:34:55 +00:00
|
|
|
float m_modemRXLevel;
|
|
|
|
float m_modemCWIdTXLevel;
|
|
|
|
float m_modemDStarTXLevel;
|
|
|
|
float m_modemDMRTXLevel;
|
|
|
|
float m_modemYSFTXLevel;
|
|
|
|
float m_modemP25TXLevel;
|
2018-01-11 19:35:33 +00:00
|
|
|
float m_modemNXDNTXLevel;
|
2018-06-07 17:46:03 +00:00
|
|
|
float m_modemPOCSAGTXLevel;
|
2016-12-21 19:58:46 +00:00
|
|
|
std::string m_modemRSSIMappingFile;
|
2017-04-14 13:05:30 +00:00
|
|
|
bool m_modemTrace;
|
2016-01-14 18:45:04 +00:00
|
|
|
bool m_modemDebug;
|
|
|
|
|
2018-03-22 07:13:13 +00:00
|
|
|
bool m_transparentEnabled;
|
|
|
|
std::string m_transparentRemoteAddress;
|
|
|
|
unsigned int m_transparentRemotePort;
|
|
|
|
unsigned int m_transparentLocalPort;
|
2018-08-13 18:39:16 +00:00
|
|
|
unsigned int m_transparentSendFrameType;
|
2018-03-22 07:13:13 +00:00
|
|
|
|
2016-11-03 19:07:44 +00:00
|
|
|
bool m_umpEnabled;
|
|
|
|
std::string m_umpPort;
|
|
|
|
|
2016-01-14 18:45:04 +00:00
|
|
|
bool m_dstarEnabled;
|
|
|
|
std::string m_dstarModule;
|
2016-04-04 16:40:05 +00:00
|
|
|
bool m_dstarSelfOnly;
|
2016-04-06 17:46:05 +00:00
|
|
|
std::vector<std::string> m_dstarBlackList;
|
2018-09-14 21:15:50 +00:00
|
|
|
bool m_dstarAckReply;
|
2017-06-14 10:54:44 +00:00
|
|
|
unsigned int m_dstarAckTime;
|
2018-09-14 10:30:48 +00:00
|
|
|
bool m_dstarAckMessage;
|
2017-02-16 19:49:58 +00:00
|
|
|
bool m_dstarErrorReply;
|
2017-11-09 09:21:22 +00:00
|
|
|
bool m_dstarRemoteGateway;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int m_dstarModeHang;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
|
|
|
bool m_dmrEnabled;
|
2019-11-05 11:50:59 +00:00
|
|
|
DMR_BEACONS m_dmrBeacons;
|
2018-01-16 18:35:29 +00:00
|
|
|
unsigned int m_dmrBeaconInterval;
|
|
|
|
unsigned int m_dmrBeaconDuration;
|
2016-01-14 18:45:04 +00:00
|
|
|
unsigned int m_dmrId;
|
|
|
|
unsigned int m_dmrColorCode;
|
2016-04-04 16:40:05 +00:00
|
|
|
bool m_dmrSelfOnly;
|
2017-01-16 12:10:23 +00:00
|
|
|
bool m_dmrEmbeddedLCOnly;
|
2017-02-27 20:17:55 +00:00
|
|
|
bool m_dmrDumpTAData;
|
2016-04-04 18:03:38 +00:00
|
|
|
std::vector<unsigned int> m_dmrPrefixes;
|
2016-04-06 17:46:05 +00:00
|
|
|
std::vector<unsigned int> m_dmrBlackList;
|
2016-12-21 19:06:29 +00:00
|
|
|
std::vector<unsigned int> m_dmrWhiteList;
|
2017-01-05 19:15:10 +00:00
|
|
|
std::vector<unsigned int> m_dmrSlot1TGWhiteList;
|
|
|
|
std::vector<unsigned int> m_dmrSlot2TGWhiteList;
|
2016-06-16 20:40:05 +00:00
|
|
|
unsigned int m_dmrCallHang;
|
2016-05-05 16:56:18 +00:00
|
|
|
unsigned int m_dmrTXHang;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int m_dmrModeHang;
|
2019-10-11 17:24:25 +00:00
|
|
|
bool m_dmrOVCM;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
2017-08-13 09:30:02 +00:00
|
|
|
bool m_fusionEnabled;
|
|
|
|
bool m_fusionLowDeviation;
|
|
|
|
bool m_fusionRemoteGateway;
|
2017-08-15 09:11:05 +00:00
|
|
|
bool m_fusionSelfOnly;
|
2018-05-21 20:32:33 +00:00
|
|
|
unsigned int m_fusionTXHang;
|
2019-02-12 11:29:05 +00:00
|
|
|
bool m_fusionDGIdEnabled;
|
|
|
|
unsigned char m_fusionDGId;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int m_fusionModeHang;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
2016-09-08 17:38:59 +00:00
|
|
|
bool m_p25Enabled;
|
2017-08-19 15:23:37 +00:00
|
|
|
unsigned int m_p25Id;
|
2016-09-12 22:26:05 +00:00
|
|
|
unsigned int m_p25NAC;
|
2017-08-15 09:30:05 +00:00
|
|
|
bool m_p25SelfOnly;
|
2017-09-01 08:25:54 +00:00
|
|
|
bool m_p25OverrideUID;
|
2017-11-09 09:21:22 +00:00
|
|
|
bool m_p25RemoteGateway;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int m_p25ModeHang;
|
2016-09-08 17:38:59 +00:00
|
|
|
|
2018-01-11 19:35:33 +00:00
|
|
|
bool m_nxdnEnabled;
|
|
|
|
unsigned int m_nxdnId;
|
|
|
|
unsigned int m_nxdnRAN;
|
|
|
|
bool m_nxdnSelfOnly;
|
|
|
|
bool m_nxdnRemoteGateway;
|
|
|
|
unsigned int m_nxdnModeHang;
|
|
|
|
|
2018-06-07 17:46:03 +00:00
|
|
|
bool m_pocsagEnabled;
|
2018-06-12 18:40:49 +00:00
|
|
|
unsigned int m_pocsagFrequency;
|
2018-06-07 17:46:03 +00:00
|
|
|
|
2016-01-14 18:45:04 +00:00
|
|
|
bool m_dstarNetworkEnabled;
|
|
|
|
std::string m_dstarGatewayAddress;
|
|
|
|
unsigned int m_dstarGatewayPort;
|
|
|
|
unsigned int m_dstarLocalPort;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int m_dstarNetworkModeHang;
|
2016-01-14 18:45:04 +00:00
|
|
|
bool m_dstarNetworkDebug;
|
|
|
|
|
|
|
|
bool m_dmrNetworkEnabled;
|
|
|
|
std::string m_dmrNetworkAddress;
|
|
|
|
unsigned int m_dmrNetworkPort;
|
2016-04-03 18:11:45 +00:00
|
|
|
unsigned int m_dmrNetworkLocal;
|
2016-01-14 18:45:04 +00:00
|
|
|
std::string m_dmrNetworkPassword;
|
2016-11-03 19:27:52 +00:00
|
|
|
std::string m_dmrNetworkOptions;
|
2016-01-14 18:45:04 +00:00
|
|
|
bool m_dmrNetworkDebug;
|
2016-09-06 18:42:15 +00:00
|
|
|
unsigned int m_dmrNetworkJitter;
|
2016-02-15 20:36:05 +00:00
|
|
|
bool m_dmrNetworkSlot1;
|
|
|
|
bool m_dmrNetworkSlot2;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int m_dmrNetworkModeHang;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
|
|
|
bool m_fusionNetworkEnabled;
|
2016-06-07 20:17:57 +00:00
|
|
|
std::string m_fusionNetworkMyAddress;
|
|
|
|
unsigned int m_fusionNetworkMyPort;
|
2017-11-09 22:17:25 +00:00
|
|
|
std::string m_fusionNetworkGatewayAddress;
|
|
|
|
unsigned int m_fusionNetworkGatewayPort;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int m_fusionNetworkModeHang;
|
2016-01-14 18:45:04 +00:00
|
|
|
bool m_fusionNetworkDebug;
|
|
|
|
|
2016-09-08 17:38:59 +00:00
|
|
|
bool m_p25NetworkEnabled;
|
|
|
|
std::string m_p25GatewayAddress;
|
|
|
|
unsigned int m_p25GatewayPort;
|
|
|
|
unsigned int m_p25LocalPort;
|
2017-09-01 08:25:54 +00:00
|
|
|
unsigned int m_p25NetworkModeHang;
|
2016-09-08 17:38:59 +00:00
|
|
|
bool m_p25NetworkDebug;
|
|
|
|
|
2018-01-15 21:03:34 +00:00
|
|
|
bool m_nxdnNetworkEnabled;
|
2018-03-12 20:55:53 +00:00
|
|
|
std::string m_nxdnGatewayAddress;
|
|
|
|
unsigned int m_nxdnGatewayPort;
|
|
|
|
std::string m_nxdnLocalAddress;
|
|
|
|
unsigned int m_nxdnLocalPort;
|
2018-01-15 21:03:34 +00:00
|
|
|
unsigned int m_nxdnNetworkModeHang;
|
|
|
|
bool m_nxdnNetworkDebug;
|
|
|
|
|
2018-06-07 17:46:03 +00:00
|
|
|
bool m_pocsagNetworkEnabled;
|
|
|
|
std::string m_pocsagGatewayAddress;
|
|
|
|
unsigned int m_pocsagGatewayPort;
|
|
|
|
std::string m_pocsagLocalAddress;
|
|
|
|
unsigned int m_pocsagLocalPort;
|
|
|
|
unsigned int m_pocsagNetworkModeHang;
|
|
|
|
bool m_pocsagNetworkDebug;
|
|
|
|
|
2016-01-14 18:45:04 +00:00
|
|
|
std::string m_tftSerialPort;
|
2016-02-16 18:30:12 +00:00
|
|
|
unsigned int m_tftSerialBrightness;
|
2016-03-14 22:58:09 +00:00
|
|
|
|
|
|
|
unsigned int m_hd44780Rows;
|
|
|
|
unsigned int m_hd44780Columns;
|
2016-04-06 16:43:20 +00:00
|
|
|
std::vector<unsigned int> m_hd44780Pins;
|
2016-07-03 10:05:52 +00:00
|
|
|
unsigned int m_hd44780i2cAddress;
|
2016-05-03 16:59:21 +00:00
|
|
|
bool m_hd44780PWM;
|
2016-05-01 15:59:43 +00:00
|
|
|
unsigned int m_hd44780PWMPin;
|
|
|
|
unsigned int m_hd44780PWMBright;
|
|
|
|
unsigned int m_hd44780PWMDim;
|
2016-06-01 10:55:24 +00:00
|
|
|
bool m_hd44780DisplayClock;
|
|
|
|
bool m_hd44780UTC;
|
2016-05-01 15:59:43 +00:00
|
|
|
|
2016-04-06 18:53:25 +00:00
|
|
|
std::string m_nextionPort;
|
|
|
|
unsigned int m_nextionBrightness;
|
2016-06-01 10:55:24 +00:00
|
|
|
bool m_nextionDisplayClock;
|
|
|
|
bool m_nextionUTC;
|
2016-06-24 09:33:28 +00:00
|
|
|
unsigned int m_nextionIdleBrightness;
|
2017-11-13 20:48:47 +00:00
|
|
|
unsigned int m_nextionScreenLayout;
|
2018-09-05 20:12:12 +00:00
|
|
|
bool m_nextionTempInFahrenheit;
|
|
|
|
|
2016-05-06 23:03:39 +00:00
|
|
|
unsigned char m_oledType;
|
|
|
|
unsigned char m_oledBrightness;
|
2016-11-03 21:43:29 +00:00
|
|
|
bool m_oledInvert;
|
2017-08-13 09:57:02 +00:00
|
|
|
bool m_oledScroll;
|
2018-10-30 14:30:41 +00:00
|
|
|
bool m_oledRotate;
|
2019-09-27 20:48:57 +00:00
|
|
|
bool m_oledLogoScreensaver;
|
2016-10-28 12:22:20 +00:00
|
|
|
|
|
|
|
std::string m_lcdprocAddress;
|
|
|
|
unsigned int m_lcdprocPort;
|
|
|
|
unsigned int m_lcdprocLocalPort;
|
|
|
|
bool m_lcdprocDisplayClock;
|
|
|
|
bool m_lcdprocUTC;
|
2016-10-29 19:00:32 +00:00
|
|
|
bool m_lcdprocDimOnIdle;
|
2018-10-10 19:05:24 +00:00
|
|
|
|
|
|
|
bool m_lockFileEnabled;
|
|
|
|
std::string m_lockFileName;
|
2018-11-06 12:14:57 +00:00
|
|
|
|
|
|
|
bool m_mobileGPSEnabled;
|
|
|
|
std::string m_mobileGPSAddress;
|
|
|
|
unsigned int m_mobileGPSPort;
|
2019-01-07 11:03:37 +00:00
|
|
|
|
|
|
|
bool m_remoteControlEnabled;
|
|
|
|
unsigned int m_remoteControlPort;
|
2016-01-14 18:45:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|