InertiaSDK

Loading...
Searching...
No Matches
EthernetSettings.h
1#pragma once
2
3 namespace inertia
4{
5
7#define DEFAULT_ETHERNET_PROTOCOL_ID 0xBABE
8
9
14 struct INERTIA_API EthernetSettings
15{
16 std::wstring adapterName;
17 std::wstring macAddress;
18 unsigned protocolID;
19 unsigned gatewayID;
20
24 EthernetSettings();
25
30 EthernetSettings(std::wstring const& adapterName, unsigned const protocolID);
31
36 EthernetSettings(std::wstring const& argString);
37
38#ifdef WITH_BOOST_PROGRAM_OPTIONS
43 static const po::options_description GetOptionDescription();
44#endif
45
50 std::wstring const ToString() const;
51};
52
53}
inertia
Definition FlashCommands.h:6
inertia::EthernetSettings::GetOptionDescription
static const po::options_description GetOptionDescription()
inertia::EthernetSettings::gatewayID
unsigned gatewayID
The ID of the gateway to accept messages from, 0 to use the first detected gateway.
Definition EthernetSettings.h:19
inertia::EthernetSettings::EthernetSettings
EthernetSettings(std::wstring const &adapterName, unsigned const protocolID)
inertia::EthernetSettings::macAddress
std::wstring macAddress
The MAC Address of the network adapter.
Definition EthernetSettings.h:17
inertia::EthernetSettings::ToString
std::wstring const ToString() const
inertia::EthernetSettings::EthernetSettings
EthernetSettings()
inertia::EthernetSettings::EthernetSettings
EthernetSettings(std::wstring const &argString)
inertia::EthernetSettings::protocolID
unsigned protocolID
The Ethernet Protocol ID to use.
Definition EthernetSettings.h:18
inertia::EthernetSettings::adapterName
std::wstring adapterName
The name of the network adapter used for the Ethernet connection.
Definition EthernetSettings.h:16