Firmware SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
bc_module_gps.h
1 #ifndef _BC_MODULE_GPS_H
2 #define _BC_MODULE_GPS_H
3 
4 #include <bc_led.h>
5 #include <bc_sam_m8q.h>
6 
10 
12 
13 typedef enum
14 {
17 
20 
23 
26 
28 
30 
31 typedef enum
32 {
35 
38 
40 
42 
44 
46 
48 
50 
52 
54 
56 
58 
60 
62 
63 typedef void (bc_module_gps_event_handler_t)(bc_module_gps_event_t, void *);
64 
66 
70 
71 bool bc_module_gps_init(void);
72 
76 
77 void bc_module_gps_set_event_handler(bc_module_gps_event_handler_t event_handler, void *event_param);
78 
80 
81 void bc_module_gps_start(void);
82 
84 
85 void bc_module_gps_stop(void);
86 
88 
89 void bc_module_gps_invalidate(void);
90 
95 
97 
102 
104 
109 
111 
116 
118 
123 
125 
128 
130 
131 #endif // _BC_MODULE_GPS_H
bool bc_module_gps_get_quality(bc_module_gps_quality_t *quality)
Get quality.
Definition: bc_module_gps.c:96
LED driver interface.
Definition: bc_led.h:56
bool bc_module_gps_get_position(bc_module_gps_position_t *position)
Get position.
Definition: bc_module_gps.c:86
bc_sam_m8q_position_t bc_module_gps_position_t
Position data structure.
Definition: bc_module_gps.h:47
void bc_module_gps_start(void)
Start tracking.
Definition: bc_module_gps.c:66
bc_sam_m8q_time_t bc_module_gps_time_t
Time data structure.
Definition: bc_module_gps.h:43
Quality data structure.
Definition: bc_sam_m8q.h:95
bc_module_gps_led_t
Virtual LED channels.
Definition: bc_module_gps.h:31
void bc_module_gps_stop(void)
Stop tracking.
Definition: bc_module_gps.c:71
void bc_module_gps_set_event_handler(bc_module_gps_event_handler_t event_handler, void *event_param)
Set callback function.
Definition: bc_module_gps.c:60
bc_sam_m8q_altitude_t bc_module_gps_altitude_t
Altitude data structure.
Definition: bc_module_gps.h:51
bc_sam_m8q_quality_t bc_module_gps_quality_t
Quality data structure.
Definition: bc_module_gps.h:55
LCD red LED channel.
Definition: bc_module_gps.h:34
const bc_led_driver_t * bc_module_gps_get_led_driver(void)
Get LED driver.
Accuracy data structure.
Definition: bc_sam_m8q.h:107
void bc_module_gps_invalidate(void)
Invalidate navigation data.
Definition: bc_module_gps.c:76
bc_sam_m8q_accuracy_t bc_module_gps_accuracy_t
Accuracy data structure.
Definition: bc_module_gps.h:59
bool bc_module_gps_get_accuracy(bc_module_gps_accuracy_t *accuracy)
Get accuracy.
Position data structure.
Definition: bc_sam_m8q.h:71
Time data structure.
Definition: bc_sam_m8q.h:47
bool bc_module_gps_init(void)
Initialize BigClown GPS Module.
Definition: bc_module_gps.c:27
bc_module_gps_event_t
Callback events.
Definition: bc_module_gps.h:13
Altitude data structure.
Definition: bc_sam_m8q.h:83
bool bc_module_gps_get_altitude(bc_module_gps_altitude_t *altitude)
Get altitude.
Definition: bc_module_gps.c:91
bool bc_module_gps_get_time(bc_module_gps_time_t *time)
Get time.
Definition: bc_module_gps.c:81
LCD green LED channel.
Definition: bc_module_gps.h:37