[Xastir] PHG or status text with weather?
Tom Russo
russo at bogodyn.org
Tue Sep 20 16:06:40 EDT 2011
On Tue, Sep 20, 2011 at 01:53:50PM -0600, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
> On Tue, Sep 20, 2011 at 12:37:04PM -0700, we recorded a bogon-computron collision of the <aa9vi at yahoo.com> flavor, containing:
>
> You could always have a script that periodically injects a posit without
> weather and with PHG+status into Xastir's UDP port, and that might be a good
> work-around in the meantime. I know that Xastir will transmit OBJECTS that it
> receives on its UDP port with the same "From" callsign as its own, but I'm not
> sure it will do so with ordinary posits.
No, if you try to inject a packet representing an actual station posit Xastir
will not automatically beacon it as its own. But you CAN force it through
as a third-party packet that seems to work fine. Here's what I just did:
Make sure to enable "server ports" in Xastir.
Run the following command:
xastir_udp_client localhost 2023 -to_rf (yourcall) (yourcallpass) "(yourcall)>APX201,WIDE2-2:=DDMM.mmN/DDDMM.mmW-PHG2400Spider Test"
where, obviously, you replace (yourcall) with your callsign/ssid and
(yourcallpass) with your APRS-IS passcode (run "callpass (yourcallsign)" to
get it). Also, change the "DDMM.mm" latitude and DDDMM.mm longitude to
your own latitude and longitude, of course.
This creates a packet, quite unrelated to your own weather packet, but with
PHG in it. Use the same lat/lon as your weather station, and receiving
stations should see your PHG and status.
Make a shell script to run that command every 20 mins or so, and it should
be almost as good as having it built-in.
-----
#!/bin/sh
while [ true ]
do
xastir_udp_client localhost 2023 (yourcall) (yourcallpass) "(yourcall)>APX201,WIDE2-2:=DDMM.mmN/DDDMM.W-PHG2400This is my periodic status."
sleep 1200
done
-----
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM
"One man alone can be pretty dumb sometimes, but for real bona fide
stupidity, there ain't nothin' can beat teamwork." - Edward Abbey
More information about the Xastir
mailing list