##// END OF EJS Templates
Last comit before installation on pc-coillot
Last comit before installation on pc-coillot

File last commit:

r50:47b677d190ee default
r50:47b677d190ee default
Show More
tcpackettosend.h
28 lines | 644 B | text/x-c | CLexer
#ifndef TCPACKETTOSEND_H
#define TCPACKETTOSEND_H
#include <QObject>
#include "parameterdump_global.h"
#include <TC_types.h>
class PARAMETERDUMPSHARED_EXPORT 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