Ignore:
Timestamp:
Nov 10, 2026, 12:11:31 PM (73 minutes ago)
Author:
stuerze
Message:

Structured logging improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3Decoder.cpp

    r11185 r11191  
    139139    CurrentObs._time = CurrentObsTime;
    140140    CurrentObs._type = type;
     141    CurrentObs._size = int(_currMsg._size);
    141142
    142143    GETBITS(sv, 6)
    … …  
    734735          CurrentObs._time = CurrentObsTime;
    735736          CurrentObs._type = type;
     737          CurrentObs._size = int(_currMsg._size);
    736738          if (sys == 'S')
    737739            CurrentObs._prn.set(sys, 20 - 1 + RTCM3_MSM_NUMSAT - i);
    … …  
    965967    CurrentObs._time = CurrentObsTime;
    966968    CurrentObs._type = type;
     969    CurrentObs._size = int(_currMsg._size);
    967970
    968971    GETBITS(sv, 6)
    … …  
    13481351    GLOFreq[sv - 1] = 100 + eph._frq_num ; /* store frequency for other users (MSM) */
    13491352    _gloFrq = QString("%1 %2").arg(eph._prn.toString().c_str()).arg(eph._frq_num, 2, 'f', 0);
     1353    _gloFrqSource = _currMsg;
    13501354
    13511355    if (eph.validMdata()) {
    … …  
    20212025    memcpy(_antType.back()._descriptor, antenna, antnum);
    20222026    _antType.back()._descriptor[antnum] = 0;
     2027    _antType.back()._source = _currMsg;
    20232028  }
    20242029  SKIPBITS(8) /* antenna setup ID */
    … …  
    20412046      memcpy(_recType.back()._descriptor, receiver, recnum);
    20422047      _recType.back()._descriptor[recnum] = 0;
     2048      _recType.back()._source = _currMsg;
    20432049      if (recfirnum > -1 && recfirnum < 265) {
    20442050        memcpy(_recType.back()._firmware, rec_firmware, recfirnum);
    … …  
    20672073  _antList.push_back(t_antRefPoint());
    20682074  _antList.back()._type = t_antRefPoint::ARP;
     2075  _antList.back()._source = _currMsg;
    20692076  SKIPBITS(22)
    20702077  GETBITSSIGN(x, 38)
    … …  
    21272134  if (_gloBiasInfo != gloBiasInfo) {
    21282135    _gloBiasInfo.set(gloBiasInfo);
     2136    _gloBiasSource = _currMsg;
    21292137  }
    21302138  return true;
    … …  
    21532161  if (_serviceCrs.empty() ||
    21542162      (strncmp(_serviceCrs.back()._name, serviceCrs._name, servicecrsnum) != 0)) {
     2163    serviceCrs._msgType = _currMsg._type;
     2164    serviceCrs._msgSize = int(_currMsg._size);
    21552165    _serviceCrs.push_back(serviceCrs);
    21562166    GETFLOAT(_serviceCrs.back()._CE, 16, 1/100.0)
    … …  
    21842194  if (_rtcmCrs.empty() ||
    21852195      (strncmp(_rtcmCrs.back()._name, rtcmCrs._name, rtcmcrsnum) != 0)) {
     2196    rtcmCrs._msgType = _currMsg._type;
     2197    rtcmCrs._msgSize = int(_currMsg._size);
    21862198    _rtcmCrs.push_back(rtcmCrs);
    21872199
    … …  
    22482260    }
    22492261  }
     2262  helmertPar._msgType = _currMsg._type;
     2263  helmertPar._msgSize = int(_currMsg._size);
    22502264  _helmertPar.push_back(helmertPar);
    22512265
    … …  
    23002314      _typeList.back()._type = id;
    23012315      _typeList.back()._size = _BlockSize -6; /* header + crc */
     2316      _currMsg = _typeList.back();
    23022317
    23032318      /* SSR I+II data handled in another function, already pass the
Note: See TracChangeset for help on using the changeset viewer.