Classes | Public Member Functions

AP_GPS_MTK Class Reference

#include <AP_GPS_MTK.h>

Inherits GPS.

Collaboration diagram for AP_GPS_MTK:
Collaboration graph
[legend]

List of all members.

Classes

struct  diyd_mtk_msg

Public Member Functions

 AP_GPS_MTK (Stream *s)
virtual void init (void)
virtual bool read (void)

Detailed Description

Definition at line 21 of file AP_GPS_MTK.h.


Constructor & Destructor Documentation

AP_GPS_MTK::AP_GPS_MTK ( Stream s  ) 

Definition at line 18 of file AP_GPS_MTK.cpp.


Member Function Documentation

void AP_GPS_MTK::init ( void   )  [virtual]

Startup initialisation.

This routine performs any one-off initialisation required to set the GPS up for use.

Must be implemented by the GPS driver.

Implements GPS.

Definition at line 24 of file AP_GPS_MTK.cpp.

bool AP_GPS_MTK::read ( void   )  [virtual]

read from the GPS stream and update properties

Must be implemented by the GPS driver.

Returns:
true if a valid message was received from the GPS

Implements GPS.

Definition at line 47 of file AP_GPS_MTK.cpp.


Member Data Documentation

uint8_t AP_GPS_MTK::bytes[]

Definition at line 64 of file AP_GPS_MTK.h.

diyd_mtk_msg AP_GPS_MTK::msg

Definition at line 63 of file AP_GPS_MTK.h.


The documentation for this class was generated from the following files: