On 30/10/2017 15:22, Steve Nance wrote:
I’ve written a small helper app (C#) that analyzes the Decode messages
and compares them to my QSO database for needed countries and displays
them in a data grid. I want to be able to double-click an entry and
send a Reply message to WSJT-x as described in the MessageDecode.hpp
document.
I think I have everything working correctly in my app, but WSJT is not
accepting the Reply message. Just as a check:
* Does WSJT use the same port for UDP receive as transmit (2237)?
* Is the message format the same as the decode message except for
the message type (4) and the New byte being removed?
Any help would be appreciated.
73, Steve K5FR
Hi Steve,
that's not how IP connections work. When you receive a datagram use the
recv call that returns the sender address and port, that is where your
reply message should be sent. It will be an ephemeral port (high number)
allocated to the WSJT-X instance that sent it by the operating system.
Otherwise you have it correct, mirror the message fields in a Reply
message and so long as the original message is a standard format CQ or
QRZ message then the response from WSJT-X will be the same as if the
message decode had been double-clicked (assuming the
"Settings->Reporting->UDP Server->Accept UDP Requests" is checked).
73
Bill
G4WJS.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel