Changeset 67 in ntrip for trunk/BNC/RTIGS/rtigs.cpp
- Timestamp:
- Aug 24, 2006, 8:48:46 PM (18 years ago)
- File:
-
- 1 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();
Note:
See TracChangeset
for help on using the changeset viewer.