Repository navigation
Conversation
After the ADIF propagation mode, append Satellite, Sat Mode and Rx Frequency so receivers such as MacLoggerDX can read SAT_NAME and split band data by field position. Reuse AdifExporter naming and MHz formatting. Refs #248
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MacLoggerDX (and similar tools) read WSJT-X QSO Logged (type 5) by field position. OscarWatch stopped after the ADIF propagation mode, so satellite name, sat mode, and RX frequency were missing. Loggers then treated the contact like a same-band QSO (for example RX band defaulting to the TX band).
This change appends the three utf8 fields WSJT-X 3.0.0 uses after
PROP_MODE, in the same order:SAT_NAME), viaLotwSatelliteNameMapper.MapForExportwith the same rules as standard ADIF export (not LoTW remap).SAT_MODE): always empty for now becauseQsoRecorddoes not store ADIF sat mode.FREQ_RX, or empty when there is no distinct RX frequency.Type 12 Logged ADIF, the heartbeat, and Close are unchanged.
Type 12 ADIF
AdifExporteralready emitsFREQ_RXandBAND_RXwhen the QSO record has them. FT4, Terminal, and manual logbook saves populateFreqRxHzandBandRxfrom the live tracker snapshot (LiveQsoLogger,QsoLogbookViewModel). No save-path fix was required in this PR; tests now assertFREQ_RXandBAND_RXin the type 12 payload for a cross-band sample.Testing
dotnet test: 4796 passed, 0 failed (full solution).WsjtxUdpMessageTestsread the type 5 frame through to the end (frame.Offset == frame.Length), including RS-44 / 435.640 MHz RX and an empty-satellite case.This has not been tested against a live MacLoggerDX instance.
Notes
Refs #248
The upstream
Network/NetworkMessage.hppcomment on SourceForge/gitmasterstill lists type 5 ending at propagation mode, but WSJT-X 3.0.0-rc1+ and field captures add Satellite, Sat Mode, and Rx Frequency after it. OscarWatch uses ADIF-style RX MHz text (435.640000). WSJT-X itself sometimes sends a shorter form (for example438without decimals); JTDX often sends six decimals. MacLoggerDX compatibility with our formatting is unconfirmed.