ROSaic
Data Structures | Macros | Variables
sbf_structs.hpp File Reference

Declares and defines structs into which SBF blocks are unpacked then shipped to handler functions. More...

#include "ssn_types.hpp"
Include dependency graph for sbf_structs.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  BlockHeader_t
 Struct for the SBF block's header message. More...
 
class  PVTCartesian
 Struct for the SBF block "PVTCartesian". More...
 
class  PVTGeodetic
 Struct for the SBF block "PVTGeodetic". More...
 
class  AttEuler
 Struct for the SBF block "AttEuler". More...
 
class  AttCovEuler
 Struct for the SBF block "AttCovEuler". More...
 
class  ChannelStateInfo
 Struct for the SBF sub-block "ChannelStateInfo". More...
 
class  ChannelSatInfo
 Struct for the SBF sub-block "ChannelSatInfo". More...
 
class  ChannelStatus
 Struct for the SBF block "ChannelStatus". More...
 
class  MeasEpochChannelType2
 Struct for the SBF sub-block "MeasEpochChannelType2". More...
 
class  MeasEpochChannelType1
 Struct for the SBF sub-block "MeasEpochChannelType1". More...
 
class  MeasEpoch
 Struct for the SBF block "MeasEpoch". More...
 
class  DOP
 Struct for the SBF block "DOP". More...
 
class  ReceiverSetup
 Struct for the SBF block "ReceiverSetup". More...
 
class  QualityInd
 Struct for the SBF block "QualityInd". More...
 
struct  AGCState_t
 Struct for the SBF sub-block "AGCState". More...
 
class  ReceiverStatus
 Struct for the SBF block "ReceiverStatus". More...
 
class  PosCovCartesian
 Struct for the SBF block "PosCovCartesian". More...
 
class  PosCovGeodetic
 Struct for the SBF block "PosCovGeodetic". More...
 
class  VelCovCartesian
 Struct for the SBF block "VelCovCartesian". More...
 
class  VelCovGeodetic
 Struct for the SBF block "VelCovGeodetic". More...
 

Macros

#define NR_OF_LOGICALCHANNELS   80
 Using maximum value of NR_OF_LOGICALCHANNELS for SBF definitions. More...
 
#define MAX_NB_INMARSATCHANNELS   1
 Inmarsat is a British satellite telecommunications company. More...
 
#define MAX_NR_OF_SIGNALS_PER_SATELLITE   7
 Using maximum value of MAX_NR_OF_SIGNALS_PER_SATELLITE for SBF definitions. More...
 
#define NR_OF_ANTENNAS   3
 Using maximum value of NR_OF_ANTENNAS for SBF definitions. More...
 
#define MAXSB_NBRANTENNA   4
 Maximum number of antennas that mosaic etc. can handle. More...
 
#define MAXSB_CHANNELSATINFO   (NR_OF_LOGICALCHANNELS + MAX_NB_INMARSATCHANNELS)
 Max number of bytes that ChannelSatInfo sub-block can consist of. More...
 
#define MAXSB_CHANNELSTATEINFO   (MAXSB_CHANNELSATINFO * MAXSB_NBRANTENNA)
 Max number of bytes that ChannelStateInfo sub-block can consist of. More...
 
#define MAXSB_MEASEPOCH_T1   (NR_OF_LOGICALCHANNELS + MAX_NB_INMARSATCHANNELS)
 Max number of bytes that MeasEpochChannelType1 sub-block can consist of. More...
 
#define MAXSB_MEASEPOCH_T2   ((MAXSB_MEASEPOCH_T1) * ( ((MAX_NR_OF_SIGNALS_PER_SATELLITE) * (NR_OF_ANTENNAS)) -1))
 Max number of bytes that MeasEpochChannelType2 sub-block can consist of. More...
 
#define SBFDOUBLE   double
 
#define SBF_CHANNELSTATUS_DATA_LENGTH   MAXSB_CHANNELSATINFO * sizeof(ChannelSatInfo) + MAXSB_CHANNELSTATEINFO * sizeof(ChannelStateInfo)
 Max number of bytes that the Data part of the ChannelStatus struct can consist of. More...
 
#define MEASEPOCH_DATA_LENGTH   (MAXSB_MEASEPOCH_T1 * sizeof(MeasEpochChannelType1) + MAXSB_MEASEPOCH_T2 * sizeof(MeasEpochChannelType2))
 Max number of bytes that the data part of the MeasEpoch struct can consist of. More...
 

Variables

static const uint16_t CRC_LOOK_UP [256]
 CRC look-up table for fast computation of the 16-bit CRC for SBF blocks. More...
 

Detailed Description

Declares and defines structs into which SBF blocks are unpacked then shipped to handler functions.

Date
17/08/20

Definition in file sbf_structs.hpp.

Macro Definition Documentation

◆ MAX_NB_INMARSATCHANNELS

#define MAX_NB_INMARSATCHANNELS   1

Inmarsat is a British satellite telecommunications company.

Definition at line 40 of file sbf_structs.hpp.

◆ MAX_NR_OF_SIGNALS_PER_SATELLITE

#define MAX_NR_OF_SIGNALS_PER_SATELLITE   7

Using maximum value of MAX_NR_OF_SIGNALS_PER_SATELLITE for SBF definitions.

Definition at line 44 of file sbf_structs.hpp.

◆ MAXSB_CHANNELSATINFO

#define MAXSB_CHANNELSATINFO   (NR_OF_LOGICALCHANNELS + MAX_NB_INMARSATCHANNELS)

Max number of bytes that ChannelSatInfo sub-block can consist of.

Definition at line 56 of file sbf_structs.hpp.

◆ MAXSB_CHANNELSTATEINFO

#define MAXSB_CHANNELSTATEINFO   (MAXSB_CHANNELSATINFO * MAXSB_NBRANTENNA)

Max number of bytes that ChannelStateInfo sub-block can consist of.

Definition at line 60 of file sbf_structs.hpp.

◆ MAXSB_MEASEPOCH_T1

#define MAXSB_MEASEPOCH_T1   (NR_OF_LOGICALCHANNELS + MAX_NB_INMARSATCHANNELS)

Max number of bytes that MeasEpochChannelType1 sub-block can consist of.

Definition at line 64 of file sbf_structs.hpp.

◆ MAXSB_MEASEPOCH_T2

#define MAXSB_MEASEPOCH_T2   ((MAXSB_MEASEPOCH_T1) * ( ((MAX_NR_OF_SIGNALS_PER_SATELLITE) * (NR_OF_ANTENNAS)) -1))

Max number of bytes that MeasEpochChannelType2 sub-block can consist of.

Definition at line 68 of file sbf_structs.hpp.

◆ MAXSB_NBRANTENNA

#define MAXSB_NBRANTENNA   4

Maximum number of antennas that mosaic etc. can handle.

Definition at line 52 of file sbf_structs.hpp.

◆ MEASEPOCH_DATA_LENGTH

#define MEASEPOCH_DATA_LENGTH   (MAXSB_MEASEPOCH_T1 * sizeof(MeasEpochChannelType1) + MAXSB_MEASEPOCH_T2 * sizeof(MeasEpochChannelType2))

Max number of bytes that the data part of the MeasEpoch struct can consist of.

Definition at line 350 of file sbf_structs.hpp.

◆ NR_OF_ANTENNAS

#define NR_OF_ANTENNAS   3

Using maximum value of NR_OF_ANTENNAS for SBF definitions.

Definition at line 48 of file sbf_structs.hpp.

◆ NR_OF_LOGICALCHANNELS

#define NR_OF_LOGICALCHANNELS   80

Using maximum value of NR_OF_LOGICALCHANNELS for SBF definitions.

Definition at line 36 of file sbf_structs.hpp.

◆ SBF_CHANNELSTATUS_DATA_LENGTH

#define SBF_CHANNELSTATUS_DATA_LENGTH   MAXSB_CHANNELSATINFO * sizeof(ChannelSatInfo) + MAXSB_CHANNELSTATEINFO * sizeof(ChannelStateInfo)

Max number of bytes that the Data part of the ChannelStatus struct can consist of.

Definition at line 289 of file sbf_structs.hpp.

◆ SBFDOUBLE

#define SBFDOUBLE   double

Definition at line 90 of file sbf_structs.hpp.

Variable Documentation

◆ CRC_LOOK_UP

const uint16_t CRC_LOOK_UP[256]
static

CRC look-up table for fast computation of the 16-bit CRC for SBF blocks.

Provided by Septenrio (c) 2020 Septentrio N.V./S.A., Belgium.

Definition at line 592 of file sbf_structs.hpp.