Changeset 67 in ntrip for trunk/BNC/RTIGS
- Timestamp:
- Aug 24, 2006, 8:48:46 PM (18 years ago)
- Location:
- trunk/BNC/RTIGS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTIGS/rtigs.cpp
r66 r67 47 47 if (xx == 200) { 48 48 _buffer = _buffer.mid(ii); 49 cout << "Message found at " << ii << endl;50 49 found = true; 51 50 break; … … 62 61 unsigned short messType = _GPSTrans.GetRTIGSHdrRecType(p_buf); 63 62 unsigned short numbytes = _GPSTrans.GetRTIGSHdrRecBytes(p_buf); 64 //// unsigned short statID = _GPSTrans.GetRTIGSHdrStaID(p_buf);65 63 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 // --------------------------- 70 66 if (_buffer.size() < numbytes) { 71 67 return; 72 68 } 73 69 70 // Decode the epoch 71 // ---------------- 74 72 if (messType == 200) { 75 73 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); 78 75 if (retval >= 1) { 79 76 _GPSTrans.print_CMEAS(); -
trunk/BNC/RTIGS/rtigs.h
r59 r67 2 2 #ifndef RTIGS_H 3 3 #define RTIGS_H 4 5 #include <QByteArray> 4 6 5 7 #include "../RTCM/GPSDecoder.h" … … 13 15 private: 14 16 CGPS_Transform _GPSTrans; 17 QByteArray _buffer; 15 18 } ; 16 19
Note:
See TracChangeset
for help on using the changeset viewer.