7 #ifndef IFM3D_IFM_NETWORK_DEVICE_H
8 #define IFM3D_IFM_NETWORK_DEVICE_H
11 #include <ifm3d/device/module_device.h>
17 using Data = std::vector<unsigned char>;
42 [[nodiscard]]
bool HasFlag(uint16_t flag)
const;
60 std::string _ip_address;
66 std::string _hostname;
67 std::string _device_name;
70 std::string _found_via;
Definition: ifm_network_device.h:19
uint16_t GetDeviceId() const
Returns the device ID of the device.
std::string GetDeviceName() const
Returns the device name.
uint16_t GetPort() const
Returns the port number used for device discovery.
std::string GetHostName() const
Returns the hostname of the device.
std::string GetMACAddress() const
Returns the MAC address of the device.
std::string GetGateway() const
Returns the default gateway of the device.
uint16_t GetFlags() const
Returns flags providing additional device information.
std::string GetNetmask() const
Returns the network subnet mask.
bool HasFlag(uint16_t flag) const
Checks if a specific flag is set in the device flags.
std::string GetIPAddress() const
Returns the IP address of the device.
std::string GetFoundVia() const
Returns the network interface through which the device was discovered.
uint16_t GetVendorId() const
Returns the vendor ID of the device.