Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gps_skytraq.h File Reference
+ Include dependency graph for gps_skytraq.h:

Go to the source code of this file.

Data Structures

struct  GpsSkytraq
 

Macros

#define SKYTRAQ_ID_NAVIGATION_DATA   0XA8
 
#define GPS_SKYTRAQ_MAX_PAYLOAD   255
 

Enumerations

enum  GpsSkytraqError {
  GPS_SKYTRAQ_ERR_NONE = 0, GPS_SKYTRAQ_ERR_OVERRUN, GPS_SKYTRAQ_ERR_MSG_TOO_LONG, GPS_SKYTRAQ_ERR_CHECKSUM,
  GPS_SKYTRAQ_ERR_OUT_OF_SYNC, GPS_SKYTRAQ_ERR_UNEXPECTED
}
 

Functions

void gps_skytraq_read_message (void)
 
void gps_skytraq_parse (uint8_t c)
 
void gps_skytraq_msg (void)
 
static void GpsEvent (void)
 

Variables

struct GpsSkytraq gps_skytraq
 

Data Structure Documentation

struct GpsSkytraq

Definition at line 40 of file gps_skytraq.h.

+ Collaboration diagram for GpsSkytraq:
Data Fields
uint8_t checksum
uint8_t error_cnt
enum GpsSkytraqError error_last
uint16_t len
bool_t msg_available
uint8_t msg_buf[GPS_SKYTRAQ_MAX_PAYLOAD]
uint8_t msg_id
uint8_t msg_idx
struct LtpDef_i ref_ltp
uint8_t status

Macro Definition Documentation

#define GPS_SKYTRAQ_MAX_PAYLOAD   255

Definition at line 39 of file gps_skytraq.h.

Referenced by gps_skytraq_parse().

#define SKYTRAQ_ID_NAVIGATION_DATA   0XA8

Definition at line 27 of file gps_skytraq.h.

Referenced by gps_skytraq_msg(), and gps_skytraq_read_message().

Enumeration Type Documentation

Enumerator
GPS_SKYTRAQ_ERR_NONE 
GPS_SKYTRAQ_ERR_OVERRUN 
GPS_SKYTRAQ_ERR_MSG_TOO_LONG 
GPS_SKYTRAQ_ERR_CHECKSUM 
GPS_SKYTRAQ_ERR_OUT_OF_SYNC 
GPS_SKYTRAQ_ERR_UNEXPECTED 

Definition at line 30 of file gps_skytraq.h.

Function Documentation

static void GpsEvent ( void  )
inlinestatic

Variable Documentation

struct GpsSkytraq gps_skytraq