[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Predict not reading TLE file



On Thu, 15 Jun 2000, Nate Bargmann wrote:

> On Fri, Jun 16, 2000 at 07:51:19AM +1000, Hamish Moffatt wrote:
> > 
> > Could it be a problem with CRLF versus LF line endings?
> 
> That was one of my intial thoughts, Hamish.

Actually, the problem is in the TLE checksum routines.  I was using an
unsigned char to accumulate the checksum for each line, and on some
occasions, the sum would exceed that of an unsigned char and roll over
through zero.

In looking through the code, I made some other minor changes.  I expect to
spend more time testing it today, and if all works out okay, I'll issue a
new version.

Thanks for pointing out the problem.


73, de John, KD2BD

--
-=-=-=-=-=-=-=-=-=-=-=-=- John A. Magliacane, KD2BD -=-=-=-=-=-=-=-=-=-=-=-=-
Internet  : kd2bd@amsat.org          |  Voice : +1.732.224.2948
Satellite : AO-16, KO-25             |  Morse : -.-  -..  ..---  -...  -..
Packet    : KD2BD @ N2TDU.NJ.USA.NA  |  WWW   : http://www.njin.net/~magliaco/
Video     : 426.250 MHz/439.250 MHz  |  FAX   : +1.732.224.2772
-=-=-=-=-=-=-=-=-=-=-=- Linux Doesn't Cost.  It Pays. -=-=-=-=-=-=-=-=-=-=-=-



Reply to: