Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
Sirf protocol specific code. More...
Go to the source code of this file.
Data Structures | |
struct | GpsSirf |
Macros | |
#define | PRIMARY_GPS GPS_SIRF |
#define | SIRF_GPS_NB_CHANNELS 16 |
#define | SIRF_MAXLEN 255 |
#define | UNINIT 0 |
#define | GOT_A0 1 |
#define | GOT_A2 2 |
#define | GOT_B0 3 |
#define | gps_sirf_periodic_check() gps_periodic_check(&gps_sirf.state) |
Functions | |
void | gps_sirf_init (void) |
void | gps_sirf_event (void) |
Variables | |
struct GpsSirf | gps_sirf |
Sirf protocol specific code.
Definition in file gps_sirf.h.
struct GpsSirf |
Definition at line 48 of file gps_sirf.h.
Data Fields | ||
---|---|---|
bool | msg_available | |
char | msg_buf[SIRF_MAXLEN] | buffer for storing one nmea-line |
int | msg_len | |
bool | msg_valid | |
int | read_state | |
struct GpsState | state |
#define GOT_A0 1 |
Definition at line 44 of file gps_sirf.h.
Referenced by sirf_parse_char().
#define GOT_A2 2 |
Definition at line 45 of file gps_sirf.h.
Referenced by sirf_parse_char().
#define GOT_B0 3 |
Definition at line 46 of file gps_sirf.h.
Referenced by sirf_parse_char().
#define gps_sirf_periodic_check | ( | ) | gps_periodic_check(&gps_sirf.state) |
Definition at line 62 of file gps_sirf.h.
#define PRIMARY_GPS GPS_SIRF |
Definition at line 36 of file gps_sirf.h.
#define SIRF_GPS_NB_CHANNELS 16 |
Definition at line 39 of file gps_sirf.h.
#define SIRF_MAXLEN 255 |
Definition at line 40 of file gps_sirf.h.
#define UNINIT 0 |
Definition at line 43 of file gps_sirf.h.
void gps_sirf_event | ( | void | ) |
Definition at line 287 of file gps_sirf.c.
References dev, gps_sirf, gps_sirf_msg(), GpsSirf::msg_available, and sirf_parse_char().
void gps_sirf_init | ( | void | ) |
Definition at line 122 of file gps_sirf.c.
References gps_sirf, GpsSirf::msg_available, GpsSirf::msg_len, GpsSirf::msg_valid, and GpsSirf::read_state.
struct GpsSirf gps_sirf |
Definition at line 113 of file gps_sirf.c.
Referenced by gps_sirf_event(), gps_sirf_init(), gps_sirf_msg(), sirf_parse_2(), sirf_parse_41(), sirf_parse_char(), and sirf_parse_msg().