-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlwgps2rtt.h
59 lines (52 loc) · 1.74 KB
/
lwgps2rtt.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//*****************************************************************************
// file : lwgps2rtt.h
// porting lwgps to rt-thread
//
// Change Logs:
// Date Author Note
// 2020/09/06 Cheney First draft version
// 2020/09/13 Cheney Support gps info query interface.
//
//*****************************************************************************
#ifndef __LWGPS2RTT_H__
#define __LWGPS2RTT_H__
//*****************************************************************************
//
//! \addtogroup lwgps
//! @{
//
//*****************************************************************************
//*****************************************************************************
//
// If building with a C++ compiler, make all of the definitions in this header
// have a C binding.
//
//*****************************************************************************
#ifdef __cplusplus
extern "C"
{
#endif
#include "lwgps.h"
//*****************************************************************************
//
// Prototypes for the APIs.
//
//*****************************************************************************
void lwgps2rtt_init(const char *uart_dev_name);
void lwgps2rtt_get_gps_info(lwgps_t *gps_info);
void lwgps2rtt_deinit(void);
//*****************************************************************************
//
// Mark the end of the C bindings section for C++ compilers.
//
//*****************************************************************************
#ifdef __cplusplus
}
#endif
//*****************************************************************************
//
// Close the Doxygen group.
//! @}
//
//*****************************************************************************
#endif // __LWGPS2RTT_H__