Decodes NMEA frames received from an external GNSS receiver
This library can be used to handle received GNSS data based on NMEA format received from any external GNSS receiver module that is connected to one of the UART/RS232 peripheral interfaces. Decoding of frames with Sentence ID "GGA", "GLL", "GSA", "GSV", "RMC" and "VTG" is supported, providing information about longitude, latitude, speed, course and many other GNSS data tokens. In addition, checksum calculation is implemented as well as predefined structures and debugging functions.
Maximum number of satellites for which data can be included in the GSV sentences
Maximum number of satellites for which the PRN number can be included in the GSA sentence
Types of global navigation satellite systems
Control flags for the GNSS_Getxxx() functions
Function to initialise UART/RS232 interface
Function to close the UART/RS232 interface
Information extracted from a GGA sentence (Global Positioning System Fixed Data). The GGA sentence contains time, position and fix type data.
Information extracted from a GLL sentence (Geographic Position - Latitude/Longitude). The GSV sentence contains latitude, longitude, UTC time of position fix and status.
Information extracted from a GSA sentence (GNSS DOP and Active Satellites). The GSA sentence contains GPS receiver operating mode, satellites used in the position solution and DOP values.
Information extracted from a GSV sentence (GNSS Satellites in View). The GSV sentence contains the number of GPS satellites in view, satellite ID numbers, elevation, azimuth, and SNR values.
Information extracted from a RMC sentence (Recommended Minimum Specific GNSS Data). The GSV sentence contains time, date, position, course and speed data.
Information extracted from a VTG sentence (Course Over Ground and Ground Speed). The VTG sentence contains course and speed information relative to the ground.
checks whether valid GGA data is available and returns it using the passed TGNSS_GGA structure
checks whether valid GLL data is available and returns it using the passed TGNSS_GLL structure
checks whether valid GSA data for GPS or GLONASS satellites is available and returns it using the passed TGNSS_GSA structure
returns the number of satellites (GPS or GLONASS) for which valid GSV data is available (idx < 0) or checks whether valid GSV data for a specific satellite ( GPS or GLONASS ) is available and returns it using the passed TGNSS_GSV structure (idx >= 0)
checks whether valid RMC data is available and returns it using the passed TGNSS_RMC structure
checks whether valid TVG data is available and returns it using the passed TGNSS_TVG structure
Function to verify NMEA frame checksum
Function to get the Talker ID of a NMEA frame or a token
Function to get the Sentence ID of a NMEA frame or a token
This function decodes NMEA frames with Sentence ID "GGA". The data is stored in the given structure. For conversion/resolution information of the stored data, please refer to the TGNSS_GGA structure.
This function decodes NMEA frames with Sentence ID "GLL". The data is stored in the given structure. For conversion/resolution information of the stored data, please refer to the TGNSS_GLL structure.
This function decodes NMEA frames with Sentence ID "GSA". The data is stored in the given structure. For conversion/resolution information of the stored data, please refer to the TGNSS_GSA structure.
This function decodes NMEA frames with Sentence ID "GSV".
This function decodes NMEA frames with Sentence ID "RMC". The data is stored in the given structure. For conversion/resolution information of the stored data, please refer to the TGNSS_RMC structure.
This function decodes NMEA frames with Sentence ID "VTG". The data is stored in the given structure. For conversion/resolution information of the stored data, please refer to the TGNSS_VTG structure.
GNSS serial interface configuration bits (bitmask)
Output mode for debug functions such as the GNSS_PrintData function
Selection of which GNSS data should be output by debug functions such as GNSS_PrintData.
Issues a NMEA data frame via the console
Issues the NMEA sentences data storedin the internal buffers of the GNSS library either via the console or the watch panel