Developer World
Spresense Arduino Library v3.2.0-77d75a4
GNSS Library API

API for using GNSS. More...

Classes

class  SpGnssTime
 Time acquired from the satellite at the time of positioning. More...
 
class  SpSatellite
 Satellite information using positioning. More...
 
class  SpNavData
 GNSS positioning data. More...
 
class  SpGnss
 GNSS controller. More...
 

Enumerations

enum  SpFixMode { FixInvalid = 1 , Fix2D , Fix3D }
 status of pos fix
 
enum  SpStartMode { COLD_START , WARM_START , HOT_START }
 Mode to set to GNSS at the start of positioning. More...
 
enum  SpPrintLevel { PrintNone = 0 , PrintError , PrintWarning , PrintInfo }
 Set the debug log output level.
 
enum  SpPvtType { SpPvtTypeNone = 0 , SpPvtTypeGnss , SpPvtTypeReserv , SpPvtTypeUsers }
 Set the GNSS positioning type. More...
 
enum  SpSatelliteType {
  GPS = (1U << 0) , GLONASS = (1U << 1) , SBAS = (1U << 2) , QZ_L1CA = (1U << 3) ,
  QZ_L1S = (1U << 5) , BEIDOU = (1U << 6) , GALILEO = (1U << 7) , UNKNOWN = 0
}
 Satellite system type.
 
enum  SpIntervalFreq {
  SpInterval_10Hz = 100 , SpInterval_8Hz = 125 , SpInterval_5Hz = 200 , SpInterval_4Hz = 250 ,
  SpInterval_2Hz = 500 , SpInterval_1Hz = 1000
}
 Interval frequency.
 

Detailed Description

API for using GNSS.

Enumeration Type Documentation

◆ SpStartMode

Mode to set to GNSS at the start of positioning.

Depending on the reception status of the GNSS signal, the positioning FIX is fast in the order of HOT, WARM, COLD. In this library HOT is chosen as default.

Enumerator
COLD_START 

Cold start

WARM_START 

Warm start

HOT_START 

Hot start

◆ SpPvtType

enum SpPvtType

Set the GNSS positioning type.

Enumerator
SpPvtTypeNone 

Positioning data none

SpPvtTypeGnss 

by GNSS

SpPvtTypeReserv 

reserv

SpPvtTypeUsers 

API setting