[WT-support] How do I send info from LUA script to external app?

Laurent HAAS - F6FVY f6fvy at free.fr
Mon Feb 6 13:31:37 CET 2023


Hi Mark

Le 06/02/2023 à 01:00, Mark Bailey a écrit :

> Thanks for the prompt response.  My app is a standalone program.  How do 
> I use this to send only to my App name as you suggest below?
> 
> My program is not emulating a Win-Test instance - isn't that what 
> "strStation" is?  I'm currently just looking at the UDP traffic.

The third parameter of the UDP frames is the name of the destination 
(set with strStation in the API). You can use whatever name (which is 
not already used by the legit Win-Test instances), and match it in your 
app. These frames will be ignored by the other Win-Test instances, 
because it won't match their own name.

> Is it easy to pretend to be a Win-Test instance?

You don't need to, if you only want to receive data from other 
station(s). You don't need either if you want to send back text commands 
or gabs.

BTW, if you can't use text commands, I can probably extend the 
wtGab:Send API and add an optional parameter to not log the sent gab. 
This way, the gab wnd won't be messed up. Just tell me.

73

Larry - F6FVY

-- 

Si vis pacem, para bellum - Végèce, Epitoma Rei Militaris



More information about the support mailing list