RTCM 3 message framer. 
Definition in file rtcm_framer.cc.
 
Go to the source code of this file.
◆ P1_VMODULE_NAME
      
        
          | #define P1_VMODULE_NAME   rtcm_framer | 
        
      
 
 
◆ CRC24Hash()
  
  
      
        
          | static uint32_t CRC24Hash  | 
          ( | 
          const uint8_t *  | 
          data,  | 
         
        
           | 
           | 
          size_t  | 
          len  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ EndianSwap16()
  
  
      
        
          | static constexpr uint16_t EndianSwap16  | 
          ( | 
          const uint8_t *  | 
          num_ptr | ) | 
           | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ EndianSwap24()
  
  
      
        
          | static constexpr uint32_t EndianSwap24  | 
          ( | 
          const uint8_t *  | 
          num_ptr | ) | 
           | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ HexPrintableInteger()
Wrap an integer so it will be output to a stream as its hex representation. 
For example:
std::cout << HexPrintableValue((int16_t)-255) << std::endl;
std::cout << HexPrintableValue((uint32_t)255) << std::endl;
std::cout << HexPrintableValue((uint8_t)48) << std::endl;
generates the following output:
0xff01
0x000000ff
0x30 ('0')
- Template Parameters
 - 
  
    | T | The type of the value parameter (inferred implicitly).  | 
  
   
- Parameters
 - 
  
    | value | The integer value to wrap. | 
  
   
- Returns
 - The wrapped integer that can be used in an p1_ostream. 
 
Definition at line 171 of file rtcm_framer.cc.
 
 
◆ operator<<()
◆ RTCM3_PREAMBLE
  
  
      
        
          | constexpr uint8_t RTCM3_PREAMBLE = 0xD3 | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ RTCM_CRC24Q
  
  
      
        
          | constexpr uint32_t RTCM_CRC24Q[256] | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ RTCM_CRC_BYTES
  
  
      
        
          | constexpr size_t RTCM_CRC_BYTES = 3 | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ RTCM_HEADER_BYTES
  
  
      
        
          | constexpr size_t RTCM_HEADER_BYTES = 3 | 
         
       
   | 
  
staticconstexpr   | 
  
 
Transport header: Preamble = 8 bits Reserved = 6 bits Message Length = 10 bits Variable Length Data Message (not counted) 
Definition at line 30 of file rtcm_framer.cc.
 
 
◆ RTCM_MAX_SIZE_BYTES
  
  
      
        
          | constexpr size_t RTCM_MAX_SIZE_BYTES | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ RTCM_OVERHEAD_BYTES
  
  
      
        
          | constexpr size_t RTCM_OVERHEAD_BYTES | 
         
       
   | 
  
staticconstexpr   |