[time-nuts] serial parsing program
Tom Harris
celephicus at gmail.com
Wed Mar 25 05:28:47 UTC 2015
Python has a nice library struct that can take a binary buffer of just
about anything, integers, strings, etc, with any alignment or byte ordering
and parse it to a list of values. I've never had the need to use anything
else. Perl probably has the same as well.
Tom Harris <celephicus at gmail.com>
On 25 March 2015 at 11:37, Bob Stewart <bob at evoria.net> wrote:
> Hi Cash,
> Have you looked at the sourcecode for the "gpsd" package? "packet.c"
> would probably be your starting point. The gpsd package parses pretty much
> every gps receiver. I'm not sure if this is what you're looking for, or if
> you specifically want something high-level.
>
> Bob
>
> From: Cash Olsen <radio.kd5ssj at gmail.com>
> To: time-nuts at febo.com
> Sent: Tuesday, March 24, 2015 5:22 PM
> Subject: [time-nuts] serial parsing program
>
> I'd like to find a program that has a very flexible serial input and can be
> easily setup to parse a binary sentence. Specifically, U-Blox timing but
> more general purpose would be nice for future projects. Has to be able to
> handle 1, 2, and 4 byte fields, and checksums would be nice also. Should
> run on Windows for the immediate project but Linux for next projects.
>
> --
> S. Cash Olsen KD5SSJ
> ARRL Technical Specialist
> _______________________________________________
> time-nuts mailing list -- time-nuts at febo.com
> To unsubscribe, go to
> https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
> and follow the instructions there.
>
>
>
> _______________________________________________
> time-nuts mailing list -- time-nuts at febo.com
> To unsubscribe, go to
> https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
> and follow the instructions there.
>
More information about the Time-nuts_lists.febo.com
mailing list