Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
gps_sirf.h File Reference

Sirf protocol specific code. More...

#include "std.h"
#include "subsystems/gps.h"
+ Include dependency graph for gps_sirf.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GpsSirf


#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)


void gps_sirf_init (void)
void gps_sirf_event (void)


struct GpsSirf gps_sirf

Detailed Description

Sirf protocol specific code.

Definition in file gps_sirf.h.

Data Structure Documentation

◆ GpsSirf

struct GpsSirf

Definition at line 48 of file gps_sirf.h.

+ Collaboration diagram for GpsSirf:
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

Macro Definition Documentation

◆ GOT_A0

#define GOT_A0   1

Definition at line 44 of file gps_sirf.h.

◆ GOT_A2

#define GOT_A2   2

Definition at line 45 of file gps_sirf.h.

◆ GOT_B0

#define GOT_B0   3

Definition at line 46 of file gps_sirf.h.

◆ gps_sirf_periodic_check

#define gps_sirf_periodic_check ( )    gps_periodic_check(&gps_sirf.state)

Definition at line 62 of file gps_sirf.h.



Definition at line 36 of file gps_sirf.h.



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.

Function Documentation

◆ gps_sirf_event()

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().

+ Here is the call graph for this function:

◆ gps_sirf_init()

void gps_sirf_init ( void  )

Variable Documentation

◆ gps_sirf