|
Motion Master 6.0.0-alpha.86
Next-generation motion control software
|
#include <array>#include <cstdint>#include <expected>#include <nlohmann/json_fwd.hpp>#include <optional>#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::optional< std::array< uint8_t, 6 > > | mm::comm::parseMac (const std::string &s) |
| Decodes a MAC address string into its six bytes, in wire order. | |
| 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. | |