|
MC Protocol Serial C++ 0.2.3
MC protocol serial library for MCU-oriented environments
|
Raw decoded response frame before command-specific parsing. More...
#include <codec.hpp>
Public Attributes | |
| ResponseType | type = ResponseType::SuccessNoData |
| Success-with-data, success-without-data, or PLC-error classification. | |
| std::size_t | response_size = 0 |
Number of valid bytes in response_data. | |
| std::uint16_t | error_code = 0 |
PLC error code when type == ResponseType::PlcError. | |
| std::array< std::uint8_t, kMaxResponseFrameBytes > | response_data {} |
| Raw response payload bytes with the serial frame already removed. | |
Raw decoded response frame before command-specific parsing.
| std::uint16_t mcprotocol::serial::RawResponseFrame::error_code = 0 |
PLC error code when type == ResponseType::PlcError.
| std::array<std::uint8_t, kMaxResponseFrameBytes> mcprotocol::serial::RawResponseFrame::response_data {} |
| std::size_t mcprotocol::serial::RawResponseFrame::response_size = 0 |
| ResponseType mcprotocol::serial::RawResponseFrame::type = ResponseType::SuccessNoData |