Skip to content

Commit

Permalink
Make certain configs optional
Browse files Browse the repository at this point in the history
  • Loading branch information
nxtum committed Feb 11, 2025
1 parent a5fea3e commit 23e81e7
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions interfaces/IWifiControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,28 @@ namespace Exchange {
};

Security method /* @brief Security method */;
Key keys /* @encode:bitmask @brief Security Keys */;
Core::OptionalType<Key> keys /* @encode:bitmask @brief Security Keys */;
};
using ISecurityIterator = RPC::IIteratorType<SecurityInfo, ID_WIFICONTROL_SECURITY_INFO_ITERATOR>;

struct NetworkInfo {
string ssid /* @brief SSID of the network */;
uint64_t bssid /* @brief BSSID of the network */;
uint32_t frequency /* @brief Frequency used */;
int32_t signal /* @brief Signal strength */;
Security security /* @encode:bitmask @brief Security method */;
Core::OptionalType<string> ssid /* @brief SSID of the network */;
uint64_t bssid /* @brief BSSID of the network */;
uint32_t frequency /* @brief Frequency used */;
int32_t signal /* @brief Signal strength */;
Security security /* @encode:bitmask @brief Security method */;
};
using INetworkInfoIterator = RPC::IIteratorType<NetworkInfo, ID_WIFICONTROL_NETWORK_INFO_ITERATOR>;
using IStringIterator = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;

struct ConfigInfo {
bool hidden /* @brief Visibility of the router (hidden or visible) */;
bool accesspoint /* @brief Accesspoint or not */;
string ssid /* @brief SSID of the router/ap */;
string secret /* @brief Secret key used */;
string identity /* @brief Identity */;
Security method /* @brief Security method */;
SecurityInfo::Key key /* @brief Security Info: method and keys */;
bool hidden /* @brief Visibility of the router (hidden or visible) */;
bool accesspoint /* @brief Accesspoint or not */;
Core::OptionalType<string> ssid /* @brief SSID of the router/ap */;
Core::OptionalType<string> secret /* @brief Secret key used */;
Core::OptionalType<string> identity /* @brief Identity */;
Security method /* @brief Security method */;
Core::OptionalType<SecurityInfo::Key> key /* @brief Security Info: method and keys */;
};

// @event
Expand Down

0 comments on commit 23e81e7

Please sign in to comment.