Commit Graph

19 Commits

Author SHA1 Message Date
Harald Welte 47ab210af9 import Dieter's rrlpd based on Sylvain's code from August 10, 2011 2012-07-18 22:22:47 +02:00
Dieter Spaar a5c8d80688 gps.c: Add error message in case of parser problems 2012-07-18 22:22:47 +02:00
Dieter Spaar d652a321d9 ubx-parse.c: parse and dispatch TIMEGPS message 2012-07-18 22:22:47 +02:00
Dieter Spaar 5ffe5fe11a ubx-parse.c: Add more debugging code, and make it optional 2012-07-18 22:22:47 +02:00
Dieter Spaar 4db6eb8841 ubx.c: Add some more error checking code 2012-07-18 22:22:47 +02:00
Dieter Spaar fa32567711 ubx.h: Add definition of struct ubx_nav_timegps 2012-07-18 22:22:47 +02:00
Dieter Spaar ca9517f8fd ubx.h: Add comment to struct ubx_hdr fields in milliseconds 2012-07-18 22:22:47 +02:00
Sylvain Munaut d70bee4016 rrlp-ephemeris: Add directory with asn1c patches
- One is just to improve the debug prints
 - The other fixes a problem in PER encoding found by Dieter Spaar.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07 10:22:24 +01:00
Sylvain Munaut a4f954f6c6 rrlp-ephemeris: Add script to get test data from UBX receiver
Simple script illustrating how data.ubx (the test sample) is
generated.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07 10:22:24 +01:00
Sylvain Munaut 9c3ae67f8b rrlp-ephemeris: Fill ref time with UBX AID_INI messages
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07 10:22:24 +01:00
Sylvain Munaut 14039dd324 rrlp-ephemeris: Add support for filling ReferenceTime IE
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07 10:22:24 +01:00
Sylvain Munaut 639889b05f rrlp-ephemeris: Add a note about extracting RefPos from AID_INI
Yeah we could do it if anyone is willing to implement conversion
from ecef to WGS84.

See http://en.wikipedia.org/wiki/Geodetic_system

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07 10:22:24 +01:00
Sylvain Munaut 9819d8baf2 rrlp-ephemeris: Fill ref pos with UBX NAV_POSLLH messages
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07 10:22:24 +01:00
Sylvain Munaut 8dbd19e6d8 rrlp-ephemeris: Support filling of ReferencePositon IE
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07 10:22:23 +01:00
Sylvain Munaut 755429b7f1 rrlp-ephemeris: Comment alignment fix
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07 10:22:23 +01:00
Sylvain Munaut 6c32c90416 rrlp-ephemeris: Add .gitignore
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07 10:22:23 +01:00
Sylvain Munaut d316444e1b rrlp-ephemeris: Properly implement pseudo segmentation flag
See 3GPP TS 44.031 section 2.2/2.3 for a example/description.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07 10:22:23 +01:00
Sylvain Munaut 90e46f5055 rrlp-ephemeris: Fix memory leak
We need to go through all the object release code ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07 10:22:23 +01:00
Sylvain Munaut 341542b9d3 Import code to generate RRLP ephemeris data from u-blox GPS receiver
taken from http://www.246tnt.com/files/rrlp-20091101.tar.bz2
2009-12-22 21:54:40 +01:00