Device: Add device binary export support

This commit is contained in:
Yasser Yassine
2023-05-30 21:22:53 +00:00
parent f907d6759f
commit d9c12bffe7
11 changed files with 242 additions and 3 deletions
@@ -0,0 +1,23 @@
#ifndef __GENERICBINARYSTATUSPACKET_H__
#define __GENERICBINARYSTATUSPACKET_H__
#ifdef __cplusplus
#include <cstdint>
#include <memory>
#include <vector>
namespace icsneo {
class GenericBinaryStatusMessage;
struct GenericBinaryStatusPacket {
static std::shared_ptr<GenericBinaryStatusMessage> DecodeToMessage(const std::vector<uint8_t>& bytes);
static std::vector<uint8_t> EncodeArguments(uint16_t binaryIndex);
};
}
#endif // __cplusplus
#endif // __GENERICBINARYSTATUSPACKET_H__