#include <math.h>
#include "bits.h"
#include "edc.h"
#include "rtcm3.h"
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) */ |
#define FREQ1 1.57542e9 /* L1/E1 frequency (Hz) */ |
RTCM v3 Unit of GPS Pseudorange (m)
Definition at line 20 of file rtcm3.c.
RTCM v3 Frame sync / preamble byte.
Definition at line 19 of file rtcm3.c.