Add Symbol= option to [APRS] stanza in config, to allow user to define APRS symbol. Backward-compat., and will default to the standard D& symbol (diamond with "D" overlay) if Symbol= is not defined.

This commit is contained in:
Chipster
2023-02-12 19:27:45 -06:00
parent 71b42aad36
commit 508692a554
6 changed files with 26 additions and 7 deletions

View File

@@ -2528,8 +2528,9 @@ void CDMRGateway::createAPRS()
m_writer = new CAPRSWriter(m_callsign, suffix, address, port, debug);
std::string desc = m_conf.getAPRSDescription();
std::string symbol = m_conf.getAPRSSymbol();
m_writer->setInfo(m_txFrequency, m_rxFrequency, desc);
m_writer->setInfo(m_txFrequency, m_rxFrequency, desc, symbol);
float latitude = m_conf.getInfoLatitude();
float longitude = m_conf.getInfoLongitude();