Changeset 67 in ntrip


Ignore:
Timestamp:
Aug 24, 2006, 8:48:46 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC/RTIGS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTIGS/rtigs.cpp

    r66 r67  
    4747    if (xx == 200) {
    4848      _buffer = _buffer.mid(ii);
    49       cout << "Message found at " << ii << endl;
    5049      found = true;
    5150      break;
     
    6261  unsigned short messType = _GPSTrans.GetRTIGSHdrRecType(p_buf);
    6362  unsigned short numbytes = _GPSTrans.GetRTIGSHdrRecBytes(p_buf);
    64   ////  unsigned short statID   = _GPSTrans.GetRTIGSHdrStaID(p_buf);
    6563
    66   cout << "numbytes = " << numbytes << endl;
    67 
    68   // Not enough new data, store it into the internal buffer and return
    69   // -----------------------------------------------------------------
     64  // Not enough new data, return
     65  // ---------------------------
    7066  if (_buffer.size() < numbytes) {
    7167    return;
    7268  }
    7369
     70  // Decode the epoch
     71  // ----------------
    7472  if (messType == 200) {
    7573    RTIGSO_T       rtigs_obs;
    76     short retval = _GPSTrans.Decode_RTIGS_Obs(p_buf, numbytes ,
    77                                               rtigs_obs);
     74    short retval = _GPSTrans.Decode_RTIGS_Obs(p_buf, numbytes, rtigs_obs);
    7875    if (retval >= 1) {
    7976      _GPSTrans.print_CMEAS();
  • trunk/BNC/RTIGS/rtigs.h

    r59 r67  
    22#ifndef RTIGS_H
    33#define RTIGS_H
     4
     5#include <QByteArray>
    46
    57#include "../RTCM/GPSDecoder.h"
     
    1315private:
    1416  CGPS_Transform _GPSTrans;
     17  QByteArray     _buffer;
    1518} ;
    1619
Note: See TracChangeset for help on using the changeset viewer.