Developer World
Spresense SDK Library v1.4.1-ee8f2dd
gnss_type.h File Reference
#include <stdint.h>

Go to the source code of this file.

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
 
struct  cxd56_pvtlog_latitude_s
 
struct  cxd56_pvtlog_longitude_s
 
struct  cxd56_pvtlog_altitude_s
 
struct  cxd56_pvtlog_velocity_s
 
struct  cxd56_pvtlog_direction_s
 
struct  cxd56_pvtlog_time_s
 
struct  cxd56_pvtlog_date_s
 
struct  cxd56_pvtlog_data_s
 
struct  cxd56_pvtlog_s
 
struct  cxd56_gnss_status_s
 

Macros

#define EXTERN   extern "C"
 
#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
#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
#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
#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
#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