InertiaSDK

Loading...
Searching...
No Matches
BLEConnSettings.h
1#pragma once
2
3 namespace inertia
4{
5
10 struct INERTIA_API BLEConnSettings
11{
12 std::wstring macAddress;
13 std::wstring deviceName;
14 unsigned payloadSize;
15
17 BLEConnSettings();
18
23 BLEConnSettings(std::wstring const& macAddress, std::wstring const& deviceName);
24
29 BLEConnSettings(std::wstring const& argString);
30
31#ifdef WITH_BOOST_PROGRAM_OPTIONS
36 static const po::options_description GetOptionDescription();
37#endif
38
43 std::wstring const ToString() const;
44};
45
46}
inertia
Definition FlashCommands.h:6
inertia::BLEConnSettings::deviceName
std::wstring deviceName
The name of the BLE device.
Definition BLEConnSettings.h:13
inertia::BLEConnSettings::payloadSize
unsigned payloadSize
Maximum payload size of a BLE Message.
Definition BLEConnSettings.h:14
inertia::BLEConnSettings::BLEConnSettings
BLEConnSettings()
inertia::BLEConnSettings::macAddress
std::wstring macAddress
MAC Address of the BLE device.
Definition BLEConnSettings.h:12
inertia::BLEConnSettings::BLEConnSettings
BLEConnSettings(std::wstring const &macAddress, std::wstring const &deviceName)
inertia::BLEConnSettings::ToString
std::wstring const ToString() const
inertia::BLEConnSettings::GetOptionDescription
static const po::options_description GetOptionDescription()
inertia::BLEConnSettings::BLEConnSettings
BLEConnSettings(std::wstring const &argString)