mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Driver: Fix re-open and failed open cases for TCP Also enforces even length packets for the RED2, FIRE3, and FIRE3 FlexRay devices.
23 lines
416 B
C++
23 lines
416 B
C++
#ifndef __COMPONENTVERSIONPACKET_H__
|
|
#define __COMPONENTVERSIONPACKET_H__
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#include <cstdint>
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
namespace icsneo {
|
|
|
|
class ComponentVersionsMessage;
|
|
|
|
struct ComponentVersionPacket {
|
|
static std::shared_ptr<ComponentVersionsMessage> DecodeToMessage(const std::vector<uint8_t>& bytes);
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __cplusplus
|
|
|
|
#endif // __DEVICECOMPONENTVERSIONPACKET_H__
|