Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
Mediatek MT3329 specific code. More...
Go to the source code of this file.
Data Structures | |
struct | GpsMtk |
Macros | |
#define | GPS_MTK_MAX_PAYLOAD 255 |
Includes macros generated from mtk.xml. More... | |
#define | PRIMARY_GPS GPS_MTK |
#define | gps_mtk_periodic_check() gps_periodic_check(&gps_mtk.state) |
#define | GpsConfigure() {} |
Functions | |
void | gps_mtk_event (void) |
void | gps_mtk_init (void) |
Variables | |
struct GpsMtk | gps_mtk |
Mediatek MT3329 specific code.
supports: DIYDrones V1.4 protocol (AXN1.30_2278) DIYDrones V1.6 protocol (AXN1.30_2389)
documentation is partly incorrect, see mtk.xml for what seems to be "real"
Definition in file gps_mtk.h.
struct GpsMtk |
Data Fields | ||
---|---|---|
uint8_t | ck_a | |
uint8_t | ck_b | |
uint8_t | error_cnt | |
uint8_t | error_last | |
uint16_t | len | |
bool | msg_available | |
uint8_t | msg_buf[GPS_MTK_MAX_PAYLOAD] | |
uint8_t | msg_class | |
uint8_t | msg_id | |
uint8_t | msg_idx | |
uint8_t | send_ck_a | |
uint8_t | send_ck_b | |
uint8_t | sol_flags | |
struct GpsState | state | |
uint8_t | status | |
uint8_t | status_flags |
#define GPS_MTK_MAX_PAYLOAD 255 |
#define gps_mtk_periodic_check | ( | ) | gps_periodic_check(&gps_mtk.state) |
#define GpsConfigure | ( | ) | {} |
Definition at line 85 of file gps_mtk.h.
Referenced by gps_mtk_event().
void gps_mtk_event | ( | void | ) |
Definition at line 123 of file gps_mtk.c.
References dev, gps_mtk, gps_mtk_msg(), gps_mtk_parse(), GpsConfigure, and GpsMtk::msg_available.
void gps_mtk_init | ( | void | ) |
Definition at line 111 of file gps_mtk.c.
References GpsMtk::error_cnt, GpsMtk::error_last, gps_mtk, GPS_MTK_ERR_NONE, GpsMtk::msg_available, GpsMtk::status, and UNINIT.
struct GpsMtk gps_mtk |
Definition at line 83 of file gps_mtk.c.
Referenced by gps_mtk_event(), gps_mtk_init(), gps_mtk_msg(), gps_mtk_parse(), and gps_mtk_read_message().