Adafruit GPS Library
Classes | Macros | Enumerations
Adafruit_GNSS.h File Reference

Transport-independent decoding of standard GNSS fields. More...

#include "Adafruit_NMEA.h"

Go to the source code of this file.

Classes

struct  gnss_coordinate_t
 
struct  gnss_time_t
 Decoded UTC time; all components are zero on failure. More...
 
struct  gnss_date_t
 Decoded NMEA date; no century is inferred. Components are zero on failure. More...
 
struct  gnss_validation_t
 Validation result; coordinate-pair errors identify the coordinate field. More...
 
struct  gnss_position_t
 
class  Adafruit_GNSS
 

Macros

#define GNSS_COORDINATE_TEXT_SIZE   17
 Maximum coordinate text size: sign, three degrees, dot, 11 decimals, NUL.
 

Enumerations

enum  gnss_sentence_status_t : uint8_t {
  GNSS_SENTENCE_VALID, GNSS_SENTENCE_UNSUPPORTED, GNSS_SENTENCE_MISSING_FIELDS, GNSS_SENTENCE_INVALID_FIELD,
  GNSS_SENTENCE_INVALID_FRAME
}
 Result of validating fields used by a standard navigation decoder. More...
 

Detailed Description

Transport-independent decoding of standard GNSS fields.

Written for Adafruit Industries. BSD license; see license.txt.

Enumeration Type Documentation

◆ gnss_sentence_status_t

enum gnss_sentence_status_t : uint8_t

Result of validating fields used by a standard navigation decoder.

Enumerator
GNSS_SENTENCE_VALID 

Supported fields are valid or empty.

GNSS_SENTENCE_UNSUPPORTED 

This validator does not handle the type.

GNSS_SENTENCE_MISSING_FIELDS 

A required field position is absent.

GNSS_SENTENCE_INVALID_FIELD 

A populated field has invalid content.

GNSS_SENTENCE_INVALID_FRAME 

No complete frame with valid checksum.