Changeset 11011 in ntrip for trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
- Timestamp:
- Sep 9, 2026, 3:45:54 PM (12 days ago)
- File:
-
- 1 edited
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r11010 r11011 207 207 memcpy(&_phaseBias, &phaseBiasSav, sizeof(phaseBiasSav)); 208 208 memcpy(&_vTEC, &vTECSav, sizeof(vTECSav)); 209 memcpy(&metaDataSav, &_metaData,sizeof(metaDataSav));209 memcpy(&_metaData, &metaDataSav, sizeof(metaDataSav)); 210 210 break; 211 211 } … … 976 976 epoSecGlo = epoSecGlo + gnumleap(date.year(), date.month(), date.day()); 977 977 } 978 if (_type == RTCMssr) { 978 if (_type == RTCMssr || _type == RTCMnewssr) { 979 // Same GLONASS epoch wire convention (UTC+3h) as RTCMssr 979 980 epoSecGlo = epoSecGlo - 3 * 3600 + gnumleap(date.year(), date.month(), date.day()); 980 981 } … … 997 998 _lastTime.set(currentWeek, epoSecBds); 998 999 } 1000 // Some message types (e.g. Metadata) carry no epoch field of their own, 1001 // and none of the above found anything fresh to use either - fall back 1002 // to the last known valid time rather than leaving _lastTime invalid 1003 // (which would silently drop the message's output entirely). 1004 else if (prevTime.valid()) { 1005 _lastTime = prevTime; 1006 } 999 1007 1000 1008 if (_lastTime.valid()) {
Note:
See TracChangeset
for help on using the changeset viewer.
