Developer World
Spresense SDK Library v2.0.1-3834d32
gnss_type.h
Go to the documentation of this file.
1 /****************************************************************************
2  * arch/arm/include/cxd56xx/gnss_type.h
3  *
4  * Copyright 2018,2019 Sony Semiconductor Solutions Corporation
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions
8  * are met:
9  *
10  * 1. Redistributions of source code must retain the above copyright
11  * notice, this list of conditions and the following disclaimer.
12  * 2. Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in
14  * the documentation and/or other materials provided with the
15  * distribution.
16  * 3. Neither the name of Sony Semiconductor Solutions Corporation nor
17  * the names of its contributors may be used to endorse or promote
18  * products derived from this software without specific prior written
19  * permission.
20  *
21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
28  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
29  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32  * POSSIBILITY OF SUCH DAMAGE.
33  *
34  ****************************************************************************/
35 
36 #ifndef __ARCH_ARM_INCLUDE_CXD56XX_GNSS_TYPE_H
37 #define __ARCH_ARM_INCLUDE_CXD56XX_GNSS_TYPE_H
38 
43 /*
44  * NOTICE:
45  * This file defines a structure that stores GNSS positioning
46  * data of CXD 56xx. The public header file gnss_type.h for NuttX
47  * of the CXD 56xx SDK has been copied as gd_type.h in the nxloader
48  * build system and used. Therefore, if you change the definitions
49  * in this file, please synchronize and change the other.
50  */
51 
52 #ifdef __cplusplus
53 #define EXTERN extern "C"
54 extern "C"
55 {
56 #else
57 #define EXTERN extern
58 #endif
59 
60 /****************************************************************************
61  * include files
62  ****************************************************************************/
63 
64 #include <stdint.h>
65 
78 #define CXD56_GNSS_MAX_SV_NUM 32
79 
85 #define CXD56_GNSS_SAT_NONE (0)
86 #define CXD56_GNSS_SAT_GPS (1U << 0)
87 #define CXD56_GNSS_SAT_GLONASS (1U << 1)
88 #define CXD56_GNSS_SAT_SBAS (1U << 2)
89 #define CXD56_GNSS_SAT_QZ_L1CA (1U << 3)
90 #define CXD56_GNSS_SAT_IMES (1U << 4)
91 #define CXD56_GNSS_SAT_QZ_L1S (1U << 5)
92 #define CXD56_GNSS_SAT_BEIDOU (1U << 6)
93 #define CXD56_GNSS_SAT_GALILEO (1U << 7)
95 /* @} */
96 
101 /* @{ */
102 
103 #define CXD56_GNSS_PVT_TYPE_NONE 0
104 #define CXD56_GNSS_PVT_TYPE_GNSS 1
105 #define CXD56_GNSS_PVT_TYPE_IMES 2
106 #define CXD56_GNSS_PVT_TYPE_USER 3
108 /* @} */
109 
114 /* @{ */
115 
116 #define CXD56_GNSS_PVT_POSFIX_INVALID 1
117 #define CXD56_GNSS_PVT_POSFIX_2D 2
118 #define CXD56_GNSS_PVT_POSFIX_3D 3
120 /* @} */
121 
126 /* @{ */
127 
128 #define CXD56_GNSS_PVT_VELFIX_INVALID 1
129 #define CXD56_GNSS_PVT_VELFIX_2DVZ 2
130 #define CXD56_GNSS_PVT_VELFIX_2DOFFSET 3
131 #define CXD56_GNSS_PVT_VELFIX_3D 4
132 #define CXD56_GNSS_PVT_VELFIX_1D 5
133 #define CXD56_GNSS_PVT_VELFIX_PRED 6
135 /* @} */
136 
140 /* @{ */
141 
142 #define CXD56_GNSS_DATA_GPS 0
143 #define CXD56_GNSS_DATA_GLONASS 1
144 #define CXD56_GNSS_DATA_QZSSL1CA 2
145 #define CXD56_GNSS_DATA_GALILEO 3
146 #define CXD56_GNSS_DATA_BEIDOU_D1 4
147 #define CXD56_GNSS_DATA_BEIDOU_D2 5
148 #define CXD56_GNSS_DATA_BEIDOU_ALM 6
150 /* @} */
151 
156 /* @{ */
157 
158 #define CXD56_GNSS_SV_STAT_NONE (0)
159 #define CXD56_GNSS_SV_STAT_TRACKING (1 << 0)
160 #define CXD56_GNSS_SV_STAT_POSITIONING (1 << 1)
161 #define CXD56_GNSS_SV_STAT_CALC_VELOCITY (1 << 2)
162 #define CXD56_GNSS_SV_STAT_VISIBLE (1 << 3)
163 #define CXD56_GNSS_SV_STAT_SUB_CH (1 << 4)
165 /* @} */
166 
171 /* @{ */
172 
173 #define CXD56_GNSS_SV_PHASESTAT_NONE (0)
174 #define CXD56_GNSS_SV_PHASESTAT_UNKNOWN (1 << 0)
175 #define CXD56_GNSS_SV_PHASESTAT_VALID (1 << 1)
176 #define CXD56_GNSS_SV_PHASESTAT_RESET (1 << 2)
177 #define CXD56_GNSS_SV_PHASESTAT_CYCLE_SLIP (1 << 3)
178 #define CXD56_GNSS_SV_PHASESTAT_HALF_CYCLE_RESOLVED (1 << 4)
180 /* @} */
181 
186 /* @{ */
187 
188 #define CXD56_GNSS_SV_RAWSTAT_NONE (0)
189 #define CXD56_GNSS_SV_RAWSTAT_DOPPLER (1 << 0)
190 #define CXD56_GNSS_SV_RAWSTAT_PSEUDORANGE (1 << 1)
191 #define CXD56_GNSS_SV_RAWSTAT_CARRIERPHASE (1 << 2)
192 #define CXD56_GNSS_SV_RAWSTAT_SVTIME (1 << 3)
193 #define CXD56_GNSS_SV_RAWSTAT_SVCLOCKPARAM (1 << 4)
194 #define CXD56_GNSS_SV_RAWSTAT_SVPOSVEL (1 << 5)
196 /* @} */
197 
202 /* @{ */
203 
204 #define CXD56_GNSS_SV_INVCAUS_NOT_TRACKED (1 << 0)
205 #define CXD56_GNSS_SV_INVCAUS_NO_SIGNAL (1 << 1)
206 #define CXD56_GNSS_SV_INVCAUS_NO_EPHEMERIS (1 << 2)
207 #define CXD56_GNSS_SV_INVCAUS_CLK_NOT_ADJUSTED (1 << 3)
208 #define CXD56_GNSS_SV_INVCAUS_BEFORE_TOW_LOCKED (1 << 4)
209 #define CXD56_GNSS_SV_INVCAUS_SPEED_LIMIT (1 << 5)
210 #define CXD56_GNSS_SV_INVCAUS_NOT_SUPPORTED (1 << 6)
211 #define CXD56_GNSS_SV_INVCAUS_OTHER (1 << 7)
213 /* @} */
214 
215 /*
216  * @name GNSS 1PPS synchronization status (internal use)
217  */
218 /* @{ */
219 
220 #define CXD56_GNSS_PPS_NOT_ADJUSTED 0
221 #define CXD56_GNSS_PPS_ADJUSTED 1
222 #define CXD56_GNSS_PPS_ADJUSTED_SSDGLN 2
223 #define CXD56_GNSS_PPS_ADJUSTED_SSD 3
224 #define CXD56_GNSS_PPS_ADJUSTED_POS 4
225 #define CXD56_GNSS_PPS_DEGRADE2 5
226 #define CXD56_GNSS_PPS_DEGRADE 6
227 #define CXD56_GNSS_PPS_COMPLETE 7
229 /* @} */
230 
231 /*
232  * @name GNSS Output interval of carrier phase info.
233  */
234 /* @{ */
235 
236 #define CXD56_GNSS_RTK_INTERVAL_1HZ 1000 /* 1Hz */
237 #define CXD56_GNSS_RTK_INTERVAL_2HZ 500 /* 2Hz */
238 #define CXD56_GNSS_RTK_INTERVAL_5HZ 200 /* 5Hz */
239 #define CXD56_GNSS_RTK_INTERVAL_10HZ 100 /* 10Hz */
240 #define CXD56_GNSS_RTK_INTERVAL_20HZ 50 /* 20H */
241 
242 /* @} */
243 
247 /* @{ */
248 
249 #define CXD56_GNSS_RTK_MAX_SV_NUM 24
250 
251 /* @} */
252 
253 /*
254  * @name GNSS Spectrum data size
255  */
256 /* @{ */
259 #define CXD56_GNSS_SPECTRUM_MAXNUM 37
260 
263 #define CXD56_GNSS_PEAK_SPECTRUM_MAXNUM 3
264 
265 /* @} */
268 /*
269  * @name DC Report data size
270  */
271 /* @{ */
272 
273 #define CXD56_GNSS_QSM_MSG_BIT_NUM 250
274 #define CXD56_GNSS_QSM_NUM_BITS_IN_BYTE 8
275 
276 /* @} */
277 
278 /*
279  * @name AGPS Measurement tracking data
280  */
281 /* @{ */
282 
283 #define CXD56_GNSS_SUPL_TRK_DATA_SIZE (24)
284 
285 /* @} */
286 
287 /*
288  * @name PVTLOG Max stored log number
289 */
290 /* @{ */
291 
292 #define CXD56_GNSS_PVTLOG_MAXNUM 170
293 
294 /* @} */
295 
296 /*
297  * @name PVTLOG notify threshold of the stored data.
298 */
299 /* @{ */
300 
301 #define CXD56_GNSS_PVTLOG_THRESHOLD_FULL 0 /* Limit of the storage size */
302 #define CXD56_GNSS_PVTLOG_THRESHOLD_HALF 1 /* 1/2 of the Storage size */
303 #define CXD56_GNSS_PVTLOG_THRESHOLD_ONE_DATA 2 /* Each log stored */
304 
305 /* @} */
306 
311 #define CXD56_GNSS_PVT_RECEIVER_ASSIST_NONE (0x00)
312 #define CXD56_GNSS_PVT_RECEIVER_ASSIST_USER (0x01)
313 #define CXD56_GNSS_PVT_RECEIVER_ASSIST_CEPPOS (0x02)
314 #define CXD56_GNSS_PVT_RECEIVER_ASSIST_CEPVEL (0x04)
315 #define CXD56_GNSS_PVT_RECEIVER_ASSIST_AEPPOS (0x08)
316 #define CXD56_GNSS_PVT_RECEIVER_ASSIST_AEPVEL (0x10)
317 
321 /* @{ */
326 {
327  uint16_t year;
328  uint8_t month;
329  uint8_t day;
330 };
331 
336 {
337  uint8_t hour;
338  uint8_t minute;
339  uint8_t sec;
340  uint32_t usec;
341 };
342 
347 {
348  uint32_t tow;
349  uint16_t weeknumber;
350  uint8_t sec;
351  uint8_t rollover;
352  double frac;
353 };
354 
359 {
360  float pdop;
361  float hdop;
362  float vdop;
363  float tdop;
364  float ewdop;
365  float nsdop;
366  float majdop;
367  float mindop;
368  float oridop;
369 };
370 
376 {
377  float hvar;
378  float vvar;
379 };
380 
381 /* @} */
382 
383 /* Extra data for debugging */
384 
385 #define CXD56_GNSS_PVT_RECEIVER_EXTRA_DATA_SIZE (568)
386 #define CXD56_GNSS_PVT_RECEIVER_EXTRA_DATA \
387  uint8_t extra[CXD56_GNSS_PVT_RECEIVER_EXTRA_DATA_SIZE]
388 #define CXD56_GNSS_PVT_SV_EXTRA_DATA_SIZE 40
389 #define CXD56_GNSS_PVT_SV_EXTRA_DATA \
390  uint8_t extra[CXD56_GNSS_PVT_SV_EXTRA_DATA_SIZE]
391 #define CXD56_GNSS_FFT_MAXPOOLNUM (8)
392 
396 /* @{ */
397 
398 #define CXD56_GNSS_GCLR_EPH 0x00000001
399 #define CXD56_GNSS_GCLR_ALM 0x00000002
400 #define CXD56_GNSS_GCLR_PV 0x00000004
401 #define CXD56_GNSS_GCLR_TIME 0x00000008
402 #define CXD56_GNSS_GCLR_TCXO 0x00010000
403 #define CXD56_GNSS_GCLR_ALL 0xffffffff
405 /* @} */
406 
410 /* @{ */
411 
417 {
418  uint8_t type;
420  uint8_t dgps;
421  uint8_t pos_fixmode;
422  uint8_t vel_fixmode;
424  uint8_t numsv;
425  uint8_t numsv_tracking;
426  uint8_t numsv_calcpos;
428  uint8_t numsv_calcvel;
430  uint8_t assist;
433  uint8_t pos_dataexist;
434  uint16_t svtype;
439  uint16_t pos_svtype;
444  uint16_t vel_svtype;
449  uint32_t possource;
451  float tcxo_offset;
452  struct cxd56_gnss_dop_s pos_dop;
453  struct cxd56_gnss_dop_s vel_idx;
454  struct cxd56_gnss_var_s pos_accuracy;
455  double latitude;
456  double longitude;
457  double altitude;
458  double geoid;
459  float velocity;
460  float direction;
461  struct cxd56_gnss_date_s date;
462  struct cxd56_gnss_time_s time;
463  struct cxd56_gnss_date_s gpsdate;
464  struct cxd56_gnss_time_s gpstime;
465  struct cxd56_gnss_time_s receivetime;
466  uint32_t priv;
467  int8_t leap_sec;
468  uint64_t time_ns;
469  int64_t full_bias_ns;
471 };
472 
478 {
479  double dx; /* X [m] */
480  double dy; /* Y [m] */
481  double dz; /* Z [m] */
482 };
483 
489 {
490  float fvx; /* Vx [m/s] */
491  float fvy; /* Vy [m/s] */
492  float fvz; /* Vz [m/s] */
493 };
494 
500 {
501  uint16_t type;
506  uint8_t svid;
507  uint8_t stat;
510  int16_t azimuth;
511  uint8_t phase_stat;
516  uint8_t raw_stat;
520  uint8_t invalid_cause;
524  uint8_t elevation;
525  int8_t freqchannel;
526  float siglevel;
527  float doppler;
528  double pseudo_range;
530  double sv_time;
531  float timetracked;
533  float svclockdrift;
534  struct cxd56_gnss_pvt_sv_pos_s svpos;
535  struct cxd56_gnss_pvt_sv_vel_s svvel;
537 };
538 
544 {
545  uint64_t data_timestamp;
546  uint32_t status;
548  uint32_t svcount;
549  struct cxd56_gnss_receiver_s receiver;
551 };
552 
558 {
559  uint8_t sf[CXD56_GNSS_QSM_MSG_BIT_NUM /
560  CXD56_GNSS_QSM_NUM_BITS_IN_BYTE + 1];
561  uint8_t svid; /* [out] Satellite id */
562 };
563 
569 {
570  uint8_t svid; /* SVID */
571  uint8_t rlmtype; /* 0x0:Short, 0x1:Long */
572  uint8_t datacmplt; /* 0xf:Short, 0xff:Long */
573  uint8_t msgcode; /* Massage code(4bit) */
574  uint32_t beacon_id1; /* Beacon ID (bit[31:0]) */
575  uint32_t beacon_id2; /* Beacon ID (bit[59:32]) */
576  uint32_t param1; /* Short:16bit, Long:96bit(bit[31:0]) */
577  uint32_t param2; /* Long:96bit(bit[63:31]) */
578  uint32_t param3; /* Long:96bit(bit[95:63]) */
579 };
580 
582 {
583  struct cxd56_gnss_sarrlm_data_s data;
584 };
585 
586 /* @} */
587 
588 /* SF_EVENT_GNSS_MEASUREMENT_VALUE */
594 {
595  uint8_t gnssid;
600  uint8_t signalid;
601  uint8_t svid;
606  uint8_t cn;
611  uint32_t codephase;
613  uint16_t wholechip;
614  uint16_t fracchip;
615  uint32_t adr;
616  int16_t doppler;
617 };
618 
624 {
629  uint32_t tow;
632  float frac_sec;
636  uint16_t ref_frame;
637  uint8_t tod_unc;
639  uint8_t num_of_sat;
640 };
641 
647 {
650  struct cxd56_supl_posdata_s supl_pos;
651 
654  struct cxd56_supl_trkdata_s trackingsat[CXD56_GNSS_SUPL_TRK_DATA_SIZE];
655 };
656 
662 {
663  uint32_t msec;
664  uint32_t frac;
665  uint16_t cycle;
666 };
667 
673 {
674  uint64_t timestamp;
675  uint64_t timesnow;
676  struct cxd56_gnss_wntow_s wntow;
677  struct cxd56_gnss_date_s date;
678  struct cxd56_gnss_time_s time;
679  struct cxd56_gnss_timetag_s tag;
680  double clockdrift;
683  int8_t cdvalidity;
685  uint8_t ppsstatus;
687  int8_t svcount;
688 };
689 
695 {
696  double pseudorange;
697  double carrierphase;
698  uint32_t gnss;
700  int8_t svid;
701  int8_t fdmch;
702  int8_t polarity;
704  int16_t cn;
705  int8_t lastpreamble;
706  int8_t lli;
708  int8_t ch;
709  float c2p;
710  uint8_t phase_stat;
713  float timetracked;
714  double sv_time;
715  float doppler;
716 };
717 
723 {
724 
727  struct cxd56_rtk_info_s infoout;
728 
731  struct cxd56_rtk_sv_s svout[CXD56_GNSS_RTK_MAX_SV_NUM];
732 };
733 
739 {
740  uint64_t timesnow;
741  uint8_t ppsstatus;
742  uint16_t t_oc;
743  double af0;
744  double af1;
745  double af2;
746  double crs;
748  double delta_n;
749  double m0;
751  double cuc;
752  double e;
753  double cus;
754  double sqrt_a;
755  double cic;
757  double omega0;
758  double cis;
760  double i0;
761  double crc;
763  double omega;
764  double omega_dot;
766  double i_dot;
768  double accuracy;
769  double tgd;
773  struct cxd56_gnss_wntow_s tocwntow;
774  struct cxd56_gnss_date_s tocdate;
775  struct cxd56_gnss_time_s toctime;
777  int32_t toe;
778  int32_t tow;
779  int16_t id;
780  uint8_t iode;
781  int8_t codes_on_l2;
782  int16_t weeknumber;
783  int8_t l2p;
784  uint8_t health;
786  int16_t iodc;
787  int8_t fitinterval;
788 };
789 
795 {
796  uint64_t timesnow;
797  uint32_t valid;
798  uint8_t ppsstatus;
799  uint8_t slot;
801  int8_t ch;
802  uint8_t p1;
804  uint8_t tk_h;
805  uint8_t tk_m;
806  uint8_t tk_s;
807  double xv;
808  float xa;
809  double xp;
810  uint8_t bn;
811  uint8_t p2;
813  uint16_t tb;
814  uint8_t hn_e;
816  double yv;
817  float ya;
818  double yp;
819  uint8_t p3;
820  float gn;
821  uint8_t p;
822  uint8_t health;
823  double zv;
824  float za;
825  double zp;
826  float tn;
828  float dtn;
830  uint8_t en;
832  uint8_t p4;
833  uint8_t ft;
834  uint16_t nt;
835  uint8_t n;
837  uint8_t m;
838 };
839 
845 {
846  uint8_t status;
847  uint8_t samplingstep;
848  uint8_t sizemode;
849  uint8_t datacount;
850  uint8_t datanum;
851  uint8_t ifgain;
852  uint16_t dataindex;
853  uint16_t spectrum[CXD56_GNSS_SPECTRUM_MAXNUM];
855 };
856 
857 #define CXD56_GNSS_SBAS_MESSAGE_DATA_LEN (27)
858 
863 {
864  uint64_t timesnow;
865  uint32_t gpstow;
866  uint16_t gpswn;
867  uint16_t svid;
868  uint8_t msgid;
869  uint8_t sbasmsg[CXD56_GNSS_SBAS_MESSAGE_DATA_LEN];
870 };
871 
877 {
878  int interval;
879  uint32_t gnss;
880  int eph_out;
881  uint64_t sbas_out;
882 };
883 
884 /* @} gnss_output_data */
885 
891 /********* PVTLog Parameter ***********/
897 {
898  uint32_t frac :14;
899  uint32_t minute :6;
900  uint32_t degree :7;
901  uint32_t sign :1;
902  uint32_t rsv :4;
903 };
904 
910 {
911  uint32_t frac :14;
912  uint32_t minute :6;
913  uint32_t degree :8;
914  uint32_t sign :1;
915  uint32_t rsv :3;
916 };
917 
923 {
924  uint32_t frac :4;
925  uint32_t rsv1 :12;
926  uint32_t meter :14;
927  uint32_t sign :1;
928  uint32_t rsv2 :1;
929 };
930 
936 {
937  uint16_t knot :14;
938  uint16_t rsv :2;
939 };
940 
946 {
947  uint16_t frac :4;
948  uint16_t degree :9;
949  uint16_t rsv :3;
950 };
951 
957 {
958  uint32_t msec :7;
959  uint32_t rsv1 :1;
960  uint32_t sec :6;
961  uint32_t rsv2 :2;
962  uint32_t minute :6;
963  uint32_t rsv3 :2;
964  uint32_t hour :5;
965  uint32_t rsv4 :3;
966 };
967 
973 {
974  uint32_t year :7;
975  uint32_t day :5;
976  uint32_t month :4;
977  uint32_t rsv :16;
978 };
979 
985 {
986  struct cxd56_pvtlog_latitude_s latitude;
987  struct cxd56_pvtlog_longitude_s longitude;
988  struct cxd56_pvtlog_altitude_s altitude;
989  struct cxd56_pvtlog_velocity_s velocity;
990  struct cxd56_pvtlog_direction_s direction;
991  struct cxd56_pvtlog_time_s time;
992  struct cxd56_pvtlog_date_s date;
993 };
994 
995 /*
996  * PVTLog notification data struct
997  */
998 
1000 {
1001  uint32_t log_count; /* [in] Valid log count of log_data */
1002  struct cxd56_pvtlog_data_s log_data[CXD56_GNSS_PVTLOG_MAXNUM]; /* [in] Stored log data */
1003 };
1004 
1010 {
1011  uint32_t log_count;
1012  struct cxd56_pvtlog_time_s start_time;
1013  struct cxd56_pvtlog_date_s start_date;
1014  struct cxd56_pvtlog_time_s end_time;
1015  struct cxd56_pvtlog_date_s end_date;
1016 };
1017 
1018 /* @} gnss_pvtlog_data */
1019 
1020 /* @} gnss */
1021 
1022 #ifdef __cplusplus
1023 }
1024 #endif /* __cplusplus */
1025 
1026 #endif /* __ARCH_ARM_INCLUDE_CXD56XX_GNSS_TYPE_H */
uint8_t p4
Definition: gnss_type.h:832
uint16_t year
Definition: gnss_type.h:327
uint32_t sign
Definition: gnss_type.h:914
uint8_t pos_fixmode
Definition: gnss_type.h:421
int8_t lli
Definition: gnss_type.h:706
uint8_t phase_stat
Definition: gnss_type.h:710
double orientation_of_major_axis
Definition: gnss_type.h:627
double uncertainty_semi_minor
Definition: gnss_type.h:626
double zv
Definition: gnss_type.h:823
uint8_t gnssid
Definition: gnss_type.h:595
uint16_t rsv
Definition: gnss_type.h:949
Definition: gnss_type.h:922
uint32_t sec
Definition: gnss_type.h:960
float svclockdrift
Definition: gnss_type.h:533
double yv
Definition: gnss_type.h:816
int8_t ch
Definition: gnss_type.h:801
uint8_t invalid_cause
Definition: gnss_type.h:520
Definition: gnss_type.h:581
uint8_t month
Definition: gnss_type.h:328
double cis
Definition: gnss_type.h:758
uint8_t phase_stat
Definition: gnss_type.h:511
float dtn
Definition: gnss_type.h:828
uint8_t svid
Definition: gnss_type.h:601
uint32_t frac
Definition: gnss_type.h:664
double yp
Definition: gnss_type.h:818
int8_t cdvalidity
Definition: gnss_type.h:683
int8_t l2p
Definition: gnss_type.h:783
uint32_t status
Definition: gnss_type.h:546
float doppler
Definition: gnss_type.h:715
uint8_t hour
Definition: gnss_type.h:337
double omega_dot
Definition: gnss_type.h:764
int8_t lastpreamble
Definition: gnss_type.h:705
Definition: gnss_type.h:722
uint8_t svid
Definition: gnss_type.h:506
double cuc
Definition: gnss_type.h:751
uint8_t ppsstatus
Definition: gnss_type.h:685
Definition: gnss_type.h:375
int8_t svcount
Definition: gnss_type.h:687
Definition: gnss_type.h:794
uint32_t rsv2
Definition: gnss_type.h:961
float timetracked
Definition: gnss_type.h:531
double xp
Definition: gnss_type.h:809
uint16_t vel_svtype
Definition: gnss_type.h:444
Definition: gnss_type.h:325
uint8_t hn_e
Definition: gnss_type.h:814
uint32_t year
Definition: gnss_type.h:974
CXD56_GNSS_PVT_SV_EXTRA_DATA
Definition: gnss_type.h:536
double sv_time
Definition: gnss_type.h:714
double cus
Definition: gnss_type.h:753
uint64_t timesnow
Definition: gnss_type.h:796
double frac
Definition: gnss_type.h:352
Definition: gnss_type.h:568
uint32_t minute
Definition: gnss_type.h:899
uint16_t dataindex
Definition: gnss_type.h:852
float vvar
Definition: gnss_type.h:378
uint8_t stat
Definition: gnss_type.h:507
uint16_t weeknumber
Definition: gnss_type.h:349
uint64_t timestamp
Definition: gnss_type.h:674
uint8_t numsv_calcpos
Definition: gnss_type.h:426
double tgd
Definition: gnss_type.h:769
double delta_n
Definition: gnss_type.h:748
uint32_t rsv3
Definition: gnss_type.h:963
Definition: gnss_type.h:862
float siglevel
Definition: gnss_type.h:526
uint8_t minute
Definition: gnss_type.h:338
uint8_t assist
Definition: gnss_type.h:430
uint8_t slot
Definition: gnss_type.h:799
uint64_t timesnow
Definition: gnss_type.h:864
Definition: gnss_type.h:477
uint32_t rsv1
Definition: gnss_type.h:925
uint8_t elevation
Definition: gnss_type.h:524
uint32_t month
Definition: gnss_type.h:976
uint8_t vel_fixmode
Definition: gnss_type.h:422
float c2p
Definition: gnss_type.h:709
int8_t fdmch
Definition: gnss_type.h:701
uint8_t carriorquality_indicator
Definition: gnss_type.h:608
double carrierphase
Definition: gnss_type.h:697
Definition: gnss_type.h:557
int16_t weeknumber
Definition: gnss_type.h:782
uint32_t minute
Definition: gnss_type.h:962
uint32_t rsv4
Definition: gnss_type.h:965
uint16_t wholechip
Definition: gnss_type.h:613
uint8_t pos_dataexist
Definition: gnss_type.h:433
float ya
Definition: gnss_type.h:817
uint8_t cn
Definition: gnss_type.h:606
int interval
Definition: gnss_type.h:878
float xa
Definition: gnss_type.h:808
uint32_t sign
Definition: gnss_type.h:927
double clockdrift
Definition: gnss_type.h:680
float oridop
Definition: gnss_type.h:368
uint32_t sign
Definition: gnss_type.h:901
uint32_t hour
Definition: gnss_type.h:964
Definition: gnss_type.h:999
uint8_t n
Definition: gnss_type.h:835
float velocity
Definition: gnss_type.h:459
int32_t tow
Definition: gnss_type.h:778
uint8_t numsv_tracking
Definition: gnss_type.h:425
double crc
Definition: gnss_type.h:761
uint32_t frac
Definition: gnss_type.h:898
uint8_t codephase_ambiguty
Definition: gnss_type.h:607
uint32_t frac
Definition: gnss_type.h:911
uint8_t type
Definition: gnss_type.h:418
Definition: gnss_type.h:646
uint8_t tk_s
Definition: gnss_type.h:806
uint32_t degree
Definition: gnss_type.h:900
#define CXD56_GNSS_MAX_SV_NUM
Definition: gnss_type.h:78
uint32_t tow
Definition: gnss_type.h:348
uint8_t status
Definition: gnss_type.h:846
#define CXD56_GNSS_SPECTRUM_MAXNUM
Definition: gnss_type.h:259
uint8_t tk_m
Definition: gnss_type.h:805
uint8_t health
Definition: gnss_type.h:784
uint32_t degree
Definition: gnss_type.h:913
uint32_t rsv
Definition: gnss_type.h:915
uint16_t knot
Definition: gnss_type.h:937
int16_t doppler
Definition: gnss_type.h:616
uint8_t p2
Definition: gnss_type.h:811
uint16_t rsv
Definition: gnss_type.h:938
double pseudorange
Definition: gnss_type.h:696
uint8_t datanum
Definition: gnss_type.h:850
float timetracked
Definition: gnss_type.h:713
Definition: gnss_type.h:335
float horizontal_accuracy
Definition: gnss_type.h:634
double m0
Definition: gnss_type.h:749
int8_t freqchannel
Definition: gnss_type.h:525
double omega
Definition: gnss_type.h:763
int8_t polarity
Definition: gnss_type.h:702
uint8_t en
Definition: gnss_type.h:830
float gn
Definition: gnss_type.h:820
uint8_t ifgain
Definition: gnss_type.h:851
Definition: gnss_type.h:358
Definition: gnss_type.h:661
uint32_t rsv
Definition: gnss_type.h:902
Definition: gnss_type.h:416
uint8_t health
Definition: gnss_type.h:822
double sqrt_a
Definition: gnss_type.h:754
uint32_t day
Definition: gnss_type.h:975
uint8_t bn
Definition: gnss_type.h:810
uint8_t iode
Definition: gnss_type.h:780
double latitude
Definition: gnss_type.h:455
double accuracy
Definition: gnss_type.h:768
Definition: gnss_type.h:1009
#define CXD56_GNSS_QSM_MSG_BIT_NUM
Definition: gnss_type.h:273
uint8_t msgid
Definition: gnss_type.h:868
float tdop
Definition: gnss_type.h:363
Definition: gnss_type.h:909
uint16_t fracchip
Definition: gnss_type.h:614
#define CXD56_GNSS_PEAK_SPECTRUM_MAXNUM
Definition: gnss_type.h:263
uint8_t ppsstatus
Definition: gnss_type.h:798
uint32_t frac
Definition: gnss_type.h:924
double omega0
Definition: gnss_type.h:757
uint32_t usec
Definition: gnss_type.h:340
Definition: gnss_type.h:593
uint32_t priv
Definition: gnss_type.h:466
uint32_t minute
Definition: gnss_type.h:912
double longitude
Definition: gnss_type.h:456
uint32_t meter
Definition: gnss_type.h:926
int8_t leap_sec
Definition: gnss_type.h:467
int16_t id
Definition: gnss_type.h:779
uint16_t svid
Definition: gnss_type.h:867
uint8_t samplingstep
Definition: gnss_type.h:847
uint8_t multipath_indicator
Definition: gnss_type.h:610
uint32_t tow
Definition: gnss_type.h:629
int8_t fitinterval
Definition: gnss_type.h:787
Definition: gnss_type.h:844
int8_t codes_on_l2
Definition: gnss_type.h:781
float doppler
Definition: gnss_type.h:527
uint32_t possource
Definition: gnss_type.h:449
float majdop
Definition: gnss_type.h:366
uint8_t sec
Definition: gnss_type.h:350
double geoid
Definition: gnss_type.h:458
uint32_t msec
Definition: gnss_type.h:958
uint32_t gnss
Definition: gnss_type.h:698
float direction
Definition: gnss_type.h:460
uint8_t tod_unc
Definition: gnss_type.h:637
uint16_t ref_frame
Definition: gnss_type.h:636
uint8_t signalid
Definition: gnss_type.h:600
float za
Definition: gnss_type.h:824
uint32_t adr
Definition: gnss_type.h:615
Definition: gnss_type.h:956
uint8_t datacount
Definition: gnss_type.h:849
double e
Definition: gnss_type.h:752
uint32_t valid
Definition: gnss_type.h:797
Definition: gnss_type.h:738
uint16_t cycle
Definition: gnss_type.h:665
Definition: gnss_type.h:896
uint32_t rsv2
Definition: gnss_type.h:928
uint32_t gnss
Definition: gnss_type.h:879
uint64_t sbas_out
Definition: gnss_type.h:881
uint8_t ppsstatus
Definition: gnss_type.h:741
Definition: gnss_type.h:543
uint8_t num_of_sat
Definition: gnss_type.h:639
uint16_t t_oc
Definition: gnss_type.h:742
uint8_t sizemode
Definition: gnss_type.h:848
int16_t iodc
Definition: gnss_type.h:786
uint8_t raw_stat
Definition: gnss_type.h:516
double cic
Definition: gnss_type.h:755
uint64_t time_ns
Definition: gnss_type.h:468
double af2
Definition: gnss_type.h:745
uint32_t rsv1
Definition: gnss_type.h:959
uint16_t gpswn
Definition: gnss_type.h:866
int8_t ch
Definition: gnss_type.h:708
double uncertainty_altitude
Definition: gnss_type.h:628
uint8_t day
Definition: gnss_type.h:329
uint16_t nt
Definition: gnss_type.h:834
uint64_t timesnow
Definition: gnss_type.h:675
uint16_t svtype
Definition: gnss_type.h:434
float tn
Definition: gnss_type.h:826
uint8_t tk_h
Definition: gnss_type.h:804
Definition: gnss_type.h:623
uint16_t degree
Definition: gnss_type.h:948
float pdop
Definition: gnss_type.h:360
uint16_t tb
Definition: gnss_type.h:813
uint8_t numsv
Definition: gnss_type.h:424
double carrier_phase
Definition: gnss_type.h:529
Definition: gnss_type.h:876
uint16_t pos_svtype
Definition: gnss_type.h:439
Definition: gnss_type.h:672
float ewdop
Definition: gnss_type.h:364
uint32_t log_count
Definition: gnss_type.h:1011
int eph_out
Definition: gnss_type.h:880
float vdop
Definition: gnss_type.h:362
double zp
Definition: gnss_type.h:825
double uncertainty_semi_major
Definition: gnss_type.h:625
double pseudo_range
Definition: gnss_type.h:528
Definition: gnss_type.h:935
int32_t toe
Definition: gnss_type.h:777
float mindop
Definition: gnss_type.h:367
uint8_t nav_message_info
Definition: gnss_type.h:514
uint32_t svcount
Definition: gnss_type.h:548
int16_t cn
Definition: gnss_type.h:704
int64_t full_bias_ns
Definition: gnss_type.h:469
double crs
Definition: gnss_type.h:746
double i_dot
Definition: gnss_type.h:766
double xv
Definition: gnss_type.h:807
uint8_t numsv_calcvel
Definition: gnss_type.h:428
float nsdop
Definition: gnss_type.h:365
uint64_t timesnow
Definition: gnss_type.h:740
float tcxo_offset
Definition: gnss_type.h:451
Definition: gnss_type.h:984
uint8_t rollover
Definition: gnss_type.h:351
uint8_t p3
Definition: gnss_type.h:819
float svclockoffset
Definition: gnss_type.h:532
Definition: gnss_type.h:488
Definition: gnss_type.h:694
uint32_t codephase
Definition: gnss_type.h:611
double altitude
Definition: gnss_type.h:457
Definition: gnss_type.h:346
uint16_t type
Definition: gnss_type.h:501
uint32_t gpstow
Definition: gnss_type.h:865
float hdop
Definition: gnss_type.h:361
float frac_sec
Definition: gnss_type.h:632
uint8_t ft
Definition: gnss_type.h:833
Definition: gnss_type.h:499
uint8_t dgps
Definition: gnss_type.h:420
uint8_t m
Definition: gnss_type.h:837
double sv_time
Definition: gnss_type.h:530
int16_t azimuth
Definition: gnss_type.h:510
uint64_t data_timestamp
Definition: gnss_type.h:545
uint32_t msec
Definition: gnss_type.h:663
uint8_t sec
Definition: gnss_type.h:339
Definition: gnss_type.h:945
double af0
Definition: gnss_type.h:743
uint8_t codephase_rmserr
Definition: gnss_type.h:609
CXD56_GNSS_PVT_RECEIVER_EXTRA_DATA
Definition: gnss_type.h:470
uint8_t p1
Definition: gnss_type.h:802
double af1
Definition: gnss_type.h:744
uint8_t p
Definition: gnss_type.h:821
Definition: gnss_type.h:972
int8_t svid
Definition: gnss_type.h:700
uint16_t frac
Definition: gnss_type.h:947
float hvar
Definition: gnss_type.h:377
uint32_t rsv
Definition: gnss_type.h:977
double i0
Definition: gnss_type.h:760