Meddling with GPS / UBX packet generator

Andy Green andy at openmoko.com
Mon Jul 14 11:18:19 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

| and spew once a second whether there is good data or not.  But the GPS
| chip also supports some checksummed binary packets in this UBX protocol
| documented above to control it.  If you place a canned UBX packet in a
| file, you can issue it to the GPS chip like this:

Here is a UBX packet generator in Bash, it sends the checksummed binary
packet to stdout given hex commandline args, eg.  You can then cat it to
the GPS device.

You need to run it on your host PC because it won't work on GTA02 since
it doesn't seem to have bc in there by default (on the rootfs I am using
anyway).

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkh7GdQACgkQOjLpvpq7dMrZPgCaAvj1RMHRDyJSfU/9IvmENGlR
XlYAniOWM16btwweRsDwKjnx9L0jPlK4
=s4IR
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ubxcs
Url: http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080714/14664803/attachment.txt 


More information about the openmoko-kernel mailing list