FreeBSD/contrib/ntp/ntpd/refclock_ripencc.c
/* raw measurement data - code phase/Doppler */
raw measurement data - code phase/Doppler
raw measurement data - code phase / Doppler
short
rpt_0x5A(
	 TSIPPKT *rpt,
	 unsigned char *sv_prn,
	 float *sample_length,
	 float *signal_level,
	 float *code_phase,
	 float *Doppler,
	 double *time_of_fix
	 )
{
	unsigned char *buf;
	buf = rpt->buf;
	if (rpt->len != 25) return TRUE;
	*sv_prn = buf[0];
	*sample_length = bGetSingle (&buf[1]);
	*signal_level = bGetSingle (&buf[5]);
	*code_phase = bGetSingle (&buf[9]);
	*Doppler = bGetSingle (&buf[13]);
	*time_of_fix = bGetDouble (&buf[17]);
	return FALSE;
}
short rpt_0x5A ( TSIPPKT * rpt , unsigned char * sv_prn , float * sample_length , float * signal_level , float * code_phase , float * Doppler , double * time_of_fix ) { unsigned char * buf ; buf = rpt -> buf ; if ( rpt -> len != 25 ) return TRUE ; * sv_prn = buf [ 0 ] ; * sample_length = bGetSingle ( & buf [ 1 ] ) ; * signal_level = bGetSingle ( & buf [ 5 ] ) ; * code_phase = bGetSingle ( & buf [ 9 ] ) ; * Doppler = bGetSingle ( & buf [ 13 ] ) ; * time_of_fix = bGetDouble ( & buf [ 17 ] ) ; return FALSE ; }
raw measurement data - code phase/Doppler
raw measurement data - code phase / Doppler