SparkFun Iridium 9604  v1.0.0
Library for the Iridium 9604 Hybrid LTE-M Cellular + Iridium Satellite (SBD) + GNSS IoT module
Loading...
Searching...
No Matches
nmeaMessage.h File Reference
#include "sfe_platform.h"
#include <string.h>
#include "nmeaMessageRegistry.h"
Include dependency graph for nmeaMessage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SparkFun_Iridium_9604::nmeaCallbackDataCommon_t
 Forward declaration - see nmeaCallbackDataCommon_t below. More...
 
class  SparkFun_Iridium_9604::nmeaMessage
 The base class for the NMEA messages. Each message stores its latest copy and a ring buffer of copies for the callback. More...
 
struct  SparkFun_Iridium_9604::nmeaMessage::nmeaField
 One entry per field in the message payload. More...
 

Namespaces

namespace  SparkFun_Iridium_9604
 

Enumerations

enum  SparkFun_Iridium_9604::nmea_status_e { SparkFun_Iridium_9604::NMEA_STATUS_SUCCESS , SparkFun_Iridium_9604::NMEA_STATUS_INVALID_ARG , SparkFun_Iridium_9604::NMEA_STATUS_MEM_ERR }
 Status codes returned by the nmeaMessageVector methods (replaces GNSS v4's sfe_ublox_status_e) More...
 
enum  SparkFun_Iridium_9604::nmeaFieldFormats_t {
  SparkFun_Iridium_9604::nmeaDataTypeString , SparkFun_Iridium_9604::nmeaDataTypeTime , SparkFun_Iridium_9604::nmeaDataTypeDDMM , SparkFun_Iridium_9604::nmeaDataTypeDDDMM ,
  SparkFun_Iridium_9604::nmeaDataTypeChar , SparkFun_Iridium_9604::nmeaDataTypeDigit , SparkFun_Iridium_9604::nmeaDataTypeNumeric
}
 NMEA message field formats. More...
 

Variables

const uint8_t SparkFun_Iridium_9604::NMEA_DTM_MAX_LENGTH = 70
 The maximum length of the NMEA DTM message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_GBS_MAX_LENGTH = 90
 The maximum length of the NMEA GBS message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_GGA_MAX_LENGTH = 100
 The maximum length of the NMEA GGA message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_GLL_MAX_LENGTH = 70
 The maximum length of the NMEA GLL message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_GNS_MAX_LENGTH = 100
 The maximum length of the NMEA GNS message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_GRS_MAX_LENGTH = 100
 The maximum length of the NMEA GRS message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_GSA_MAX_LENGTH = 90
 The maximum length of the NMEA GSA message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_GST_MAX_LENGTH = 100
 The maximum length of the NMEA GST message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_GSV_MAX_LENGTH = 100
 Variable length - up to 4 satellite blocks. More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_RMC_MAX_LENGTH = 100
 The maximum length of the NMEA RMC message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_VLW_MAX_LENGTH = 70
 The maximum length of the NMEA VLW message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_VTG_MAX_LENGTH = 70
 The maximum length of the NMEA VTG message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_ZDA_MAX_LENGTH = 50
 The maximum length of the NMEA ZDA message (bytes). More...
 
const uint8_t SparkFun_Iridium_9604::NMEA_MAX_LENGTH = 100
 The largest of the above. The URC parser uses this. More...
 

Detailed Description

Date
2026

SPDX-License-Identifier: MIT

Please see LICENSE.md for more details

https://github.com/sparkfun/SparkFun_Iridium_9604_Library

Support for the NMEA message class nmeaMessage.

Copied from the SparkFun u-blox GNSS v4 library, with these changes for the Iridium 9604:

  • everything is inside namespace SparkFun_Iridium_9604 (so this library and GNSS v4 can be used together)
  • the u-blox CFG-MSGOUT keys (_msgOutKeys) are removed. The Iridium 9604 enables NMEA messages with AT+UGNMEA, by message name - see DevIridium9604::setNMEAoutput()
  • the NMEA_xxx_MAX_LENGTH constants and nmea_status_e are defined here (they were in u-blox_structs.h and u-blox_external_typedefs.h)
  • _urcEnabled / _memoryEnabled record the AT+UGNMEA <output> destination (they replace _automatic)