[Xastir] Sending Packets via xastir_udp_client
Tom Russo
russo at bogodyn.org
Tue May 17 11:31:11 EDT 2011
On Sun, May 15, 2011 at 01:08:38PM -0400, we recorded a bogon-computron collision of the <toddatkins at gmail.com> flavor, containing:
> I'm trying to send some bulletin packets via xastir_udp_client and not
> having a lot of success. I'm using:
>
> xastir_udp_client localhost 2023 KN4QD PASS ":BLNC :test test test test"
You're trying to send xastir_udp_client only the APRS data, whereas you really
have to fake out the entire TNC2-style packet.
xastir_udp_client localhost 2023 KN4QD PASS "KN4QD>APX201::BLNC :test test test test"
So you're missing the KN4QD> source address, the APX201 TOCALL (or whatever
TOCALL you choose to use), and the double colon indicating the end of the
header *and* the "APRS Message" data type.
Sorry it took so long to respond. It took me a little while to work out what
was expected as the "APRS packet goes here" argument for xastir_udp_client.
If you do the whole fake packet (including to and from addresses, and the
extra colon), the bulletin/announcement *will* show up in Xastir. Note that
Xastir will NOT adopt the message as if it were its own, and will not
re-transmit it on the decaying interval that it would do for its own
messages.
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM
"The truth will set you free, but first it will piss you off."
More information about the Xastir
mailing list