Bill, et.al,

I now need to use the acknowledgement message from the message #4 I send to
WSJT. However, I'm not receiving anything back from WSJT. I have the 3
checkboxes on the Setup|Reporting|UDP Server group selected. Am I missing
something else? All the other messages are decoding correctly.

Thanks,

73, Steve K5FR

 

From: Steve Nance [mailto:[email protected]] 
Sent: Monday, October 30, 2017 06:51 PM
To: 'WSJT software development' <[email protected]>
Subject: RE: [wsjt-devel] UDP Reply Messages

 

Thanks Bill, that fixed it.

73, Steve K5FR

 

 

 

From: Bill Somerville [mailto:[email protected]] 
Sent: Monday, October 30, 2017 03:17 PM
To: [email protected]
<mailto:[email protected]> 
Subject: Re: [wsjt-devel] UDP Reply Messages

 

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

Reply via email to