[aprssig] Java Class
oh2mqk at sral.fi
Fri Oct 30 04:30:13 CDT 2009
On Thu, Oct 29, 2009 at 08:56:23PM -0400, William McKeehan wrote:
> Has anyone written an open source Java package that will parse APRS
> aprs similar to the Ham::APRS::FAP parser for perl?
Java ? Not that I know of.
What is your application need?
These are APRS packet parsers in open source that I am aware of:
- Ham::APRS::FAP by oh2kku and oh7lzb
- embedded in digi_ned by pe1dnn (distance.c)
- embedded in aprx by oh7lzb and modified by oh2mqk
- libfap by oh2gve
- embedded in aprsd (aprsString.cpp)
I suspect some exist in Ruby and Python as well.
Most complete of these are the original FAP, the libfap and perhaps
the one embedded in aprx, others I have not analyzed deeply enough
to know for sure.
Porting FAP to Java is possible, and I have some ideas of how to
make it in Proper Java Way, but never had a need for it myself.
Sometimes writing plain ANSI-C is pain, and I have toyed with the
idea, but Java runtime alone typically takes 10+ MB, which is a bit
too much in my thinking..
On a 32-bit embedded Linux PC running full digi+igate:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 19921 0.0 0.7 2444 920 ? Ss Oct28 0:01 /usr/sbin/aprx
> William McKeehan
73 de Matti, OH2MQK
More information about the aprssig