Harry Keane / X_NUCLEO_GNSS1A1

Dependents:   A_TeseoLocationNEW A_TeseoLocation

Embed: (wiki syntax)

« Back to documentation index

NMEAParser.h File Reference

NMEAParser.h File Reference

NMEA sentence parser. More...

Go to the source code of this file.

Data Structures

struct  Coords
 Data structure that contains the coordinates informations. More...
struct  Geoid_Info
 Data structure that contains the Gps geoids informations. More...
struct  UTC_Info
 Data structure that contains the UTC informations. More...
struct  GSV_SAT_Info
 Data structure that contains the UTC informations. More...
struct  GPGGA_Infos
 Data structure that contains all of the informations about the GPS position. More...
struct  GNS_Infos
 Data structure that contains all of the informations about the fix data for single or combined satellite navigation system. More...
struct  GPGST_Infos
 Data structure that contains all of the GPS Pseudorange Noise Statistics. More...
struct  GPRMC_Infos
 Data structure that contains all the Recommended Minimum Specific GPS/Transit data. More...
struct  GSA_Infos
 Data structure that contains all of the informations about the GSA satellites. More...
struct  GSV_Infos
 Data structure that contains all of the informations about the GSV satellites. More...
struct  Timestamp_Info
 Data structure that contains timestamp. More...
struct  Geofence_Infos
 Data structure that contains all of the information about Geofence. More...
struct  Odometer_Infos
 Data structure that contains all of the information about Ododmeter. More...
struct  Datalog_Infos
 Data structure that contains all of the information about Datalog. More...

Typedefs

typedef struct Coords Coords
 Data structure that contains the coordinates informations.
typedef struct Geoid_Info Geoid_Info
 Data structure that contains the Gps geoids informations.
typedef struct UTC_Info UTC_Info
 Data structure that contains the UTC informations.
typedef struct GSV_SAT_Info GSV_SAT_Info
 Data structure that contains the UTC informations.
typedef struct GPGGA_Infos GPGGA_Infos
 Data structure that contains all of the informations about the GPS position.
typedef struct GNS_Infos GNS_Infos
 Data structure that contains all of the informations about the fix data for single or combined satellite navigation system.
typedef struct GPGST_Infos GPGST_Infos
 Data structure that contains all of the GPS Pseudorange Noise Statistics.
typedef struct GPRMC_Infos GPRMC_Infos
 Data structure that contains all the Recommended Minimum Specific GPS/Transit data.
typedef struct GSA_Infos GSA_Infos
 Data structure that contains all of the informations about the GSA satellites.
typedef struct GSV_Infos GSV_Infos
 Data structure that contains all of the informations about the GSV satellites.
typedef struct Timestamp_Info Timestamp_Info
 Data structure that contains timestamp.
typedef struct Geofence_Infos Geofence_Infos
 Data structure that contains all of the information about Geofence.
typedef struct Odometer_Infos Odometer_Infos
 Data structure that contains all of the information about Ododmeter.
typedef struct Datalog_Infos Datalog_Infos
 Data structure that contains all of the information about Datalog.
typedef uint8_t Ack_Info
 Ack from Teseo.

Enumerations

enum  ParseFeatureMsg_Typedef
 

Enumeration structure that containes the types of feature messages.

More...
enum  ParseStatus_Typedef { PARSE_SUCC = 0, PARSE_FAIL = 1 }
 

Enumeration structure that containes the two success states of a parsing process.

More...
enum  GPS_ValidTypedef {
  INVALID = 0, VALID = 1, DGPS_FIX = 2, PPS_FIX = 3,
  REAL_TIME = 4, FLOAT_REAL_TIME = 5, ESTIMATED = 6, MANUAL_MODE = 7,
  SIMULATION_MODE = 8
}
 

Enumeration structure that containes the tipologies of Gps fixing process got from a NMEA string.

More...

Functions

ParseStatus_Typedef parse_gpgga (GPGGA_Infos *gpgga_data, uint8_t *NMEA)
 Function that makes the parsing of the $GPGGA NMEA string with all Global Positioning System Fixed data.
ParseStatus_Typedef parse_gnsmsg (GNS_Infos *gns_data, uint8_t *NMEA)
 Function that makes the parsing of the string read by the Gps expansion, capturing the right parameters from it.
ParseStatus_Typedef parse_gpgst (GPGST_Infos *gpgst_data, uint8_t *NMEA)
 Function that makes the parsing of the $GPGST NMEA string with GPS Pseudorange Noise Statistics.
ParseStatus_Typedef parse_gprmc (GPRMC_Infos *gprmc_data, uint8_t *NMEA)
 Function that makes the parsing of the $GPRMC NMEA string with Recommended Minimum Specific GPS/Transit data.
ParseStatus_Typedef parse_gsamsg (GSA_Infos *gsa_data, uint8_t *NMEA)
 Function that makes the parsing of the string read by the Gps expansion, capturing the right parameters from it.
ParseStatus_Typedef parse_gsvmsg (GSV_Infos *gsv_data, uint8_t *NMEA)
 Function that makes the parsing of the string read by the Gps expansion, capturing the right parameters from it.
void copy_data (GPGGA_Infos *info, GPGGA_Infos gps_t)
 This function makes a copy of the datas stored into gps_t into the 'info' param.
ParseStatus_Typedef parse_pstmgeofence (Geofence_Infos *geofence_data, uint8_t *NMEA)
ParseStatus_Typedef parse_pstmodo (Odometer_Infos *odo_data, uint8_t *NMEA)
ParseStatus_Typedef parse_pstmdatalog (Datalog_Infos *datalog_data, uint8_t *NMEA)
ParseStatus_Typedef parse_pstmsgl (Ack_Info *ack, uint8_t *NMEA)
ParseStatus_Typedef parse_pstmsavepar (Ack_Info *ack, uint8_t *NMEA)

Detailed Description

NMEA sentence parser.

Author:
AST / Central Lab
Version:
V1.0.0
Date:
18-May-2017
Attention:

© COPYRIGHT(c) 2017 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.st.com/software_license_agreement_liberty_v2

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file NMEAParser.h.