|
Motion Master 6.0.0-alpha.50
Next-generation motion control software
|
#include <expected>#include <nlohmann/json_fwd.hpp>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | mm::comm::NetworkAdapter |
Namespaces | |
| namespace | mm |
| namespace | mm::comm |
Functions | |
| void | mm::comm::to_json (nlohmann::json &j, const NetworkAdapter &a) |
| Serialises a NetworkAdapter to JSON. | |
| bool | mm::comm::isMacAddress (const std::string &s) |
Returns true if s is a MAC address in either Linux (:) or Windows (-) separator format. | |
| std::string | mm::comm::normalizeMac (const std::string &raw, char sep) |
| Normalises a MAC address string to uppercase with the given separator. | |
| std::vector< NetworkAdapter > | mm::comm::enumerateNetworkAdapters () |
| Enumerates all network adapters visible to the OS. | |
| std::expected< NetworkAdapter, std::string > | mm::comm::resolveNetworkAdapter (const std::string &input) |
Resolves a network adapter specifier to a fully populated NetworkAdapter. | |