First implementation

This commit is contained in:
Yury Shuvakin
2025-07-02 18:00:35 +09:00
commit 6cf2010c08
107 changed files with 10803 additions and 0 deletions

21
CanStructs.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef CANSTRUCTS_H
#define CANSTRUCTS_H
#include <QObject>
class CanModule: public QObject
{
};
struct CanId
{
uint8_t destination = 0;
uint8_t source = 0x1;
uint16_t address = 0;
uint8_t type = 0;
uint32_t serialize() const;
void deserialize(uint32_t id);
};
#endif // CANSTRUCTS_H