In addition to what Laurie said, this part of your reply looks like ASCII where 
the QTime field should be:  4c4f47474552

"adbccbda000000020000000400000006

---> 4c4f47474552 = LOGGER

0451ba68ffffffef3fd99999a0000000000006a7000000017e0000000f4b31564b20463642484b204a4e32340000"


--
David Tiller
Sr. Architect/Lead Consultant | CapTech
(804) 304-0638 | 
dtil...@captechconsulting.com<mailto:dtil...@captechconsulting.com>



On Mar 22, 2018, at 5:28 PM, Laurie, VK3AMA 
<_vk3a...@vkdxer.net<mailto:vk3a...@vkdxer.net>> wrote:



On 23/03/2018 7:27 AM, F6BHK wrote:
I have digged deeper in my problem:

a) Network infra: The server uses a multicast group. There is no router between 
the WSJT-X client and the server; only a switch. I have verified with tcpdump 
on both sides that the packet are seen by both camps.

b) I have written a quick PHP client that I have plugged on the same network as 
the server and the WSJT-X client. The server and the PHP client establish a 2 
way dialog with no pain. The WSJT-X client stays deaf. However it speaks as 
expected.

For example, I receive this DECODE message from WSJT-X:

2018/03/22 20:07:59 server.php - Received 66 bytes from remote IP: 
192.168.60.53:63580
2018/03/22 20:07:59 server.php magic binary : [adbccbda]
2018/03/22 20:07:59 server.php schema binary : [00000002]
2018/03/22 20:07:59 server.php type of message binary : [00000002]
2018/03/22 20:07:59 server.php DECODE id : [00000006: WSJT-X]
2018/03/22 20:07:59 server.php DECODE new : [01]
2018/03/22 20:08:00 server.php DECODE time : [72465000 -> 20:07:45]
2018/03/22 20:08:00 server.php DECODE snr : [ffffffef -> 00000010 -> -17]
2018/03/22 20:08:00 server.php DECODE delta time : [3fd99999a0000000 -> 
0.40000000596046]
2018/03/22 20:08:00 server.php DECODE delta : [1703 Hz]
2018/03/22 20:08:00 server.php DECODE mode : [00000001: ~]
2018/03/22 20:08:00 server.php DECODE message : [0000000c: CQ K1VK FN42]
2018/03/22 20:08:00 server.php DECODE Low confidence : [00]
2018/03/22 20:08:00 server.php DECODE Off air : [00]

The server asks WSJT-X to initiate a response with this message:

2018/03/22 20:08:29 server.php SEND TO WSJT-X id : [000000064c4f47474552 size: 
00000006]
2018/03/22 20:08:29 server.php SEND TO WSJT-X time : [0451ba68 -> 0451ba68 -> 
20:07:45]
2018/03/22 20:08:29 server.php SEND TO WSJT-X snr : [ffffffef -> -17]
2018/03/22 20:08:29 server.php SEND TO WSJT-X deltatime : [3fd99999a0000000 -> 
0.40000000596046]
2018/03/22 20:08:29 server.php SEND TO WSJT-X delta : [000006a7 -> 1703 Hz]
2018/03/22 20:08:29 server.php SEND TO WSJT-X mode : [000000017e]
2018/03/22 20:08:29 server.php SEND TO WSJT-X message : 
[0000000f4b31564b20463642484b204a4e3234 -> len: 0000000F -> K1VK F6BHK JN24]
2018/03/22 20:08:29 server.php SEND TO WSJT-X lowconfidence : [00]
2018/03/22 20:08:29 server.php SEND TO WSJT-X modifiers : [00]
2018/03/22 20:08:29 server.php SEND TO WSJT-X frame : 
[adbccbda0000000200000004000000064c4f474745520451ba68ffffffef3fd99999a0000000000006a7000000017e0000000f4b31564b20463642484b204a4e32340000]
2018/03/22 20:08:29 server.php SEND TO WSJT-X frame envoyee : [68 bytes, 
239.73.0.0:2237 UDP: 68]

WSJT-X ignore the message. But the PHP client decodes it no worries:

client.php - FRAME 000009 ------------------------------------------
client.php - Received 68 bytes from remote IP: 192.168.60.162:2237
client.php magic binary : [adbccbda]
client.php schema binary : [00000002]
client.php type of message binary : [00000004]
client.php id : [LOGGER]
client.php time : [72465000 -> 20:07:45]
client.php DECODE snr : [ffffffef -> 00000010 -> -17]
client.php DECODE delta time : [3fd99999a0000000 -> 0.40000000596046]
client.php DECODE delta : [1703 Hz]
client.php DECODE mode : [00000001: ~]
client.php DECODE message : [0000000f: K1VK F6BHK JN24]
client.php DECODE Low confidence : [00]
client.php DECODE modifiers : [00]

I have read in MessageNetwork.hpp the the id must be the Target unique id. I 
tried with the WSJT-X client id and with something else.... to no avail.

I have noted a difference between the mode from DECODE message (the letter ~) 
and the mode from the STATUS message (plain text FT8). None of them awake 
WSJT-X client.

I must say that I could use some help from here! I really am at a loss to 
understand what goes on here.

Any taker ?

Cheers

Serge



On 21/03/2018 19:22, F6BHK wrote:
Good Evening


While I am able to received and decode all the messages that come out of WSJT-X 
via UDP, I have some difficulties to get WSJT-X client to accept the server 
type 4 messages.

I have checked in the settings all 3checkboxes "Accept UDP requests", "Notify 
on accepted UDP request", "Accepted UDP requests restores windows" in the hope 
to get some feedback from the client.

I was expecting some updates on the client window with some of the data 
contained in the UDP message I send and an acknowledgement and/or an error 
message.

But my messages must be ill-formed, for I get out of WSJT-X nothing except when 
the UDP message is really, and voluntarily, broken (there is a popup window 
screaming about bad format).

I use version 1.9rc2 on Win7 pro, and this version works like a charm when used 
manually (I mean with the mouse/keyboard).

I have double checked the message format I send and I am pretty confident that 
it is following the definition in NetworkMessage.hpp

Should my expectations be correct, is there a way to get more details about 
what happens to WSJT-X when it gets my message, such as error messages, trace 
log, etc?

I could not find anything on UDP dialog in the User's manual nor did I find a 
startup option or something else to help me.

Thank you for your answers

73, Serge

PS: keep up the very good work guys! FT8 is fun! Cheers!


Serge,

Looks to me that your sending a different Time value from that received in the 
decode.
DECODE time : [72465000 -> 20:07:45]
SEND TO WSJT-X time : [0451ba68 -> 0451ba68 -> 20:07:45]

Not sure how both 72465000 & 0451ba68 can represent the same time value. Try 
using the Time value received in the decode packet.

de Laurie VK3AMA

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://Slashdot.org>! 
http://sdm.link/slashdot_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net<mailto:wsjt-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

------------------------------------------------------------------------------
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
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to