libxr 1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
LibXR::WifiClient::Config Struct Reference

WiFi 连接配置 / WiFi connection configuration. More...

#include <wifi_client.hpp>

Collaboration diagram for LibXR::WifiClient::Config:

Data Fields

std::string ssid
 SSID 名称 / SSID name.
 
std::string password
 密码 / Password
 
Security security = Security::WPA2_PSK
 安全类型 / Security type
 
EnterpriseConfigenterprise_config
 企业认证配置(可选) / Enterprise authentication config (optional)
 
StaticIPConfigstatic_ip_config
 静态 IP 配置(可选) / Static IP config (optional)
 
bool use_dhcp = true
 是否使用 DHCP / Whether to use DHCP
 

Detailed Description

WiFi 连接配置 / WiFi connection configuration.

Definition at line 74 of file wifi_client.hpp.

Field Documentation

◆ enterprise_config

EnterpriseConfig* LibXR::WifiClient::Config::enterprise_config
Initial value:
=
nullptr

企业认证配置(可选) / Enterprise authentication config (optional)

Definition at line 80 of file wifi_client.hpp.

◆ password

std::string LibXR::WifiClient::Config::password

密码 / Password

Definition at line 77 of file wifi_client.hpp.

◆ security

Security LibXR::WifiClient::Config::security = Security::WPA2_PSK

安全类型 / Security type

Definition at line 78 of file wifi_client.hpp.

◆ ssid

std::string LibXR::WifiClient::Config::ssid

SSID 名称 / SSID name.

Definition at line 76 of file wifi_client.hpp.

◆ static_ip_config

StaticIPConfig* LibXR::WifiClient::Config::static_ip_config
Initial value:
=
nullptr

静态 IP 配置(可选) / Static IP config (optional)

Definition at line 83 of file wifi_client.hpp.

◆ use_dhcp

bool LibXR::WifiClient::Config::use_dhcp = true

是否使用 DHCP / Whether to use DHCP

Definition at line 86 of file wifi_client.hpp.


The documentation for this struct was generated from the following file: