##// END OF EJS Templates
Minor updates for qt5 compatibility
Minor updates for qt5 compatibility

File last commit:

r66:17db61d84eef default
r66:17db61d84eef default
Show More
tcpackettosend.h
28 lines | 617 B | text/x-c | CLexer
#ifndef TCPACKETTOSEND_H
#define TCPACKETTOSEND_H
#include <QObject>
#include "parameterdump_global.h"
#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