Changeset 9371 in ntrip


Ignore:
Timestamp:
Mar 11, 2021, 2:50:22 PM (4 years ago)
Author:
stuerze
Message:

some additions regarding rinexV305: navigation data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bncutils.cpp

    r9363 r9371  
    10431043}
    10441044
     1045// Extracts k bits from position p and returns the extracted value as integer
     1046////////////////////////////////////////////////////////////////////////////
     1047int bitExtracted(int number, int k, int p) {
     1048  return (((1 << k) - 1) & (number >> (p - 1)));
     1049}
     1050
    10451051// Convert RTCM3 lock-time indicator to minimum lock time in seconds
    10461052////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.