Having just been through the endian issue with a similar parser, I'll mention 
that in Python the struct.unpack() function can handle endian swaps at tne same 
time as it pulls binary data out of the message.  It makes it pretty painless.

On Jul 13, 2019, 11:08 PM, at 11:08 PM, Mark Sims <hol...@hotmail.com> wrote:
>Lady Heather is open source and has parsers/decoders for just about any
>receiver you are likely to see... and a few that your aren't.    One
>big issue with binary protocols is handling big/little endian (byte
>order) issues when reading messages or sending them to the device.  You
>need to be aware of what the system CPU uses and what the receiver
>uses.
>
>----------------
>
>>  One alternative, if you only need two lines is to write a parser
>just for them. 
>There’s not a whole lot to the protocol and the uBlox doc’s are pretty
>good at
>describing it. Yes, it’s a binary protocol so there will be a bit of
>this and that
>involved. 
>_______________________________________________
>time-nuts mailing list -- time-nuts@lists.febo.com
>To unsubscribe, go to
>http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com
>and follow the instructions there.
_______________________________________________
time-nuts mailing list -- time-nuts@lists.febo.com
To unsubscribe, go to 
http://lists.febo.com/mailman/listinfo/time-nuts_lists.febo.com
and follow the instructions there.

Reply via email to