Re: a question about pream function

tebinuma <[email protected]> Tue, 18 May 2004 02:05:35 -0700 (PDT)
Newsgroups gmane.comp.hardware.gps.opensource
Message-ID <[email protected]>
Hi Zhu,

It determines the 20ms epoch counter slew value
>>after<< receiving tow words, TLM and HOW. 
That's 60 bits from the the beginning of each 
subframe thus the 20ms epoch counter must be 
10 (=60%50).

Tak

--- [email protected] wrote:
>  
>  Hi,all, in the open source gps code ,there is a
> line in void pream(char ch,char bit)  function in
> gpsrcvr.cpp:
> 
>     ch_epoch_load(ch,(0x1f&ch_epoch_chk(ch))|0xa00);
>  ///// cwk
> 
>    what's the purpose of this line? why write CH
> 20ms counter with "0xa"? I think the value should be
> zero?
> 
>  
>    Regards,
> 
>    Zhu Di
> > _______________________________________________
> opensource_gps mailing list
> [email protected]
>
http://lists.psas.pdx.edu/cgi-bin/mailman/listinfo/opensource_gps
> 



	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/