Ginan
Loading...
Searching...
No Matches
rtcmEncoder.cpp File Reference

Functions

int uraToClassValue (double ura)
 Convert SSR URA to URA_CLASS and URA_VALUE combination, with 3 Msb URA_CLASS and 3Lsb URA_VALUE.
 
void calculateSsrComb (GTime referenceTime, int udi, SSRMeta &ssrMeta, int masterIod, SsrOutMap &ssrOutMap)
 
void setbitu (unsigned char *buff, int pos, int len, unsigned int value)
 set unsigned bits to byte data
 
void setbits (unsigned char *buff, int pos, int len, int value)
 set signed bits to byte data
 
int setbituInc (unsigned char *buff, int pos, int len, unsigned int value)
 increasingly set unsigned bits to byte data
 
int setbitsInc (unsigned char *buff, int pos, int len, int value)
 increasingly set signed bits to byte data
 
void setbitg (unsigned char *buff, int pos, int len, int value)
 set sign-magnitude bits applied in GLO nav messages
 
int setbitgInc (unsigned char *buff, int pos, int len, int value)
 increasingly set sign-magnitude bits applied in GLO nav messages
 

Function Documentation

◆ calculateSsrComb()

void calculateSsrComb ( GTime referenceTime,
int udi,
SSRMeta & ssrMeta,
int masterIod,
SsrOutMap & ssrOutMap )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setbitg()

void setbitg ( unsigned char * buff,
int pos,
int len,
int value )

set sign-magnitude bits applied in GLO nav messages

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
valuevalue to set
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setbitgInc()

int setbitgInc ( unsigned char * buff,
int pos,
int len,
int value )

increasingly set sign-magnitude bits applied in GLO nav messages

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
valuevalue to set
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setbits()

void setbits ( unsigned char * buff,
int pos,
int len,
int value )

set signed bits to byte data

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
valuevalue to set
Here is the caller graph for this function:

◆ setbitsInc()

int setbitsInc ( unsigned char * buff,
int pos,
int len,
int value )

increasingly set signed bits to byte data

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
valuevalue to set
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setbitu()

void setbitu ( unsigned char * buff,
int pos,
int len,
unsigned int value )

set unsigned bits to byte data

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
valuevalue to set
Here is the caller graph for this function:

◆ setbituInc()

int setbituInc ( unsigned char * buff,
int pos,
int len,
unsigned int value )

increasingly set unsigned bits to byte data

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
valuevalue to set
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uraToClassValue()

int uraToClassValue ( double ura)

Convert SSR URA to URA_CLASS and URA_VALUE combination, with 3 Msb URA_CLASS and 3Lsb URA_VALUE.

Here is the caller graph for this function: