Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef LIBSWIFTNAV_RTCM3_H
00014 #define LIBSWIFTNAV_RTCM3_H
00015
00016 #include "common.h"
00017
00018 #include "gpstime.h"
00019 #include "track.h"
00020
00021 s16 rtcm3_check_frame(u8 *buff);
00022 s8 rtcm3_write_frame(u16 len, u8 *buff);
00023
00024 void rtcm3_write_header(u8 *buff, u16 type, u16 id, gps_time_t t,
00025 u8 sync, u8 n_sat, u8 div_free, u8 smooth);
00026 void rtcm3_read_header(u8 *buff, u16 *type, u16 *id, double *tow,
00027 u8 *sync, u8 *n_sat, u8 *div_free, u8 *smooth);
00028
00029 u16 rtcm3_encode_1002(u8 *buff, u16 id, gps_time_t t, u8 n_sat,
00030 navigation_measurement_t *nm, u8 sync);
00031 s8 rtcm3_decode_1002(u8 *buff, u16 *id, double *tow, u8 *n_sat,
00032 navigation_measurement_t *nm, u8 *sync);
00033
00034 #endif