GPS Configuration

This is the default configuration of the middleware. When any of the settings shall be modified, it shall be done in library header file, gps_nmea_parser/src/include/ow/ow.h

group GPS_NMEA_CONFIG

Default configuration setup.

Defines

GPS_CFG_DOUBLE

Enables 1 or disables 0 double precision for floating point values such as latitude, longitude, altitude.

double is used as variable type when enabled, float when disabled.

GPS_CFG_STATUS

Enables 1 or disables 0 status reporting callback by gps_process()

Note

This is an extension, so not enabled by default.

GPS_CFG_STATEMENT_GPGGA

Enables 1 or disables 0 GGA statement parsing.

Note

This statement must be enabled to parse:

  • Latitude, Longitude, Altitude

  • Number of satellites in use, fix (no fix, GPS, DGPS), UTC time

GPS_CFG_STATEMENT_GPGSA

Enables 1 or disables 0 GSA statement parsing.

Note

This statement must be enabled to parse:

  • Position/Vertical/Horizontal dilution of precision

  • Fix mode (no fix, 2D, 3D fix)

  • IDs of satellites in use

GPS_CFG_STATEMENT_GPRMC

Enables 1 or disables 0 RMC statement parsing.

Note

This statement must be enabled to parse:

  • Validity of GPS signal

  • Ground speed in knots and coarse in degrees

  • Magnetic variation

  • UTC date

GPS_CFG_STATEMENT_GPGSV

Enables 1 or disables 0 GSV statement parsing.

Note

This statement must be enabled to parse:

GPS_CFG_STATEMENT_GPGSV_SAT_DET

Enables 1 or disables 0 detailed parsing of each satellite in view for GSV statement.

Note

When this feature is disabled, only number of “satellites in view” is parsed

GPS_CFG_STATEMENT_PUBX

Enables 1 or disables 0 parsing and generation of PUBX (uBlox) messages.

PUBX are a nonstandard ublox-specific extensions, so disabled by default.

GPS_CFG_STATEMENT_PUBX_TIME

Enables 1 or disables 0 parsing and generation of PUBX (uBlox) TIME messages.

This is a nonstandard ublox-specific extension, so disabled by default.

Note

TIME messages can be used to obtain:

  • UTC time of week

  • UTC week number

  • Leap seconds (allows conversion to eg. TAI)

This configure option requires GPS_CFG_STATEMENT_PUBX