Changeset 6014 in ntrip


Ignore:
Timestamp:
Aug 20, 2014, 4:06:16 PM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

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

    r5838 r6014  
    1515  else if (_system == 'R') {
    1616    return MAXPRN_GPS + _number;
     17  }
     18  else if (_system == 'E') {
     19    return MAXPRN_GPS + MAXPRN_GLONASS + _number;
    1720  }
    1821  return 0;
     
    3336  char        system = '\x0';
    3437  const char* number = 0;
    35   if      ( str[0] == 'G' || str[0] == 'R') {
     38  if      ( str[0] == 'G' || str[0] == 'R' || str[0] == 'E') {
    3639    system = str[0];
    3740    number = str.c_str() + 1;
  • trunk/BNC/src/t_prn.h

    r5838 r6014  
    88  static const unsigned MAXPRN_GPS     = 32;
    99  static const unsigned MAXPRN_GLONASS = 26;
    10   static const unsigned MAXPRN         = MAXPRN_GPS + MAXPRN_GLONASS;
     10  static const unsigned MAXPRN_GALILEO = 30;
     11  static const unsigned MAXPRN         = MAXPRN_GPS + MAXPRN_GLONASS + MAXPRN_GALILEO;
    1112
    1213  t_prn() : _system('G'), _number(0) {}
Note: See TracChangeset for help on using the changeset viewer.