I am developing a program in php
  I share the link

https://gitlab.com/radioactividad/wsjt-bot

I was able to decode the messages by udp
but I couldn't send a message to wsjt-x



the program that I made looks for contacts that are not in the add
and I would have to send the order to wsjt to call it

At the moment I am trying to do the following

<?php
$msg  = "adbccdda000000020000000900000006";
$msgx = "WSJT-XCQ DX LU9DCE";
$msgx = bin2hex($msgx);
$msg = $msg.$msgx."00000001";
$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); //Create the socket
$len = strlen($msg);
socket_sendto($sock, $msg, $len, 0, '127.0.0.1', 2237);
socket_close($sock);
echo $msg;
?>

adbccdda00000002000000090000000657534a542d584351204458204c553944434500000001

what he sent you by udp is a this
  I do not know if it is ok
theoretically it would have to be a type 9 message
I am using this type of message to test
if the data arrives to wsjt
I can't do it at the moment :(

I would appreciate any information that can help me

73 !!! LU9DCE




_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to