mbgtools-lx  4.2.8
GNSS Satellite Status

Modules

 GNSS status flags encoding
 

Data Structures

struct  GNSS_SV_STATUS
 Detailed GNSS satellite status. More...
 
struct  GNSS_SV_STATUS_IDX
 Detailed GNSS satellite status, plus index. More...
 

Macros

#define _mbg_swab_gnss_sv_status(_p)
 
#define _mbg_swab_gnss_sv_status_idx(_p)
 

Enumerations

enum  GNSS_SV_STAT_QUALITY_INDS {
  GNSS_SV_STAT_NO_SIGNAL, GNSS_SV_STAT_SEARCHING, GNSS_SV_STAT_ACQUIRED, GNSS_SV_STAT_UNUSABLE,
  GNSS_SV_STAT_CODE_LOCKED, GNSS_SV_STAT_CODE_CARRIER_LOCKED, GNSS_SV_STAT_CODE_CARRIER_LOCKED_2, GNSS_SV_STAT_CODE_CARRIER_LOCKED_3
}
 Bits 23 to 31 are reserved. More...
 
enum  GNSS_SV_STAT_HEALTH_CODES { GNSS_SV_STAT_HEALTH_UNKNOWN, GNSS_SV_STAT_HEALTH_OK, GNSS_SV_STAT_HEALTH_NOT_OK }
 Health indicators used with GNSS_SV_STATUS::stat_flags. More...
 
enum  GNSS_SV_STAT_ORBIT_SOURCES {
  GNSS_SV_STAT_ORBIT_SRC_UNKNOWN, GNSS_SV_STAT_ORBIT_SRC_EPH, GNSS_SV_STAT_ORBIT_SRC_ALM, GNSS_SV_STAT_ORBIT_SRC_ASSN_OFFL,
  GNSS_SV_STAT_ORBIT_SRC_ASSN_AUTO, GNSS_SV_STAT_ORBIT_OTHER_1, GNSS_SV_STAT_ORBIT_OTHER_2, GNSS_SV_STAT_ORBIT_OTHER_3
}
 Orbit source codes used with GNSS_SV_STATUS::stat_flags. More...
 

Detailed Description

Note
These structures and associated types are only supported by a device if MBG_GNSS_FLAG_MSK_HAS_SV_STATUS is set // ::FIXME

Macro Definition Documentation

◆ _mbg_swab_gnss_sv_status

#define _mbg_swab_gnss_sv_status (   _p)
Value:
do \
{ \
_mbg_swab8( &(_p)->gnss_type ); \
_mbg_swab8( &(_p)->svno ); \
_mbg_swab8( &(_p)->cn_ratio ); \
_mbg_swab8( &(_p)->elev ); \
_mbg_swab16( &(_p)->azim ); \
_mbg_swab16( &(_p)->pr_residual ); \
_mbg_swab32( &(_p)->stat_flags ); \
} while ( 0 )

Definition at line 10823 of file gpsdefs.h.

◆ _mbg_swab_gnss_sv_status_idx

#define _mbg_swab_gnss_sv_status_idx (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->idx ); \
_mbg_swab_gnss_sv_status( &(_p)->gnss_sv_status ); \
} while ( 0 )

Definition at line 10975 of file gpsdefs.h.

Referenced by mbgextio_get_gnss_sv_status_idx().

Enumeration Type Documentation

◆ GNSS_SV_STAT_HEALTH_CODES

Health indicators used with GNSS_SV_STATUS::stat_flags.

See also
_gnss_sv_stat_health_code
Enumerator
GNSS_SV_STAT_HEALTH_UNKNOWN 

Health status unknown.

GNSS_SV_STAT_HEALTH_OK 

Healthy.

GNSS_SV_STAT_HEALTH_NOT_OK 

Unhealthy.

Definition at line 10936 of file gpsdefs.h.

◆ GNSS_SV_STAT_ORBIT_SOURCES

Orbit source codes used with GNSS_SV_STATUS::stat_flags.

See also
_gnss_sv_stat_orbit_src
Enumerator
GNSS_SV_STAT_ORBIT_SRC_UNKNOWN 

Orbit source unknown.

GNSS_SV_STAT_ORBIT_SRC_EPH 

Ephemeris data used for orbit.

GNSS_SV_STAT_ORBIT_SRC_ALM 

Almanac data used for orbit.

GNSS_SV_STAT_ORBIT_SRC_ASSN_OFFL 

AssistNow Offline orbit is used.

GNSS_SV_STAT_ORBIT_SRC_ASSN_AUTO 

AssistNow Autonomous orbit is used.

GNSS_SV_STAT_ORBIT_OTHER_1 

Other orbit information is used.

GNSS_SV_STAT_ORBIT_OTHER_2 

Other orbit information is used.

GNSS_SV_STAT_ORBIT_OTHER_3 

Other orbit information is used.

Definition at line 10949 of file gpsdefs.h.

◆ GNSS_SV_STAT_QUALITY_INDS

Bits 23 to 31 are reserved.

Quality indicators used with GNSS_SV_STATUS::stat_flags

See also
_gnss_sv_stat_quality_ind
Enumerator
GNSS_SV_STAT_NO_SIGNAL 

No signal.

GNSS_SV_STAT_SEARCHING 

Searching signal.

GNSS_SV_STAT_ACQUIRED 

Signal acquired.

GNSS_SV_STAT_UNUSABLE 

Signal detected but unusable.

GNSS_SV_STAT_CODE_LOCKED 

Code locked and time synchronized.

GNSS_SV_STAT_CODE_CARRIER_LOCKED 

Code and carrier locked, and time synchronized.

GNSS_SV_STAT_CODE_CARRIER_LOCKED_2 

Code and carrier locked, and time synchronized.

GNSS_SV_STAT_CODE_CARRIER_LOCKED_3 

Code and carrier locked, and time synchronized.

Definition at line 10918 of file gpsdefs.h.