7 : theFirmwareVersion(firmwareVersion)
24 for(
int i = 1;
i < 5; ++
i)
35 : theFirmwareVersion(firmwareVersion)
39 switch (firmwareVersion){
54 <<
"failed to contruct: firmware version is bad/not defined!";
79 unsigned int crc = 0xb00b1;
81 assert(trailer.
crc22() == 0xb00b1);
86 assert(trailer2.crc22() == 0xb00b1);
CSCTMBTrailer(int wordCount, int firmwareVersion)
don't forget to pass in the size of the tmb header + clct data
unsigned int crc22() const
unsigned short theData[7]