40 #ifndef LibMultiSense_SysFlashOpMessage 41 #define LibMultiSense_SysFlashOpMessage 48 namespace multisense {
93 uint32_t r=RGN_BITSTREAM,
95 uint32_t l=0) : operation(op),
102 template<
class Archive>
116 if(length > MAX_LENGTH)
121 message.write(data, length);
123 message.read(data, length);
static CRL_CONSTEXPR uint32_t OP_PROGRAM
#define CRL_EXCEPTION(fmt,...)
static CRL_CONSTEXPR uint32_t OP_ERASE
void serialize(Archive &message, const VersionType version)
static CRL_CONSTEXPR uint32_t OP_STATUS
static CRL_CONSTEXPR VersionType VERSION
static CRL_CONSTEXPR uint32_t MAX_LENGTH
static CRL_CONSTEXPR uint32_t RGN_FIRMWARE
SysFlashOp(uint32_t op=OP_STATUS, uint32_t r=RGN_BITSTREAM, uint32_t s=0, uint32_t l=0)
static CRL_CONSTEXPR uint32_t OP_VERIFY
static CRL_CONSTEXPR IdType ID_CMD_SYS_FLASH_OP
SysFlashOp(utility::BufferStreamReader &r, VersionType v)
static CRL_CONSTEXPR IdType ID
static CRL_CONSTEXPR uint32_t RGN_BITSTREAM