summaryrefslogtreecommitdiff
path: root/Transceiver/Transceiver.cpp
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /Transceiver/Transceiver.cpp
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'Transceiver/Transceiver.cpp')
-rw-r--r--Transceiver/Transceiver.cpp26
1 files changed, 12 insertions, 14 deletions
diff --git a/Transceiver/Transceiver.cpp b/Transceiver/Transceiver.cpp
index c6dea805..ac85318e 100644
--- a/Transceiver/Transceiver.cpp
+++ b/Transceiver/Transceiver.cpp
@@ -24,13 +24,13 @@ QDebug operator << (QDebug d, Transceiver::TransceiverState const& s)
<< "; QUICK: " << (s.quick_ ? "on" : "off")
<< "; PERIOD: " << s.period_ << "sec."
<< "; BLOCKSIZE: " << s.blocksize_
- << "; SYMBOLSLENGTH: " << s.symbolslength_
- << "; FRAMESPERSYMBOL: " << s.framespersymbol_
- << "; TRFREQUENCY: " << s.trfrequency_ << "Hz"
- << "; TONESPACING: " << s.tonespacing_
- << "; SYNCHRONIZE: " << (s.synchronize_ ? "on" : "off")
- << "; DBSNR: " << s.dbsnr_
- << "; TRPERIOD: " << s.trperiod_ << "sec."
+ << "; SYMBOLSLENGTH: " << s.tx_request_.symbols_length
+ << "; FRAMESPERSYMBOL: " << s.tx_request_.frames_per_symbol
+ << "; TRFREQUENCY: " << s.tx_request_.frequency_hz << "Hz"
+ << "; TONESPACING: " << s.tx_request_.tone_spacing
+ << "; SYNCHRONIZE: " << (s.tx_request_.synchronize ? "on" : "off")
+ << "; DBSNR: " << s.tx_request_.snr_db
+ << "; TRPERIOD: " << s.tx_request_.tr_period_s << "sec."
<< "; SPREAD: " << s.spread_
<< "; NSYM: " << s.nsym_
<< "; VOLUME: " << s.volume_
@@ -38,6 +38,8 @@ QDebug operator << (QDebug d, Transceiver::TransceiverState const& s)
<< "; LEVEL: " << s.level_ << "dBm"
<< "; POWER: " << s.power_ << "mWatts"
<< "; SWR: " << s.swr_
+ << "; TX_SESSION: " << s.tx_request_.session_id.value ()
+ << "; TX_GENERATION: " << s.tx_request_.generation.value ()
<< ")\n";
return d.space ();
}
@@ -59,6 +61,8 @@ std::ostream& operator << (std::ostream& os, Transceiver::TransceiverState const
<< "; POWER: " << s.power_ << "mWatts"
<< "; SWR: " << s.swr_
<< "; TUNE: " << s.tune_
+ << "; TX_SESSION: " << s.tx_request_.session_id.value ()
+ << "; TX_GENERATION: " << s.tx_request_.generation.value ()
<< ")\n";
}
@@ -80,13 +84,7 @@ bool operator != (Transceiver::TransceiverState const& lhs, Transceiver::Transce
|| lhs.quick_ != rhs.quick_
|| lhs.period_ != rhs.period_
|| lhs.blocksize_ != rhs.blocksize_
- || lhs.symbolslength_ != rhs.symbolslength_
- || lhs.framespersymbol_ != rhs.framespersymbol_
- || lhs.trfrequency_ != rhs.trfrequency_
- || lhs.tonespacing_ != rhs.tonespacing_
- || lhs.synchronize_ != rhs.synchronize_
- || lhs.dbsnr_ != rhs.dbsnr_
- || lhs.trperiod_ != rhs.trperiod_
+ || lhs.tx_request_ != rhs.tx_request_
|| lhs.spread_ != rhs.spread_
|| lhs.nsym_ != rhs.nsym_
|| lhs.volume_ != rhs.volume_