| 1 |
/** @file |
/** @file |
| 2 |
* $Source: /home/cvsmanager/yoda/techmodel/TmtcReader.cpp,v $ |
* $Source: /home/cvsmanager/yoda/techmodel/TmtcReader.cpp,v $ |
| 3 |
* $Id: TmtcReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $ |
* $Id: TmtcReader.cpp,v 1.2 2004/07/17 20:03:38 kusanagi Exp $ |
| 4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
| 5 |
* |
* |
| 6 |
* Implementation of the TmtcReader class. |
* Implementation of the TmtcReader class. |
| 45 |
*/ |
*/ |
| 46 |
std::string TmtcReader::GetVersionInfo(void) const { |
std::string TmtcReader::GetVersionInfo(void) const { |
| 47 |
return |
return |
| 48 |
"$Header: /home/cvsmanager/yoda/techmodel/TmtcReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $\n"; |
"$Header: /home/cvsmanager/yoda/techmodel/TmtcReader.cpp,v 1.2 2004/07/17 20:03:38 kusanagi Exp $\n"; |
| 49 |
} |
} |
| 50 |
|
|
| 51 |
/** |
/** |
| 120 |
|
|
| 121 |
rec->TM_BIL_DIAG_ACQ = subData[53]; |
rec->TM_BIL_DIAG_ACQ = subData[53]; |
| 122 |
rec->TM_CC_DIAG_ACQ = (((UINT32)subData[54]<<24)&0xFF000000) + (((UINT32)subData[55]<<16)&0x00FF0000) + (((UINT32)subData[56]<<8)&0x0000FF00) + ((UINT32)subData[57])&0x000000FF; |
rec->TM_CC_DIAG_ACQ = (((UINT32)subData[54]<<24)&0xFF000000) + (((UINT32)subData[55]<<16)&0x00FF0000) + (((UINT32)subData[56]<<8)&0x0000FF00) + ((UINT32)subData[57])&0x000000FF; |
|
//free(subData); |
|
| 123 |
} else { |
} else { |
| 124 |
cat << log4cpp::Priority::ERROR |
cat << log4cpp::Priority::ERROR |
| 125 |
<< "Wrong CRC on Subpacket int TMTC Packet starting at position " << start |
<< "Wrong CRC on Subpacket int TMTC Packet starting at position " << start |