INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
gbxgarminacfr::Driver Class Reference#include <driver.h>
Detailed DescriptionGarmin GPS driver.All Garmin receivers understand the latest NMEA standard which is called: 0183 version 2.0. This standard dictates a transfer rate of 4800 baud. This driver can read only the following messages (sentences):
Processing of individual messages can be disabled in the Config structure. Note that when fixType contained in the GPGGA is Invalid, all other data in all messages except the time stamps are meaningless. Referennces: Constructor & Destructor Documentation
Constructor gbxutilacfr::Tracer and gbxutilacfr::Status allow (human-readable and machine-readable respectively) external monitorining of the driver's internal state. References gbxutilacfr::Tracer::debug(), gbxgarminacfr::Config::device, gbxgarminacfr::Config::isValid(), and gbxgarminacfr::Config::toString().
Member Function Documentation
Blocks till new data is available. Throws gbxutilacfr::Exception when a problem is encountered.
std::auto_ptr<gbxgarminacfr::GenericData> data; try { data = device->read(); } catch ( const std::exception& e ) { cout <<"Test: Failed to read data: "<<e.what()<<endl; } References gbxutilacfr::Tracer::debug(), gbxutilacfr::Tracer::error(), gbxgarminacfr::Config::ignoreUnknown, gbxgarminacfr::Config::readGga, gbxgarminacfr::Config::readRmc, gbxgarminacfr::Config::readRme, and gbxgarminacfr::Config::readVtg.
The documentation for this class was generated from the following files:
|