Motion Master 6.0.0-alpha.111
Next-generation motion control software
Loading...
Searching...
No Matches
foe_error_codes.h File Reference
#include <algorithm>
#include <array>
#include <cstdint>
#include <nlohmann/json_fwd.hpp>
#include <string_view>
Include dependency graph for foe_error_codes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mm::comm::FoeErrorCode
 Metadata for a single FoE error code entry. More...
 

Namespaces

namespace  mm
 
namespace  mm::comm
 

Functions

void mm::comm::to_json (nlohmann::json &j, const FoeErrorCode &e)
 Serialises a FoeErrorCode to JSON.
 
constexpr std::string_view mm::comm::foeErrorCodeName (uint32_t code)
 Returns the name of code, or an empty view if code is not a known FoE error code (vendor-specific, or a slave that put something else in the field).
 

Variables

constexpr auto mm::comm::kFoeErrorCodes
 Catalogue of FoE error codes defined in ETG.1000.6 ยง5.8.5, Table 93.