|
MC Protocol Serial C++ 0.2.3
MC protocol serial library for MCU-oriented environments
|
Result object returned by most public APIs. More...
#include <status.hpp>
Public Member Functions | |
| constexpr bool | ok () const noexcept |
Public Attributes | |
| StatusCode | code = StatusCode::Ok |
| std::uint16_t | plc_error_code = 0 |
| const char * | message = "ok" |
Result object returned by most public APIs.
plc_error_code is meaningful when code == StatusCode::PlcError.
Definition at line 26 of file status.hpp.
|
inlineconstexprnoexcept |
Definition at line 31 of file status.hpp.
| StatusCode mcprotocol::serial::Status::code = StatusCode::Ok |
Definition at line 27 of file status.hpp.
| const char* mcprotocol::serial::Status::message = "ok" |
Definition at line 29 of file status.hpp.
| std::uint16_t mcprotocol::serial::Status::plc_error_code = 0 |
Definition at line 28 of file status.hpp.