On 2019-03-16 17:33, Bill Somerville wrote:
On 16/03/2019 15:55, Bastien F4EYQ wrote:
Sorry for this request, but i dont have radio/tools to do this job,
I'll replay this capture on my developpement machine here to build
agent.
Bastien,
why not use the real thing. You do not need a radio to get a QSO
logged UDP datagram from WSJT-X, just put a call into the WSJT-X "DX
Call" field and push the "Log QSO" button.
The content of the WSJT-X UDP messages is fully described here:
https://sourceforge.net/p/wsjt/wsjtx/ci/master/tree/NetworkMessage.hpp
73
Bill
G4WJS.
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel
Hello Bill,
Good news, my agent reveived now data from wsjt software, and send it to
my remote server.
But ! i've one problem here, the wsjt send 2 times QSO on my udp server,
Here is my debug,
if you want to see :
Message
RX:?????????????WSJT-X?????%????????VB4VN??????????????JT9?????????????????????????%????????????F4EYQ???IN87hs????????
Message RX From:127.0.0.1:57255
Message RX:?????????????WSJT-X??
<adif_ver:5>3.0.7
<programid:6>WSJT-X
<EOH>
<call:5>VB4VN <gridsquare:0> <mode:3>JT9 <rst_sent:0> <rst_rcvd:0>
<qso_date:8>20190317 <time_on:6>091906 <qso_date_off:8>20190317
<time_off:6>091906 <band:3>20m <freq:9>14.079500
<station_callsign:5>F4EYQ <my_gridsquare:6>IN87hs <EOR>
Message RX From:127.0.0.1:57255
So first time it receved on my server ( 127.0.0.1 : 2237 udp )
and second packet also on the same ip/port/protol.
I dont know why there are some special chars rx here,
For info my code simply do this to rx udp data :
var RemoteIpEndPoint = new IPEndPoint(IPAddress.Any,
2237);
var data = myUdpServer.Receive(ref
RemoteIpEndPoint);
string returnClientData =
Encoding.ASCII.GetString(data);
//not good with wsjt-x : / dont anwser to client :
//myUdpServer.Send(new byte[] { 1 },
1,RemoteIpEndPoint);
Console.WriteLine("Message RX:"+
returnClientData.ToString());
Console.WriteLine("From:" +
RemoteIpEndPoint.Address.ToString()+":"+RemoteIpEndPoint.Port.ToString());
I've try to respond something when i rx data to wsjt ( via
myUdpServer.Send(new byte[] { 1 }, 1,RemoteIpEndPoint) ),
But wsjt reply rx bad data from my software agent, Do I have to return a
specific answer or ignore it?
Tell me if it's normal to rx these paquets 2 times, and also if i can
simply parse ADIF directly to check if it's a good data or not, or
another method i can do is transmit raw data to my server and do the job
on RX from CRX servers.
73 ,
Bastien
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel