Defines | Functions
rtcm3.c File Reference
#include <math.h>
#include "bits.h"
#include "edc.h"
#include "rtcm3.h"
Include dependency graph for rtcm3.c:

Go to the source code of this file.

Defines

#define CLIGHT   299792458.0 /* speed of light (m/s) */
#define FREQ1   1.57542e9 /* L1/E1 frequency (Hz) */
#define LAMBDA1   (CLIGHT / FREQ1)
#define PRUNIT_GPS   299792.458
#define RTCM3_PREAMBLE   0xD3

Functions

static u32 from_lock_ind (u8 lock)
static void gen_obs_gps (navigation_measurement_t *nm, u8 *amb, u32 *pr, s32 *ppr, u8 *lock, u8 *cnr)
s16 rtcm3_check_frame (u8 *buff)
s8 rtcm3_decode_1002 (u8 *buff, u16 *id, double *tow, u8 *n_sat, navigation_measurement_t *nm, u8 *sync)
u16 rtcm3_encode_1002 (u8 *buff, u16 id, gps_time_t t, u8 n_sat, navigation_measurement_t *nm, u8 sync)
void rtcm3_read_header (u8 *buff, u16 *type, u16 *id, double *tow, u8 *sync, u8 *n_sat, u8 *div_free, u8 *smooth)
s8 rtcm3_write_frame (u16 len, u8 *buff)
void rtcm3_write_header (u8 *buff, u16 type, u16 id, gps_time_t t, u8 sync, u8 n_sat, u8 div_free, u8 smooth)
static u8 to_lock_ind (u32 time)

Define Documentation

#define CLIGHT   299792458.0 /* speed of light (m/s) */

Definition at line 22 of file rtcm3.c.

#define FREQ1   1.57542e9 /* L1/E1 frequency (Hz) */

Definition at line 23 of file rtcm3.c.

#define LAMBDA1   (CLIGHT / FREQ1)

Definition at line 24 of file rtcm3.c.

#define PRUNIT_GPS   299792.458

RTCM v3 Unit of GPS Pseudorange (m)

Definition at line 20 of file rtcm3.c.

#define RTCM3_PREAMBLE   0xD3

RTCM v3 Frame sync / preamble byte.

Definition at line 19 of file rtcm3.c.



swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:56:55