[aprssig] APRS device identifiers (tocalls.txt)Dir-Wolf
Robert Bruninga
bruninga at usna.edu
Sat Oct 26 14:27:44 EDT 2013
Wow, useful info. Can you get in touch with the Author of Dir Wolf and
ask him what his software wwould do it the TOCALLS.TXT file dropped all
the spaces and APX categories and just began every line with the APXXXX
format?
Bob
-----Original Message-----
From: aprssig-bounces at tapr.org [mailto:aprssig-bounces at tapr.org] On Behalf
Of John Langner WB2OSZ
Sent: Friday, October 25, 2013 7:24 PM
To: aprssig at tapr.org
Subject: Re: [aprssig] APRS device identifiers (tocalls.txt)
> AFAIK your tocalls.txt file is only used by humans, no automatic
tools.
Dire Wolf parses the tocalls.txt file each time it starts up. This allows
users to download and use the most recent version.
It looks for lines with:
* Spaces in columns 1, 5, and 6.
* "AP" in columns 7 and 8.
Only leading upper case letters and digits are retained. Lower case
letters are discarded for the matching string. For example,
APBLO remains as APBLO.
APBLxx is shortened to APBL.
APBxxx is shortened to APB.
It searches for the longest match and does the right thing most of the
time.
For example if we encountered APBL99, perform these compares, longest to
shortest.
APBLO First 5 characters don't match. Reject.
APBL First 4 characters do match. Take this.
APB Don't get to this because there was a longer match.
Of course it doesn't handle the APnnnD / APnnnU case properly. And it
wouldn't distinguish between the two APRXxx cases.
73,
John WB2OSZ
_______________________________________________
aprssig mailing list
aprssig at tapr.org
http://www.tapr.org/mailman/listinfo/aprssig
More information about the aprssig
mailing list