Adafruit GPS Library
Public Attributes | List of all members
nmea_datavalue_t Struct Reference

#include <NMEA_data.h>

Public Attributes

nmea_float_t latest = 0.0
 the most recently obtained value
 
nmea_float_t smoothed
 smoothed value based on weight of dt/response More...
 
uint32_t lastUpdate = 0
 millis() when latest was last set
 
uint16_t response = 1000
 time constant in millis for smoothing
 
nmea_value_type_t type
 type of float data value represented More...
 
byte ockam = 0
 the corresponding Ockam Instruments tag number, 0-128
 
nmea_history_thist = NULL
 pointer to history, if any
 
char * label = NULL
 pointer to quantity label, if any
 
char * unit = NULL
 pointer to units label, if any
 
char * fmt = NULL
 pointer to format string, if any
 

Detailed Description

Struct to contain all the details associated with an NMEA data value that can be tracked through time to see how it changes, carries a label, units, and a format string to determine how it is displayed. Memory footprint of about 32 bytes per data value, so not tenable in small memory spaces.

Member Data Documentation

◆ smoothed

nmea_float_t nmea_datavalue_t::smoothed
Initial value:
=
0.0

smoothed value based on weight of dt/response

◆ type

nmea_value_type_t nmea_datavalue_t::type
Initial value:

type of float data value represented


The documentation for this struct was generated from the following file: