Developer World
Spresense SDK Library release-v1.2.0-627f51e
Collaboration diagram for Defines:

GNSS Start mode

GNSS start mode

#define CXD56_GNSS_STMOD_COLD   0
 
#define CXD56_GNSS_STMOD_WARM   1
 
#define CXD56_GNSS_STMOD_WARM_ACC2   2
 
#define CXD56_GNSS_STMOD_HOT   3
 
#define CXD56_GNSS_STMOD_HOT_ACC   4
 
#define CXD56_GNSS_STMOD_HOT_ACC2   5
 
#define CXD56_GNSS_STMOD_HOT_ACC3   6
 
#define CXD56_GNSS_STMOD_GSPQ   CXD56_GNSS_STMOD_HOT_ACC3
 

GNSS data size

almanac, ephemeris data size

#define CXD56_GNSS_GPS_ALMANAC_SIZE   2048
 
#define CXD56_GNSS_GPS_EPHEMERIS_SIZE   3072
 
#define CXD56_GNSS_GLONASS_ALMANAC_SIZE   576
 
#define CXD56_GNSS_GLONASS_EPHEMERIS_SIZE   1152
 
#define CXD56_GNSS_QZSSL1CA_ALMANAC_SIZE   640
 
#define CXD56_GNSS_QZSSL1CA_EPHEMERIS_SIZE   960
 
#define CXD56_GNSS_PVTLOG_THRESHOLD_FULL   0 /* Limit of the storage size */
 
#define CXD56_GNSS_PVTLOG_THRESHOLD_HALF   1 /* 1/2 of the Storage size */
 
#define CXD56_GNSS_PVTLOG_THRESHOLD_ONE_DATA   2 /* Each log stored */
 

Offset value that specifies the data type to read from GNSS

#define CXD56_GNSS_READ_OFFSET_LAST_GNSS   0x0000
 
#define CXD56_GNSS_READ_OFFSET_GNSS(N)   (0x1000 + 0x800 * (N))
 
#define CXD56_GNSS_READ_OFFSET_AGPS   0x5000
 
#define CXD56_GNSS_READ_OFFSET_RTK   0x6000
 
#define CXD56_GNSS_READ_OFFSET_GPSEPHEMERIS   0x7000
 
#define CXD56_GNSS_READ_OFFSET_GLNEPHEMERIS   0x8000
 
#define CXD56_GNSS_READ_OFFSET_SBAS   0x9000
 
#define CXD56_GNSS_READ_OFFSET_SPECTRUM   0xa000
 
#define CXD56_GNSS_READ_OFFSET_INFO   0xf000
 
#define CXD56_GNSS_READ_OFFSET_PVTLOG   0x10000
 

Signal types from GNSS

#define CXD56_GNSS_SIG_GNSS   0
 
#define CXD56_GNSS_SIG_PVTLOG   2
 
#define CXD56_GNSS_SIG_AGPS   3
 
#define CXD56_GNSS_SIG_RTK   4
 
#define CXD56_GNSS_SIG_SPECTRUM   5
 
#define CXD56_GNSS_SIG_GPSEPHEMERIS   11
 
#define CXD56_GNSS_SIG_GLNEPHEMERIS   12
 
#define CXD56_GNSS_SIG_SBAS   14
 

Detailed Description

Macro Definition Documentation

◆ CXD56_GNSS_GLONASS_ALMANAC_SIZE

#define CXD56_GNSS_GLONASS_ALMANAC_SIZE   576

GLONASS Almanac Size

◆ CXD56_GNSS_GLONASS_EPHEMERIS_SIZE

#define CXD56_GNSS_GLONASS_EPHEMERIS_SIZE   1152

GLONASS Ephemeris Size

◆ CXD56_GNSS_GPS_ALMANAC_SIZE

#define CXD56_GNSS_GPS_ALMANAC_SIZE   2048

GPS Almanac Size

◆ CXD56_GNSS_GPS_EPHEMERIS_SIZE

#define CXD56_GNSS_GPS_EPHEMERIS_SIZE   3072

GPS Ephemeris Size

◆ CXD56_GNSS_QZSSL1CA_ALMANAC_SIZE

#define CXD56_GNSS_QZSSL1CA_ALMANAC_SIZE   640

GPS Almanac Size

◆ CXD56_GNSS_QZSSL1CA_EPHEMERIS_SIZE

#define CXD56_GNSS_QZSSL1CA_EPHEMERIS_SIZE   960

GPS Ephemeris Size

◆ CXD56_GNSS_READ_OFFSET_AGPS

#define CXD56_GNSS_READ_OFFSET_AGPS   0x5000

Offset for AGPS data

◆ CXD56_GNSS_READ_OFFSET_GLNEPHEMERIS

#define CXD56_GNSS_READ_OFFSET_GLNEPHEMERIS   0x8000

Offset for RTK GLONASS Ephemeris data

◆ CXD56_GNSS_READ_OFFSET_GNSS

#define CXD56_GNSS_READ_OFFSET_GNSS (   N)    (0x1000 + 0x800 * (N))

Offset for GNSS data

◆ CXD56_GNSS_READ_OFFSET_GPSEPHEMERIS

#define CXD56_GNSS_READ_OFFSET_GPSEPHEMERIS   0x7000

Offset for RTK GPS Ephemeris data

◆ CXD56_GNSS_READ_OFFSET_INFO

#define CXD56_GNSS_READ_OFFSET_INFO   0xf000

Offset for GNSS info

◆ CXD56_GNSS_READ_OFFSET_LAST_GNSS

#define CXD56_GNSS_READ_OFFSET_LAST_GNSS   0x0000

Offset for last GNSS data

◆ CXD56_GNSS_READ_OFFSET_PVTLOG

#define CXD56_GNSS_READ_OFFSET_PVTLOG   0x10000

Offset for PVTLOG data

◆ CXD56_GNSS_READ_OFFSET_RTK

#define CXD56_GNSS_READ_OFFSET_RTK   0x6000

Offset for RTK data

◆ CXD56_GNSS_READ_OFFSET_SBAS

#define CXD56_GNSS_READ_OFFSET_SBAS   0x9000

Offset for SBAS data

◆ CXD56_GNSS_READ_OFFSET_SPECTRUM

#define CXD56_GNSS_READ_OFFSET_SPECTRUM   0xa000

Offset for Spectrum data

◆ CXD56_GNSS_SIG_AGPS

#define CXD56_GNSS_SIG_AGPS   3

Signal type is AGPS

◆ CXD56_GNSS_SIG_GLNEPHEMERIS

#define CXD56_GNSS_SIG_GLNEPHEMERIS   12

Signal type is RTK GLONASS Ephemeris

◆ CXD56_GNSS_SIG_GNSS

#define CXD56_GNSS_SIG_GNSS   0

Signal type is GNSS

◆ CXD56_GNSS_SIG_GPSEPHEMERIS

#define CXD56_GNSS_SIG_GPSEPHEMERIS   11

Signal type is RTK GPS Ephemeris

◆ CXD56_GNSS_SIG_PVTLOG

#define CXD56_GNSS_SIG_PVTLOG   2

Signal type is PVTLog

◆ CXD56_GNSS_SIG_RTK

#define CXD56_GNSS_SIG_RTK   4

Signal type is RTK Career Phase

◆ CXD56_GNSS_SIG_SBAS

#define CXD56_GNSS_SIG_SBAS   14

Signal type is SBAS

◆ CXD56_GNSS_SIG_SPECTRUM

#define CXD56_GNSS_SIG_SPECTRUM   5

Signal type is Soectrum

◆ CXD56_GNSS_STMOD_COLD

#define CXD56_GNSS_STMOD_COLD   0

Cold Start

◆ CXD56_GNSS_STMOD_HOT

#define CXD56_GNSS_STMOD_HOT   3

Hot Start

◆ CXD56_GNSS_STMOD_HOT_ACC

#define CXD56_GNSS_STMOD_HOT_ACC   4

Hot Start, better accuracy, less TTFF than HOT

◆ CXD56_GNSS_STMOD_HOT_ACC2

#define CXD56_GNSS_STMOD_HOT_ACC2   5

Hot Start, better accuracy, less TTFF than ACC

◆ CXD56_GNSS_STMOD_HOT_ACC3

#define CXD56_GNSS_STMOD_HOT_ACC3   6

Optimized hot start, better TTFF than HOT

◆ CXD56_GNSS_STMOD_WARM

#define CXD56_GNSS_STMOD_WARM   1

Warm Start

◆ CXD56_GNSS_STMOD_WARM_ACC2

#define CXD56_GNSS_STMOD_WARM_ACC2   2

Warm Start, better accuracy, less TTFF than WARM