|
Motion Master 6.0.0-alpha.86
Next-generation motion control software
|
#include <base.h>
Public Attributes | |
| std::string | macLinux |
Colon-separated uppercase MAC, e.g. "AA:BB:CC:DD:EE:FF". | |
| std::string | macWindows |
Dash-separated uppercase MAC, e.g. "AA-BB-CC-DD-EE-FF". | |
| std::string | name |
| std::string | description |
Network adapter identity with all three representations populated.
Constructed by resolveNetworkAdapter() from a --adapter CLI argument that may be given as a MAC address (either Linux colon-separated or Windows dash-separated format) or as an OS interface name. All three fields are always populated — the adapter map is consulted to resolve the missing form.
| std::string mm::comm::NetworkAdapter::description |
Human-readable hardware description, e.g. "Realtek USB GbE Family Controller".
Populated on Windows, where name is an NPF device path built from a GUID and identifies nothing to a reader. Empty on Linux and macOS, where the interface name is the identification (SOEM fills its own adapter description with the interface name there, so it carries nothing extra) — so a consumer must treat this as optional and fall back to name.
| std::string mm::comm::NetworkAdapter::macLinux |
Colon-separated uppercase MAC, e.g. "AA:BB:CC:DD:EE:FF".
| std::string mm::comm::NetworkAdapter::macWindows |
Dash-separated uppercase MAC, e.g. "AA-BB-CC-DD-EE-FF".
| std::string mm::comm::NetworkAdapter::name |
OS interface name, e.g. "eth0" or "\\Device\\NPF_{GUID}".