sbgECom Library  4.0.1987-stable
C library to interface SBG Systems IMU/AHRS/INS
sbgEComLogGnssPos.h File Reference

GNSS position related logs. More...

Go to the source code of this file.

Data Structures

struct  _SbgEComLogGnssPos
 

Macros

#define SBG_ECOM_GNSS_POS_GPS_L1_USED   (0x00000001u << 12)
 
#define SBG_ECOM_GNSS_POS_GPS_L2_USED   (0x00000001u << 13)
 
#define SBG_ECOM_GNSS_POS_GPS_L5_USED   (0x00000001u << 14)
 
#define SBG_ECOM_GNSS_POS_GLO_L1_USED   (0x00000001u << 15)
 
#define SBG_ECOM_GNSS_POS_GLO_L2_USED   (0x00000001u << 16)
 
#define SBG_ECOM_GNSS_POS_GLO_L3_USED   (0x00000001u << 17)
 
#define SBG_ECOM_GNSS_POS_GAL_E1_USED   (0x00000001u << 18)
 
#define SBG_ECOM_GNSS_POS_GAL_E5A_USED   (0x00000001u << 19)
 
#define SBG_ECOM_GNSS_POS_GAL_E5B_USED   (0x00000001u << 20)
 
#define SBG_ECOM_GNSS_POS_GAL_E5ALT_USED   (0x00000001u << 21)
 
#define SBG_ECOM_GNSS_POS_GAL_E6_USED   (0x00000001u << 22)
 
#define SBG_ECOM_GNSS_POS_BDS_B1_USED   (0x00000001u << 23)
 
#define SBG_ECOM_GNSS_POS_BDS_B2_USED   (0x00000001u << 24)
 
#define SBG_ECOM_GNSS_POS_BDS_B3_USED   (0x00000001u << 25)
 
#define SBG_ECOM_GNSS_POS_QZSS_L1_USED   (0x00000001u << 26)
 
#define SBG_ECOM_GNSS_POS_QZSS_L2_USED   (0x00000001u << 27)
 
#define SBG_ECOM_GNSS_POS_QZSS_L5_USED   (0x00000001u << 28)
 

Typedefs

typedef enum _SbgEComGnssPosStatus SbgEComGnssPosStatus
 
typedef enum _SbgEComGnssPosType SbgEComGnssPosType
 
typedef enum _SbgEComGnssIfmStatus SbgEComGnssIfmStatus
 
typedef enum _SbgEComGnssSpoofingStatus SbgEComGnssSpoofingStatus
 
typedef enum _SbgEComGnssOsnmaStatus SbgEComGnssOsnmaStatus
 
typedef struct _SbgEComLogGnssPos SbgEComLogGnssPos
 

Enumerations

enum  _SbgEComGnssPosStatus {
  SBG_ECOM_GNSS_POS_STATUS_SOL_COMPUTED = 0 ,
  SBG_ECOM_GNSS_POS_STATUS_INSUFFICIENT_OBS = 1 ,
  SBG_ECOM_GNSS_POS_STATUS_INTERNAL_ERROR = 2 ,
  SBG_ECOM_GNSS_POS_STATUS_HEIGHT_LIMIT = 3
}
 
enum  _SbgEComGnssPosType {
  SBG_ECOM_GNSS_POS_TYPE_NO_SOLUTION = 0 ,
  SBG_ECOM_GNSS_POS_TYPE_UNKNOWN = 1 ,
  SBG_ECOM_GNSS_POS_TYPE_SINGLE = 2 ,
  SBG_ECOM_GNSS_POS_TYPE_PSRDIFF = 3 ,
  SBG_ECOM_GNSS_POS_TYPE_SBAS = 4 ,
  SBG_ECOM_GNSS_POS_TYPE_OMNISTAR = 5 ,
  SBG_ECOM_GNSS_POS_TYPE_RTK_FLOAT = 6 ,
  SBG_ECOM_GNSS_POS_TYPE_RTK_INT = 7 ,
  SBG_ECOM_GNSS_POS_TYPE_PPP_FLOAT = 8 ,
  SBG_ECOM_GNSS_POS_TYPE_PPP_INT = 9 ,
  SBG_ECOM_GNSS_POS_TYPE_FIXED = 10
}
 
enum  _SbgEComGnssIfmStatus {
  SBG_ECOM_GNSS_IFM_STATUS_ERROR = 0 ,
  SBG_ECOM_GNSS_IFM_STATUS_UNKNOWN = 1 ,
  SBG_ECOM_GNSS_IFM_STATUS_CLEAN = 2 ,
  SBG_ECOM_GNSS_IFM_STATUS_MITIGATED = 3 ,
  SBG_ECOM_GNSS_IFM_STATUS_CRITICAL = 4
}
 
enum  _SbgEComGnssSpoofingStatus {
  SBG_ECOM_GNSS_SPOOFING_STATUS_ERROR = 0 ,
  SBG_ECOM_GNSS_SPOOFING_STATUS_UNKNOWN = 1 ,
  SBG_ECOM_GNSS_SPOOFING_STATUS_CLEAN = 2 ,
  SBG_ECOM_GNSS_SPOOFING_STATUS_SINGLE = 3 ,
  SBG_ECOM_GNSS_SPOOFING_STATUS_MULTIPLE = 4
}
 
enum  _SbgEComGnssOsnmaStatus {
  SBG_ECOM_GNSS_OSNMA_STATUS_ERROR = 0 ,
  SBG_ECOM_GNSS_OSNMA_STATUS_DISABLED = 1 ,
  SBG_ECOM_GNSS_OSNMA_STATUS_INITIALIZING = 2 ,
  SBG_ECOM_GNSS_OSNMA_STATUS_WAITING_NTP = 3 ,
  SBG_ECOM_GNSS_OSNMA_STATUS_VALID = 4 ,
  SBG_ECOM_GNSS_OSNMA_STATUS_SPOOFED = 5
}
 

Functions

void sbgEComLogGnssPosZeroInit (SbgEComLogGnssPos *pLogData)
 
SbgErrorCode sbgEComLogGnssPosReadFromStream (SbgEComLogGnssPos *pLogData, SbgStreamBuffer *pStreamBuffer)
 
SbgErrorCode sbgEComLogGnssPosWriteToStream (const SbgEComLogGnssPos *pLogData, SbgStreamBuffer *pStreamBuffer)
 
void sbgEComLogGnssPosSetStatus (SbgEComLogGnssPos *pLogData, SbgEComGnssPosStatus status)
 
SbgEComGnssPosStatus sbgEComLogGnssPosGetStatus (const SbgEComLogGnssPos *pLogData)
 
void sbgEComLogGnssPosSetType (SbgEComLogGnssPos *pLogData, SbgEComGnssPosType posType)
 
SbgEComGnssPosType sbgEComLogGnssPosGetType (const SbgEComLogGnssPos *pLogData)
 
void sbgEComLogGnssPosSetSignalsUsed (SbgEComLogGnssPos *pLogData, uint32_t signalMask)
 
bool sbgEComLogGnssPosSignalsAreUsed (const SbgEComLogGnssPos *pLogData, uint32_t signalsMask)
 
bool sbgEComLogGnssPosNumSvTrackedIsValid (const SbgEComLogGnssPos *pLogData)
 
bool sbgEComLogGnssPosNumSvUsedIsValid (const SbgEComLogGnssPos *pLogData)
 
bool sbgEComLogGnssPosBaseStationIdIsValid (const SbgEComLogGnssPos *pLogData)
 
bool sbgEComLogGnssPosDifferentialAgeIsValid (const SbgEComLogGnssPos *pLogData)
 
void sbgEComLogGnssPosSetDifferentialAge (SbgEComLogGnssPos *pLogData, float differentialAge)
 
float sbgEComLogGnssPosGetDifferentialAge (const SbgEComLogGnssPos *pLogData)
 
void sbgEComLogGnssPosSetIfmStatus (SbgEComLogGnssPos *pLogData, SbgEComGnssIfmStatus status)
 
SbgEComGnssIfmStatus sbgEComLogGnssPosGetIfmStatus (const SbgEComLogGnssPos *pLogData)
 
void sbgEComLogGnssPosSetSpoofingStatus (SbgEComLogGnssPos *pLogData, SbgEComGnssSpoofingStatus status)
 
SbgEComGnssSpoofingStatus sbgEComLogGnssPosGetSpoofingStatus (const SbgEComLogGnssPos *pLogData)
 
void sbgEComLogGnssPosSetOsnmaStatus (SbgEComLogGnssPos *pLogData, SbgEComGnssOsnmaStatus status)
 
SbgEComGnssOsnmaStatus sbgEComLogGnssPosGetOsnmaStatus (const SbgEComLogGnssPos *pLogData)
 

Detailed Description

GNSS position related logs.

Author
SBG Systems
Date
09 May 2023
License

The MIT license

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Macro Definition Documentation

◆ SBG_ECOM_GNSS_POS_GPS_L1_USED

#define SBG_ECOM_GNSS_POS_GPS_L1_USED   (0x00000001u << 12)

GNSS signals definitions Set to 1 if GPS L1CA/L1P is used in solution.

◆ SBG_ECOM_GNSS_POS_GPS_L2_USED

#define SBG_ECOM_GNSS_POS_GPS_L2_USED   (0x00000001u << 13)

Set to 1 if GPS L2P/L2C is used in solution.

◆ SBG_ECOM_GNSS_POS_GPS_L5_USED

#define SBG_ECOM_GNSS_POS_GPS_L5_USED   (0x00000001u << 14)

Set to 1 if GPS L5 is used in solution.

◆ SBG_ECOM_GNSS_POS_GLO_L1_USED

#define SBG_ECOM_GNSS_POS_GLO_L1_USED   (0x00000001u << 15)

Set to 1 if GLONASS L1CA is used in solution.

◆ SBG_ECOM_GNSS_POS_GLO_L2_USED

#define SBG_ECOM_GNSS_POS_GLO_L2_USED   (0x00000001u << 16)

Set to 1 if GLONASS L2C/L2P is used in solution.

◆ SBG_ECOM_GNSS_POS_GLO_L3_USED

#define SBG_ECOM_GNSS_POS_GLO_L3_USED   (0x00000001u << 17)

Set to 1 if GLONASS L3 is used in solution.

◆ SBG_ECOM_GNSS_POS_GAL_E1_USED

#define SBG_ECOM_GNSS_POS_GAL_E1_USED   (0x00000001u << 18)

Set to 1 if Galileo E1 is used in solution.

◆ SBG_ECOM_GNSS_POS_GAL_E5A_USED

#define SBG_ECOM_GNSS_POS_GAL_E5A_USED   (0x00000001u << 19)

Set to 1 if Galileo E5a is used in solution.

◆ SBG_ECOM_GNSS_POS_GAL_E5B_USED

#define SBG_ECOM_GNSS_POS_GAL_E5B_USED   (0x00000001u << 20)

Set to 1 if Galileo E5b is used in solution.

◆ SBG_ECOM_GNSS_POS_GAL_E5ALT_USED

#define SBG_ECOM_GNSS_POS_GAL_E5ALT_USED   (0x00000001u << 21)

Set to 1 if Galileo E5 AltBoc is used in solution.

◆ SBG_ECOM_GNSS_POS_GAL_E6_USED

#define SBG_ECOM_GNSS_POS_GAL_E6_USED   (0x00000001u << 22)

Set to 1 if Galileo E6 is used in solution.

◆ SBG_ECOM_GNSS_POS_BDS_B1_USED

#define SBG_ECOM_GNSS_POS_BDS_B1_USED   (0x00000001u << 23)

Set to 1 if BeiDou B1 is used in solution.

◆ SBG_ECOM_GNSS_POS_BDS_B2_USED

#define SBG_ECOM_GNSS_POS_BDS_B2_USED   (0x00000001u << 24)

Set to 1 if BeiDou B2 is used in solution.

◆ SBG_ECOM_GNSS_POS_BDS_B3_USED

#define SBG_ECOM_GNSS_POS_BDS_B3_USED   (0x00000001u << 25)

Set to 1 if BeiDou B3 is used in solution.

◆ SBG_ECOM_GNSS_POS_QZSS_L1_USED

#define SBG_ECOM_GNSS_POS_QZSS_L1_USED   (0x00000001u << 26)

Set to 1 if QZSS L1CA is used in solution.

◆ SBG_ECOM_GNSS_POS_QZSS_L2_USED

#define SBG_ECOM_GNSS_POS_QZSS_L2_USED   (0x00000001u << 27)

Set to 1 if QZSS L2C is used in solution.

◆ SBG_ECOM_GNSS_POS_QZSS_L5_USED

#define SBG_ECOM_GNSS_POS_QZSS_L5_USED   (0x00000001u << 28)

Set to 1 if QZSS L5 is used in solution.

Typedef Documentation

◆ SbgEComGnssPosStatus

GNSS position status definitions.

◆ SbgEComGnssPosType

GNSS position types definitions.

◆ SbgEComGnssIfmStatus

GNSS interference monitoring and mitigation indicator.

◆ SbgEComGnssSpoofingStatus

GNSS spoofing monitoring and mitigation indicator.

◆ SbgEComGnssOsnmaStatus

GNSS Galileo OSNMA Status.

◆ SbgEComLogGnssPos

Structure that stores data for the SBG_ECOM_LOG_GPS::_POS message.

Enumeration Type Documentation

◆ _SbgEComGnssPosStatus

GNSS position status definitions.

Enumerator
SBG_ECOM_GNSS_POS_STATUS_SOL_COMPUTED 

A valid solution has been computed.

SBG_ECOM_GNSS_POS_STATUS_INSUFFICIENT_OBS 

Not enough valid SV to compute a solution.

SBG_ECOM_GNSS_POS_STATUS_INTERNAL_ERROR 

An internal error has occurred.

SBG_ECOM_GNSS_POS_STATUS_HEIGHT_LIMIT 

The height limit has been exceeded.

◆ _SbgEComGnssPosType

GNSS position types definitions.

Enumerator
SBG_ECOM_GNSS_POS_TYPE_NO_SOLUTION 

No valid solution available.

SBG_ECOM_GNSS_POS_TYPE_UNKNOWN 

An unknown solution type has been computed.

SBG_ECOM_GNSS_POS_TYPE_SINGLE 

Single point solution position.

SBG_ECOM_GNSS_POS_TYPE_PSRDIFF 

Standard Pseudorange Differential Solution (DGPS).

SBG_ECOM_GNSS_POS_TYPE_SBAS 

SBAS satellite used for differential corrections.

SBG_ECOM_GNSS_POS_TYPE_OMNISTAR 

Omnistar VBS Position (L1 sub-meter).

SBG_ECOM_GNSS_POS_TYPE_RTK_FLOAT 

Floating RTK ambiguity solution (20 cms RTK).

SBG_ECOM_GNSS_POS_TYPE_RTK_INT 

Integer RTK ambiguity solution (2 cms RTK).

SBG_ECOM_GNSS_POS_TYPE_PPP_FLOAT 

Precise Point Positioning with float ambiguities.

SBG_ECOM_GNSS_POS_TYPE_PPP_INT 

Precise Point Positioning with fixed ambiguities.

SBG_ECOM_GNSS_POS_TYPE_FIXED 

Fixed location solution position.

◆ _SbgEComGnssIfmStatus

GNSS interference monitoring and mitigation indicator.

Enumerator
SBG_ECOM_GNSS_IFM_STATUS_ERROR 

Interference monitoring system is in error and doesn't work.

SBG_ECOM_GNSS_IFM_STATUS_UNKNOWN 

Interference monitoring is either disabled or not available.

SBG_ECOM_GNSS_IFM_STATUS_CLEAN 

Interference are monitored and the environment is clean.

SBG_ECOM_GNSS_IFM_STATUS_MITIGATED 

Interference are detected and mitigated, the PVT is OK.

SBG_ECOM_GNSS_IFM_STATUS_CRITICAL 

Interference are detected and couldn't be mitigated, the PVT is invalid.

◆ _SbgEComGnssSpoofingStatus

GNSS spoofing monitoring and mitigation indicator.

Enumerator
SBG_ECOM_GNSS_SPOOFING_STATUS_ERROR 

Spoofing detection system is in error and doesn't work.

SBG_ECOM_GNSS_SPOOFING_STATUS_UNKNOWN 

Spoofing detection is either disabled or not available.

SBG_ECOM_GNSS_SPOOFING_STATUS_CLEAN 

Spoofing detection is enabled and not spoofer is detected.

SBG_ECOM_GNSS_SPOOFING_STATUS_SINGLE 

Probable spoofing identified by one method only.

SBG_ECOM_GNSS_SPOOFING_STATUS_MULTIPLE 

Confirmed spoofing identified by several methods such as Galileo OSNMA + Built In.

◆ _SbgEComGnssOsnmaStatus

GNSS Galileo OSNMA Status.

Enumerator
SBG_ECOM_GNSS_OSNMA_STATUS_ERROR 

OSNMA is in error state and doesn't work.

SBG_ECOM_GNSS_OSNMA_STATUS_DISABLED 

OSNMA is either disabled or not available.

SBG_ECOM_GNSS_OSNMA_STATUS_INITIALIZING 

OSNMA initialization in progress.

SBG_ECOM_GNSS_OSNMA_STATUS_WAITING_NTP 

OSNMA strict is used and is waiting to receive valid time from NTP server.

SBG_ECOM_GNSS_OSNMA_STATUS_VALID 

OSNMA is actively authenticating Galileo signals and not spoofing is detected.

SBG_ECOM_GNSS_OSNMA_STATUS_SPOOFED 

OSNMA has detected spoofing on Galileo signals.

Function Documentation

◆ sbgEComLogGnssPosZeroInit()

void sbgEComLogGnssPosZeroInit ( SbgEComLogGnssPos pLogData)

Zero initialize the message struct.

Parameters
[out]pLogDataStructure instance to zero init.

◆ sbgEComLogGnssPosReadFromStream()

SbgErrorCode sbgEComLogGnssPosReadFromStream ( SbgEComLogGnssPos pLogData,
SbgStreamBuffer pStreamBuffer 
)

Parse data for the SBG_ECOM_LOG_GPS::_POS message and fill the corresponding structure.

Parameters
[out]pLogDataLog structure instance to fill.
[in]pStreamBufferInput stream buffer to read the log from.
Returns
SBG_NO_ERROR if a valid log has been read from the stream buffer.

◆ sbgEComLogGnssPosWriteToStream()

SbgErrorCode sbgEComLogGnssPosWriteToStream ( const SbgEComLogGnssPos pLogData,
SbgStreamBuffer pStreamBuffer 
)

Write data for the SBG_ECOM_LOG_GPS::_POS message to the output stream buffer from the provided structure.

Parameters
[in]pLogDataLog structure instance to write.
[out]pStreamBufferOutput stream buffer to write the log to.
Returns
SBG_NO_ERROR if the log has been written to the stream buffer.

◆ sbgEComLogGnssPosSetStatus()

void sbgEComLogGnssPosSetStatus ( SbgEComLogGnssPos pLogData,
SbgEComGnssPosStatus  status 
)

Set the GNSS position solution status.

Parameters
[in]pLogDataLog instance.
[in]statusThe solution status to set.

◆ sbgEComLogGnssPosGetStatus()

SbgEComGnssPosStatus sbgEComLogGnssPosGetStatus ( const SbgEComLogGnssPos pLogData)

Returns the GNSS position solution status.

Note: Method doesn't follow standard naming conventions because of legacy sbgEComLogGnssPosGetStatus method.

Parameters
[in]pLogDataLog instance.
Returns
The solution status.

◆ sbgEComLogGnssPosSetType()

void sbgEComLogGnssPosSetType ( SbgEComLogGnssPos pLogData,
SbgEComGnssPosType  posType 
)

Set the GNSS position solution type.

Parameters
[in]pLogDataLog instance.
[in]posTypeThe solution type to set.

◆ sbgEComLogGnssPosGetType()

SbgEComGnssPosType sbgEComLogGnssPosGetType ( const SbgEComLogGnssPos pLogData)

Returns the GNSS position solution type.

Note: Method doesn't follow standard naming conventions because of legacy sbgEComLogGnssPosGetStatus method.

Parameters
[in]pLogDataLog instance.
Returns
The solution type.

◆ sbgEComLogGnssPosSetSignalsUsed()

void sbgEComLogGnssPosSetSignalsUsed ( SbgEComLogGnssPos pLogData,
uint32_t  signalMask 
)

Set the GNSS signals used in solution bitmask.

Parameters
[in]pLogDataLog instance.
[in]statusBitmak of signals used in solution to set.

◆ sbgEComLogGnssPosSignalsAreUsed()

bool sbgEComLogGnssPosSignalsAreUsed ( const SbgEComLogGnssPos pLogData,
uint32_t  signalsMask 
)

Returns true if the signal(s) are used in the solution.

Only returns true if all signals set in signalsMask are used in solution.

Parameters
[in]pLogDataLog instance.
[in)signalsMask Bitmask of signals to check if there are used in solution.
Returns
true if the signal(s) are used in solution.

◆ sbgEComLogGnssPosNumSvTrackedIsValid()

bool sbgEComLogGnssPosNumSvTrackedIsValid ( const SbgEComLogGnssPos pLogData)

Returns true if the numSvTracked field is valid.

Parameters
[in]pLogDataLog instance.
Returns
true if the numSvTracked field is valid or false otherwise.

◆ sbgEComLogGnssPosNumSvUsedIsValid()

bool sbgEComLogGnssPosNumSvUsedIsValid ( const SbgEComLogGnssPos pLogData)

Returns true if the numSvUsed field is valid.

Parameters
[in]pLogDataLog instance.
Returns
true if the numSvUsed field is valid or false otherwise.

◆ sbgEComLogGnssPosBaseStationIdIsValid()

bool sbgEComLogGnssPosBaseStationIdIsValid ( const SbgEComLogGnssPos pLogData)

Returns true if the baseStationId field is valid.

Parameters
[in]pLogDataLog instance.
Returns
true if the baseStationId field is valid or false otherwise.

◆ sbgEComLogGnssPosDifferentialAgeIsValid()

bool sbgEComLogGnssPosDifferentialAgeIsValid ( const SbgEComLogGnssPos pLogData)

Returns true if the differentialAge field is valid.

Parameters
[in]pLogDataLog instance.
Returns
true if the differentialAge field is valid or false otherwise.

◆ sbgEComLogGnssPosSetDifferentialAge()

void sbgEComLogGnssPosSetDifferentialAge ( SbgEComLogGnssPos pLogData,
float  differentialAge 
)

Set the differential correction age in seconds.

If differential correction age is greater than 655.340 seconds or NaN the field is set to invalid/not available.

Parameters
[in]pLogDataLog instance.
[in]differentialAgeDifferential correction age in seconds (>= 0).

◆ sbgEComLogGnssPosGetDifferentialAge()

float sbgEComLogGnssPosGetDifferentialAge ( const SbgEComLogGnssPos pLogData)

Returns the differential correction age in seconds.

If there is no valid differential age, returns NaN.

Parameters
[in]pLogDataLog instance.
Returns
Differential correction age in seconds.

◆ sbgEComLogGnssPosSetIfmStatus()

void sbgEComLogGnssPosSetIfmStatus ( SbgEComLogGnssPos pLogData,
SbgEComGnssIfmStatus  status 
)

Set the GNSS interference monitoring and mitigation status.

Parameters
[in]pLogDataLog instance.
[in]statusThe status to set.

◆ sbgEComLogGnssPosGetIfmStatus()

SbgEComGnssIfmStatus sbgEComLogGnssPosGetIfmStatus ( const SbgEComLogGnssPos pLogData)

Returns the GNSS position solution status.

Parameters
[in]pLogDataLog instance.
Returns
The interference monitoring and mitigation status.

◆ sbgEComLogGnssPosSetSpoofingStatus()

void sbgEComLogGnssPosSetSpoofingStatus ( SbgEComLogGnssPos pLogData,
SbgEComGnssSpoofingStatus  status 
)

Set the GNSS spoofing status.

Parameters
[in]pLogDataLog instance.
[in]statusThe status to set.

◆ sbgEComLogGnssPosGetSpoofingStatus()

SbgEComGnssSpoofingStatus sbgEComLogGnssPosGetSpoofingStatus ( const SbgEComLogGnssPos pLogData)

Returns the GNSS spoofing status.

Parameters
[in]pLogDataLog instance.
Returns
The spoofing status.

◆ sbgEComLogGnssPosSetOsnmaStatus()

void sbgEComLogGnssPosSetOsnmaStatus ( SbgEComLogGnssPos pLogData,
SbgEComGnssOsnmaStatus  status 
)

Set the GNSS Galileo OSNMA status.

Parameters
[in]pLogDataLog instance.
[in]statusThe status to set.

◆ sbgEComLogGnssPosGetOsnmaStatus()

SbgEComGnssOsnmaStatus sbgEComLogGnssPosGetOsnmaStatus ( const SbgEComLogGnssPos pLogData)

Returns the GNSS Galileo OSNMA status.

Parameters
[in]pLogDataLog instance.
Returns
The Galileo OSNMA status.