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
SparkFun_Iridium_9604 Namespace Reference

Classes

class  IridiumDeviceBus
 The following abstract class is used as an interface for the platform-specific implementations. It replicates the methods of the GNSS v4 GNSSDeviceBus which are meaningful for a UART, and adds the UART-specific setBaudRate() - the Iridium 9604 library changes the baud rate during initialization (autobaud) and when setBaud() is called. More...
 
struct  nmeaCallbackDataCommon_t
 Forward declaration - see nmeaCallbackDataCommon_t below. More...
 
class  nmeaDTM
 The NMEA DTM message: Datum reference. More...
 
class  nmeaGBS
 The NMEA GBS message: GNSS satellite fault detection. More...
 
class  nmeaGGA
 The NMEA GGA message: Global positioning system fix data. More...
 
class  nmeaGLL
 The NMEA GLL message: Latitude and longitude, with time of position fix and status. More...
 
class  nmeaGNS
 The NMEA GNS message: GNSS fix data. More...
 
class  nmeaGRS
 The NMEA GRS message: GNSS range residuals. More...
 
class  nmeaGSA
 The NMEA GSA message: GNSS DOP and active satellites. More...
 
class  nmeaGST
 The NMEA GST message: GNSS pseudorange error statistics. More...
 
class  nmeaGSV
 The NMEA GSV message: GNSS satellites in view. More...
 
class  nmeaMessage
 The base class for the NMEA messages. Each message stores its latest copy and a ring buffer of copies for the callback. More...
 
class  nmeaMessageBuilder
 Declared (by nmeaRegisterMessage) at the bottom of each message header. Registers the message class with the nmeaMessageRegistry. More...
 
class  nmeaMessageRegistry
 The registry of NMEA message classes - mirrors the GNSS v4 nmeaMessageRegistry. More...
 
class  nmeaMessageVector
 The collection of NMEA message objects. More...
 
class  nmeaRMC
 The NMEA RMC message: Recommended minimum data. More...
 
class  nmeaVLW
 The NMEA VLW message: Dual ground/water distance. More...
 
class  nmeaVTG
 The NMEA VTG message: Course over ground and ground speed. More...
 
class  nmeaZDA
 The NMEA ZDA message: Time and date. More...
 
class  SfeDebugPrint
 Debug printing: replaces the SARA-R5 library _debugPort prints. A base class of DevIridium9604 and the URC / NMEA classes. More...
 
class  urcAREG
 The URC handler for +AREG: - SBD Automatic Registration event. See the file description for the callback(s). More...
 
class  urcCEREG
 The URC handler for +CEREG: - EPS network registration status. See the file description for the callback(s). More...
 
class  urcCIEV
 The URC handler for +CIEV: - Satellite Indicator Event. See the file description for the callback(s). More...
 
class  urcCREG
 The URC handler for +CREG: - Network registration status. See the file description for the callback(s). More...
 
class  urcHandler
 The base class for the URC handlers. See the file description for how to add a new URC. More...
 
class  urcHandlerBuilder
 Declared (by urcRegisterHandler) at the bottom of each URC handler header. Registers the handler class with the urcHandlerRegistry. More...
 
class  urcHandlerInterface
 urcHandlerInterface: the services DevIridium9604 provides to the URC handlers. DevIridium9604 inherits (implements) this interface. More...
 
class  urcHandlerRegistry
 The registry of URC handler classes - mirrors the GNSS v4 message registries. More...
 
class  urcHandlerVector
 The collection of registered URC handlers. Replaces the SARA-R5 processURCEvent(). More...
 
class  urcUUFTPCR
 The URC handler for +UUFTPCR: - FTP Command Result. See the file description for the callback(s). More...
 
class  urcUUGIND
 The URC handler for +UUGIND: - Assisted GNSS indication. See the file description for the callback(s). More...
 
class  urcUUGNMEA
 The URC handler for +UUGNMEA: - GNSS NMEA message. See the file description for the callback(s). More...
 
class  urcUUHTTPCR
 The URC handler for +UUHTTPCR: - HTTP Command Result. See the file description for the callback(s). More...
 
class  urcUULOC
 The URC handler for +UULOC: - Localization information (CellLocate and hybrid positioning). See the file description for the callback(s). More...
 
class  urcUUMQTTC
 The URC handler for +UUMQTTC: - MQTT Command Result. See the file description for the callback(s). More...
 
class  urcUUPING
 The URC handler for +UUPING: - Ping Result. See the file description for the callback(s). More...
 
class  urcUUSIMSTAT
 The URC handler for +UUSIMSTAT: - SIM state. See the file description for the callback(s). More...
 
class  urcUUSOCL
 The URC handler for +UUSOCL: - Close Socket notification. See the file description for the callback(s). More...
 
class  urcUUSOLI
 The URC handler for +UUSOLI: - Set Listening Socket: incoming connection. See the file description for the callback(s). More...
 
class  urcUUSORD
 The URC handler for +UUSORD: - Read Socket Data notification. See the file description for the callback(s). More...
 
class  urcUUSORF
 The URC handler for +UUSORF: - Receive From command (UDP only) notification. See the file description for the callback(s). More...
 

Typedefs

typedef void(* urcCallback_t) (void)
 The generic URC callback type. Cast your callback to this for setURCCallback(). More...
 

Enumerations

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

Functions

 nmeaRegisterMessage (nmeaDTM)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaGBS)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaGGA)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaGLL)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaGNS)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaGRS)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaGSA)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaGST)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaGSV)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaRMC)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaVLW)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaVTG)
 Register this message class. More...
 
 nmeaRegisterMessage (nmeaZDA)
 Register this message class. More...
 
 urcRegisterHandler (urcAREG)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcCEREG)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcCIEV)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcCREG)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUUFTPCR)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUUGIND)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUUGNMEA)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUUHTTPCR)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUULOC)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUUMQTTC)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUUPING)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUUSIMSTAT)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUUSOCL)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUUSOLI)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUUSORD)
 Register this URC handler class. More...
 
 urcRegisterHandler (urcUUSORF)
 Register this URC handler class. More...
 

Variables

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

Typedef Documentation

◆ urcCallback_t

typedef void(* SparkFun_Iridium_9604::urcCallback_t) (void)

The generic URC callback type. Cast your callback to this for setURCCallback().

Enumeration Type Documentation

◆ nmea_status_e

Status codes returned by the nmeaMessageVector methods (replaces GNSS v4's sfe_ublox_status_e)

Enumerator
NMEA_STATUS_SUCCESS 
NMEA_STATUS_INVALID_ARG 
NMEA_STATUS_MEM_ERR 

◆ nmeaFieldFormats_t

NMEA message field formats.

Enumerator
nmeaDataTypeString 

An array of ASCII char.

nmeaDataTypeTime 

Time in the format HHMMSS. Could have a variable number of decimal places: HHMMSS.SSS.

nmeaDataTypeDDMM 

Degrees Minutes for Latitude: 2 digit degrees, 2 digit minutes. Could have a variable number of decimal places: DDMM.MMMMMMM.

nmeaDataTypeDDDMM 

Degrees Minutes for Longitude: 3 digit degrees, 2 digit minutes. Could have a variable number of decimal places: DDDMM.MMMMMMM.

nmeaDataTypeChar 

A single ASCII character: e.g. N S E W M.

nmeaDataTypeDigit 

A single ASCII digit: 0-9.

nmeaDataTypeNumeric 

A numeric: could be integer or floating point; could be negative.

Function Documentation

◆ nmeaRegisterMessage() [1/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaDTM  )

Register this message class.

◆ nmeaRegisterMessage() [2/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaGBS  )

Register this message class.

◆ nmeaRegisterMessage() [3/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaGGA  )

Register this message class.

◆ nmeaRegisterMessage() [4/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaGLL  )

Register this message class.

◆ nmeaRegisterMessage() [5/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaGNS  )

Register this message class.

◆ nmeaRegisterMessage() [6/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaGRS  )

Register this message class.

◆ nmeaRegisterMessage() [7/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaGSA  )

Register this message class.

◆ nmeaRegisterMessage() [8/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaGST  )

Register this message class.

◆ nmeaRegisterMessage() [9/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaGSV  )

Register this message class.

◆ nmeaRegisterMessage() [10/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaRMC  )

Register this message class.

◆ nmeaRegisterMessage() [11/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaVLW  )

Register this message class.

◆ nmeaRegisterMessage() [12/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaVTG  )

Register this message class.

◆ nmeaRegisterMessage() [13/13]

SparkFun_Iridium_9604::nmeaRegisterMessage ( nmeaZDA  )

Register this message class.

◆ urcRegisterHandler() [1/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcAREG  )

Register this URC handler class.

◆ urcRegisterHandler() [2/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcCEREG  )

Register this URC handler class.

◆ urcRegisterHandler() [3/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcCIEV  )

Register this URC handler class.

◆ urcRegisterHandler() [4/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcCREG  )

Register this URC handler class.

◆ urcRegisterHandler() [5/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUUFTPCR  )

Register this URC handler class.

◆ urcRegisterHandler() [6/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUUGIND  )

Register this URC handler class.

◆ urcRegisterHandler() [7/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUUGNMEA  )

Register this URC handler class.

◆ urcRegisterHandler() [8/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUUHTTPCR  )

Register this URC handler class.

◆ urcRegisterHandler() [9/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUULOC  )

Register this URC handler class.

◆ urcRegisterHandler() [10/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUUMQTTC  )

Register this URC handler class.

◆ urcRegisterHandler() [11/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUUPING  )

Register this URC handler class.

◆ urcRegisterHandler() [12/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUUSIMSTAT  )

Register this URC handler class.

◆ urcRegisterHandler() [13/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUUSOCL  )

Register this URC handler class.

◆ urcRegisterHandler() [14/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUUSOLI  )

Register this URC handler class.

◆ urcRegisterHandler() [15/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUUSORD  )

Register this URC handler class.

◆ urcRegisterHandler() [16/16]

SparkFun_Iridium_9604::urcRegisterHandler ( urcUUSORF  )

Register this URC handler class.

Variable Documentation

◆ NMEA_DTM_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_DTM_MAX_LENGTH = 70

The maximum length of the NMEA DTM message (bytes).

◆ NMEA_GBS_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_GBS_MAX_LENGTH = 90

The maximum length of the NMEA GBS message (bytes).

◆ NMEA_GGA_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_GGA_MAX_LENGTH = 100

The maximum length of the NMEA GGA message (bytes).

◆ NMEA_GLL_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_GLL_MAX_LENGTH = 70

The maximum length of the NMEA GLL message (bytes).

◆ NMEA_GNS_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_GNS_MAX_LENGTH = 100

The maximum length of the NMEA GNS message (bytes).

◆ NMEA_GRS_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_GRS_MAX_LENGTH = 100

The maximum length of the NMEA GRS message (bytes).

◆ NMEA_GSA_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_GSA_MAX_LENGTH = 90

The maximum length of the NMEA GSA message (bytes).

◆ NMEA_GST_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_GST_MAX_LENGTH = 100

The maximum length of the NMEA GST message (bytes).

◆ NMEA_GSV_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_GSV_MAX_LENGTH = 100

Variable length - up to 4 satellite blocks.

◆ NMEA_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_MAX_LENGTH = 100

The largest of the above. The URC parser uses this.

◆ NMEA_RMC_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_RMC_MAX_LENGTH = 100

The maximum length of the NMEA RMC message (bytes).

◆ NMEA_VLW_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_VLW_MAX_LENGTH = 70

The maximum length of the NMEA VLW message (bytes).

◆ NMEA_VTG_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_VTG_MAX_LENGTH = 70

The maximum length of the NMEA VTG message (bytes).

◆ NMEA_ZDA_MAX_LENGTH

const uint8_t SparkFun_Iridium_9604::NMEA_ZDA_MAX_LENGTH = 50

The maximum length of the NMEA ZDA message (bytes).

◆ URC_MAX_CALLBACKS

const uint8_t SparkFun_Iridium_9604::URC_MAX_CALLBACKS = 3

The maximum number of user callbacks per URC.