##// END OF EJS Templates
update before compilation on pc-alison
update before compilation on pc-alison

File last commit:

r48:bcdc8ffba490 default
r49:0d83256ac6de default
Show More
tcpackettosend.h
27 lines | 583 B | text/x-c | CLexer
#ifndef TCPACKETTOSEND_H
#define TCPACKETTOSEND_H
#include <QObject>
#include <TC_types.h>
class TCPacketToSend : public QObject
{
Q_OBJECT
public:
explicit TCPacketToSend(QObject *parent = 0);
unsigned char calculateDataCRC(char *data, int nbBytes);
void initLookUpTableForCRC( void );
void GetCRCAsTwoBytes(unsigned char* data, unsigned char* crcAsTwoBytes, unsigned int sizeOfData);
unsigned int Crc_opt( unsigned char D, unsigned int Chk);
unsigned int lookUpTableForCRC[256];
signals:
public slots:
};
#endif // TCPACKETTOSEND_H