GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
rtklib_rtcm.h
Go to the documentation of this file.
1 /*!
2  * \file rtklib_rtcm.h
3  * \brief RTCM functions headers
4  * \authors <ul>
5  * <li> 2007-2013, T. Takasu
6  * <li> 2017, Javier Arribas
7  * <li> 2017, Carles Fernandez
8  * </ul>
9  *
10  * This is a derived work from RTKLIB http://www.rtklib.com/
11  * The original source code at https://github.com/tomojitakasu/RTKLIB is
12  * released under the BSD 2-clause license with an additional exclusive clause
13  * that does not apply here. This additional clause is reproduced below:
14  *
15  * " The software package includes some companion executive binaries or shared
16  * libraries necessary to execute APs on Windows. These licenses succeed to the
17  * original ones of these software. "
18  *
19  * Neither the executive binaries nor the shared libraries are required by, used
20  * or included in GNSS-SDR.
21  *
22  * -----------------------------------------------------------------------------
23  * Copyright (C) 2007-2013, T. Takasu
24  * Copyright (C) 2017, Javier Arribas
25  * Copyright (C) 2017, Carles Fernandez
26  * All rights reserved.
27  *
28  * SPDX-License-Identifier: BSD-2-Clause
29  *
30  *
31  * -----------------------------------------------------------------------------
32  */
33 
34 
35 #ifndef GNSS_SDR_RTKLIB_RTCM_H
36 #define GNSS_SDR_RTKLIB_RTCM_H
37 
38 #include "rtklib.h"
39 #include "rtklib_rtcm2.h"
40 #include "rtklib_rtcm3.h"
41 
42 #define RTCM2PREAMB 0x66 /* rtcm ver.2 frame preamble */
43 #define RTCM3PREAMB 0xD3 /* rtcm ver.3 frame preamble */
44 
45 
46 int init_rtcm(rtcm_t *rtcm);
47 void free_rtcm(rtcm_t *rtcm);
48 int input_rtcm2(rtcm_t *rtcm, unsigned char data);
49 int input_rtcm3(rtcm_t *rtcm, unsigned char data);
50 int input_rtcm2f(rtcm_t *rtcm, FILE *fp);
51 int input_rtcm3f(rtcm_t *rtcm, FILE *fp);
52 int gen_rtcm2(rtcm_t *rtcm, int type, int sync);
53 // int gen_rtcm3(rtcm_t *rtcm, int type, int sync);
54 
55 
56 #endif // GNSS_SDR_RTKLIB_RTCM_H
Definition: rtklib.h:874
RTCM v2 functions headers.
main header file for the rtklib library
RTCM v3 functions headers.