Changeset 9368 in ntrip for trunk/BNC/src


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

some additions regarding rinexV305: navigation data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncutils.cpp

    r9362 r9368  
    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.