Thread: Re: [Gpsbabel-code] [Fwd: Skytraq Venus based GPS datalogger]
Brought to you by:
robertl
From: Mathias A. <m....@ad...> - 2009-02-11 16:12:49
|
Hi Martin, Martin MAURER schrieb: > I removed the lines as suggested. My logger is connected via USB. > > a funny thing happened: > ----------------------- > Variant d: > ./gpsbabel -D4 -i skytraq -f /dev/ttyUSB0 -o gpx -F /tmp/output_2.gpx >> /tmp/output_2.log > WORKS! > > ----------------------- > > Variant e: > ./gpsbabel -D4 -i skytraq,read-at-once=1,dlbaud=9600 -f /dev/ttyUSB0 -o > gpx -F /tmp/output_3.gpx > /tmp/output_3.log > > does not work > > ----------------------- > > Variant f: > ./gpsbabel -D4 -i skytraq,read-at-once=1 -f /dev/ttyUSB0 -o gpx > -F /tmp/output_4.gpx > /tmp/output_4.log > > WORKS ! > > ----------------------- hmm... at the moment I have no idea why d and f worked while e didn't... In the log I found that in f it had to retry sector 0 once, in the first attempt there were some bytes missing again (like in e too). The main problem with those missing bytes is that they can only be detected in the checksum verification if at least one of them is !=0. On checksum error the sector will simply be retried (up to 3 times - this happened in variant f), otherwise decoding fails and gpsbabel terminates immediately. Do you have the possibility to log communication between the Windows software and your logger? Perhaps this could give some insight in how to get rid of those transfer problems. If you have Windows as a Virtualbox VM running under Linux I could give you a perl script I made for doing this. Btw. have you tried the skytraq patch by Jesper Zedlitz? <http://www.zedlitz.de/skytraq/> Regards Mathias |