Changeset 1353 in ntrip for trunk/BNC/bncgetthread.cpp


Ignore:
Timestamp:
Dec 27, 2008, 1:59:46 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r1348 r1353  
    9393                           const QByteArray& latitude,
    9494                           const QByteArray& longitude,
    95                            const QByteArray& nmea, int iMount) {
     95                           const QByteArray& nmea,
     96                           const QByteArray& ntripVersion, int iMount) {
    9697
    9798  setTerminationEnabled(true);
     
    103104  _longitude  = longitude;
    104105  _nmea       = nmea;
     106  _ntripVersion = ntripVersion;
    105107  _iMount     = iMount;   // index in mountpoints array
    106108
     
    185187  }
    186188  else {
    187     _rnx = new bncRinex(_staID, _mountPoint,
    188                         _format, _latitude, _longitude, _nmea);
     189    _rnx = new bncRinex(_staID, _mountPoint, _format, _latitude,
     190                        _longitude, _nmea, _ntripVersion);
    189191  }
    190192  _rnx_set_position = false;
     
    313315    _socket = new bncSocket;
    314316    if (_socket->request(_mountPoint, _latitude, _longitude,
    315                          _nmea, _timeOut, msg) != success) {
     317                         _nmea, _ntripVersion, _timeOut, msg) != success) {
    316318      delete _socket;
    317319      _socket = 0;
     
    351353      if (line.indexOf("Unauthorized") != -1) {
    352354        QStringList table;
    353         bncTableDlg::getFullTable(_mountPoint.host(), _mountPoint.port(), table);
     355        bncTableDlg::getFullTable(_mountPoint.host(), _mountPoint.port(),
     356                                  _ntripVersion, table);
    354357        QString net;
    355358        QStringListIterator it(table);
Note: See TracChangeset for help on using the changeset viewer.