mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Device: Add GetComponentVersions and GetSupportedFeatures commands
Driver: Fix re-open and failed open cases for TCP Also enforces even length packets for the RED2, FIRE3, and FIRE3 FlexRay devices.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#ifndef __SUPPORTEDFEATURESPACKET_H_
|
||||
#define __SUPPORTEDFEATURESPACKET_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace icsneo {
|
||||
|
||||
class SupportedFeaturesMessage;
|
||||
|
||||
struct SupportedFeaturesPacket {
|
||||
static std::shared_ptr<SupportedFeaturesMessage> DecodeToMessage(const std::vector<uint8_t>& bytes);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // __SUPPORTEDFEATURESPACKET_H_
|
||||
Reference in New Issue
Block a user