rtcm3.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2013 Swift Navigation Inc.
00003  * Contact: Fergus Noble <fergus@swift-nav.com>
00004  *
00005  * This source is subject to the license found in the file 'LICENSE' which must
00006  * be be distributed together with this source. All other rights reserved.
00007  *
00008  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00009  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
00010  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
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 /* LIBSWIFTNAV_RTCM3_H */


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