Developer World
Spresense SDK Library v1.4.0-aa7f53a
GNSS position data
Collaboration diagram for GNSS position data:

Classes

struct  cxd56_gnss_date_s
 
struct  cxd56_gnss_time_s
 
struct  cxd56_gnss_wntow_s
 
struct  cxd56_gnss_dop_s
 
struct  cxd56_gnss_var_s
 
struct  cxd56_gnss_receiver_s
 
struct  cxd56_gnss_sv_s
 
struct  cxd56_gnss_positiondata_s
 
struct  cxd56_gnss_dcreport_data_s
 
struct  cxd56_supl_trkdata_s
 
struct  cxd56_supl_posdata_s
 
struct  cxd56_supl_mesurementdata_s
 
struct  cxd56_gnss_timetag_s
 
struct  cxd56_rtk_info_s
 
struct  cxd56_rtk_sv_s
 
struct  cxd56_rtk_carrierphase_s
 
struct  cxd56_rtk_gpsephemeris_s
 
struct  cxd56_rtk_glonassephemeris_s
 
struct  cxd56_gnss_spectrum_s
 
struct  cxd56_gnss_sbasdata_s
 

Macros

#define CXD56_GNSS_MAX_SV_NUM   32
 
#define CXD56_GNSS_PVT_RECEIVER_EXTRA_DATA_SIZE   (520)
 
#define CXD56_GNSS_PVT_RECEIVER_EXTRA_DATA   uint8_t extra[CXD56_GNSS_PVT_RECEIVER_EXTRA_DATA_SIZE]
 
#define CXD56_GNSS_PVT_SV_EXTRA_DATA_SIZE   40
 
#define CXD56_GNSS_PVT_SV_EXTRA_DATA   uint8_t extra[CXD56_GNSS_PVT_SV_EXTRA_DATA_SIZE]
 
#define CXD56_GNSS_FFT_MAXPOOLNUM   (8)
 
#define CXD56_GNSS_SBAS_MESSAGE_DATA_LEN   (27)
 

GNSS satellite system

GNSS bit fields to positioning

#define CXD56_GNSS_SAT_NONE   (0)
 
#define CXD56_GNSS_SAT_GPS   (1U << 0)
 
#define CXD56_GNSS_SAT_GLONASS   (1U << 1)
 
#define CXD56_GNSS_SAT_SBAS   (1U << 2)
 
#define CXD56_GNSS_SAT_QZ_L1CA   (1U << 3)
 
#define CXD56_GNSS_SAT_IMES   (1U << 4)
 
#define CXD56_GNSS_SAT_QZ_L1S   (1U << 5)
 
#define CXD56_GNSS_SAT_BEIDOU   (1U << 6)
 
#define CXD56_GNSS_SAT_GALILEO   (1U << 7)
 

GNSS positioning type

struct cxd56_gnss_receiver_s::type

#define CXD56_GNSS_PVT_TYPE_NONE   0
 
#define CXD56_GNSS_PVT_TYPE_GNSS   1
 
#define CXD56_GNSS_PVT_TYPE_IMES   2
 
#define CXD56_GNSS_PVT_TYPE_USER   3
 

GNSS position fix mode

struct cxd56_gnss_receiver_s::pos_fixmode

#define CXD56_GNSS_PVT_POSFIX_INVALID   1
 
#define CXD56_GNSS_PVT_POSFIX_2D   2
 
#define CXD56_GNSS_PVT_POSFIX_3D   3
 

GNSS velocity fix mode

struct cxd56_gnss_receiver_s::vel_fixmode

#define CXD56_GNSS_PVT_VELFIX_INVALID   1
 
#define CXD56_GNSS_PVT_VELFIX_2DVZ   2
 
#define CXD56_GNSS_PVT_VELFIX_2DOFFSET   3
 
#define CXD56_GNSS_PVT_VELFIX_3D   4
 
#define CXD56_GNSS_PVT_VELFIX_1D   5
 
#define CXD56_GNSS_PVT_VELFIX_PRED   6
 

GNSS oribital infomation data type, almanac & ephemeris

#define CXD56_GNSS_DATA_GPS   0
 
#define CXD56_GNSS_DATA_GLONASS   1
 
#define CXD56_GNSS_DATA_QZSSL1CA   2
 

GNSS satellite status

struct cxd56_gnss_sv_s::stat

#define CXD56_GNSS_SV_STAT_NONE   (0)
 
#define CXD56_GNSS_SV_STAT_TRACKING   (1 << 0)
 
#define CXD56_GNSS_SV_STAT_POSITIONING   (1 << 1)
 
#define CXD56_GNSS_SV_STAT_CALC_VELOCITY   (1 << 2)
 
#define CXD56_GNSS_SV_STAT_VISIBLE   (1 << 3)
 
#define CXD56_GNSS_SV_STAT_SUB_CH   (1 << 4)
 
#define CXD56_GNSS_PPS_NOT_ADJUSTED   0
 
#define CXD56_GNSS_PPS_ADJUSTED   1
 
#define CXD56_GNSS_PPS_ADJUSTED_SSDGLN   2
 
#define CXD56_GNSS_PPS_ADJUSTED_SSD   3
 
#define CXD56_GNSS_PPS_ADJUSTED_POS   4
 
#define CXD56_GNSS_PPS_DEGRADE2   5
 
#define CXD56_GNSS_PPS_DEGRADE   6
 
#define CXD56_GNSS_PPS_COMPLETE   7
 
#define CXD56_GNSS_RTK_INTERVAL_1HZ   1000 /* 1Hz */
 
#define CXD56_GNSS_RTK_INTERVAL_2HZ   500 /* 2Hz */
 
#define CXD56_GNSS_RTK_INTERVAL_5HZ   200 /* 5Hz */
 
#define CXD56_GNSS_RTK_INTERVAL_10HZ   100 /* 10Hz */
 
#define CXD56_GNSS_RTK_INTERVAL_20HZ   50 /* 20H */
 

Carrier phase max satellite number

#define CXD56_GNSS_RTK_MAX_SV_NUM   24
 
#define CXD56_GNSS_SPECTRUM_MAXNUM   37
 
#define CXD56_GNSS_PEAK_SPECTRUM_MAXNUM   3
 
#define CXD56_GNSS_QSM_MSG_BIT_NUM   250
 
#define CXD56_GNSS_QSM_NUM_BITS_IN_BYTE   8
 
#define CXD56_GNSS_SUPL_TRK_DATA_SIZE   (16)
 
#define CXD56_GNSS_PVTLOG_MAXNUM   170
 

assist bit fields

#define CXD56_GNSS_PVT_RECEIVER_ASSIST_NONE   (0x00)
 
#define CXD56_GNSS_PVT_RECEIVER_ASSIST_USER   (0x01)
 
#define CXD56_GNSS_PVT_RECEIVER_ASSIST_CEPPOS   (0x02)
 
#define CXD56_GNSS_PVT_RECEIVER_ASSIST_CEPVEL   (0x04)
 
#define CXD56_GNSS_PVT_RECEIVER_ASSIST_AEPPOS   (0x08)
 
#define CXD56_GNSS_PVT_RECEIVER_ASSIST_AEPVEL   (0x10)
 

GNSS AGPS clear flag

#define CXD56_GNSS_GCLR_EPH   0x00000001
 
#define CXD56_GNSS_GCLR_ALM   0x00000002
 
#define CXD56_GNSS_GCLR_PV   0x00000004
 
#define CXD56_GNSS_GCLR_TIME   0x00000008
 
#define CXD56_GNSS_GCLR_TCXO   0x00010000
 
#define CXD56_GNSS_GCLR_ALL   0xffffffff
 

Detailed Description

Description of GNSS output data of postioning.

Macro Definition Documentation

◆ CXD56_GNSS_MAX_SV_NUM

#define CXD56_GNSS_MAX_SV_NUM   32

Max number of satellites

◆ CXD56_GNSS_SAT_NONE

#define CXD56_GNSS_SAT_NONE   (0)

None

◆ CXD56_GNSS_SAT_GPS

#define CXD56_GNSS_SAT_GPS   (1U << 0)

GPS

◆ CXD56_GNSS_SAT_GLONASS

#define CXD56_GNSS_SAT_GLONASS   (1U << 1)

Glonass

◆ CXD56_GNSS_SAT_SBAS

#define CXD56_GNSS_SAT_SBAS   (1U << 2)

SBAS

◆ CXD56_GNSS_SAT_QZ_L1CA

#define CXD56_GNSS_SAT_QZ_L1CA   (1U << 3)

QZSS/L1CA

◆ CXD56_GNSS_SAT_IMES

#define CXD56_GNSS_SAT_IMES   (1U << 4)

IMES

◆ CXD56_GNSS_SAT_QZ_L1S

#define CXD56_GNSS_SAT_QZ_L1S   (1U << 5)

QZSS/L1S

◆ CXD56_GNSS_SAT_BEIDOU

#define CXD56_GNSS_SAT_BEIDOU   (1U << 6)

BeiDou

◆ CXD56_GNSS_SAT_GALILEO

#define CXD56_GNSS_SAT_GALILEO   (1U << 7)

Galileo

◆ CXD56_GNSS_PVT_TYPE_NONE

#define CXD56_GNSS_PVT_TYPE_NONE   0

Positioning data none

◆ CXD56_GNSS_PVT_TYPE_GNSS

#define CXD56_GNSS_PVT_TYPE_GNSS   1

by GNSS

◆ CXD56_GNSS_PVT_TYPE_IMES

#define CXD56_GNSS_PVT_TYPE_IMES   2

by IMES

◆ CXD56_GNSS_PVT_TYPE_USER

#define CXD56_GNSS_PVT_TYPE_USER   3

API setting

◆ CXD56_GNSS_PVT_POSFIX_INVALID

#define CXD56_GNSS_PVT_POSFIX_INVALID   1

No measurement

◆ CXD56_GNSS_PVT_POSFIX_2D

#define CXD56_GNSS_PVT_POSFIX_2D   2

2D fix

◆ CXD56_GNSS_PVT_POSFIX_3D

#define CXD56_GNSS_PVT_POSFIX_3D   3

3D fix

◆ CXD56_GNSS_PVT_VELFIX_INVALID

#define CXD56_GNSS_PVT_VELFIX_INVALID   1

No measurement

◆ CXD56_GNSS_PVT_VELFIX_2DVZ

#define CXD56_GNSS_PVT_VELFIX_2DVZ   2

2D VZ fix

◆ CXD56_GNSS_PVT_VELFIX_2DOFFSET

#define CXD56_GNSS_PVT_VELFIX_2DOFFSET   3

2D Offset fix

◆ CXD56_GNSS_PVT_VELFIX_3D

#define CXD56_GNSS_PVT_VELFIX_3D   4

3D fix

◆ CXD56_GNSS_PVT_VELFIX_1D

#define CXD56_GNSS_PVT_VELFIX_1D   5

1D fix

◆ CXD56_GNSS_PVT_VELFIX_PRED

#define CXD56_GNSS_PVT_VELFIX_PRED   6

Prediction

◆ CXD56_GNSS_DATA_GPS

#define CXD56_GNSS_DATA_GPS   0

GPS data type

◆ CXD56_GNSS_DATA_GLONASS

#define CXD56_GNSS_DATA_GLONASS   1

Glonass data type

◆ CXD56_GNSS_DATA_QZSSL1CA

#define CXD56_GNSS_DATA_QZSSL1CA   2

QZSS/L1CA data type

◆ CXD56_GNSS_SV_STAT_NONE

#define CXD56_GNSS_SV_STAT_NONE   (0)

None

◆ CXD56_GNSS_SV_STAT_TRACKING

#define CXD56_GNSS_SV_STAT_TRACKING   (1 << 0)

Tracking

◆ CXD56_GNSS_SV_STAT_POSITIONING

#define CXD56_GNSS_SV_STAT_POSITIONING   (1 << 1)

Positioning

◆ CXD56_GNSS_SV_STAT_CALC_VELOCITY

#define CXD56_GNSS_SV_STAT_CALC_VELOCITY   (1 << 2)

Calc Velocity

◆ CXD56_GNSS_SV_STAT_VISIBLE

#define CXD56_GNSS_SV_STAT_VISIBLE   (1 << 3)

Visible

◆ CXD56_GNSS_SV_STAT_SUB_CH

#define CXD56_GNSS_SV_STAT_SUB_CH   (1 << 4)

Sub Ch

◆ CXD56_GNSS_PPS_NOT_ADJUSTED

#define CXD56_GNSS_PPS_NOT_ADJUSTED   0

not adjusted

◆ CXD56_GNSS_PPS_ADJUSTED

#define CXD56_GNSS_PPS_ADJUSTED   1

adjusted

◆ CXD56_GNSS_PPS_ADJUSTED_SSDGLN

#define CXD56_GNSS_PPS_ADJUSTED_SSDGLN   2

adjusted SSDGLN

◆ CXD56_GNSS_PPS_ADJUSTED_SSD

#define CXD56_GNSS_PPS_ADJUSTED_SSD   3

adjusted SSD

◆ CXD56_GNSS_PPS_ADJUSTED_POS

#define CXD56_GNSS_PPS_ADJUSTED_POS   4

adjusted POS

◆ CXD56_GNSS_PPS_DEGRADE2

#define CXD56_GNSS_PPS_DEGRADE2   5

Degrade2

◆ CXD56_GNSS_PPS_DEGRADE

#define CXD56_GNSS_PPS_DEGRADE   6

Degrade

◆ CXD56_GNSS_PPS_COMPLETE

#define CXD56_GNSS_PPS_COMPLETE   7

Complete

◆ CXD56_GNSS_SPECTRUM_MAXNUM

#define CXD56_GNSS_SPECTRUM_MAXNUM   37

Spectrum Data Max(adjusted as CXD56_GNSS_SPECTRUM_DATA will be 116byte.)

◆ CXD56_GNSS_PEAK_SPECTRUM_MAXNUM

#define CXD56_GNSS_PEAK_SPECTRUM_MAXNUM   3

Peak Spectrum Data

◆ CXD56_GNSS_QSM_MSG_BIT_NUM

#define CXD56_GNSS_QSM_MSG_BIT_NUM   250

SPZ_INT_API

◆ CXD56_GNSS_GCLR_EPH

#define CXD56_GNSS_GCLR_EPH   0x00000001

ephemeris

◆ CXD56_GNSS_GCLR_ALM

#define CXD56_GNSS_GCLR_ALM   0x00000002

almanac

◆ CXD56_GNSS_GCLR_PV

#define CXD56_GNSS_GCLR_PV   0x00000004

position and velocity

◆ CXD56_GNSS_GCLR_TIME

#define CXD56_GNSS_GCLR_TIME   0x00000008

time

◆ CXD56_GNSS_GCLR_TCXO

#define CXD56_GNSS_GCLR_TCXO   0x00010000

TCXO offset

◆ CXD56_GNSS_GCLR_ALL

#define CXD56_GNSS_GCLR_ALL   0xffffffff

all of above