ESPHome  2022.1.2
Data Fields
esphome::wifi::ManualIP Struct Reference

Struct for setting static IPs in WiFiComponent. More...

#include <wifi_component.h>

Data Fields

network::IPAddress static_ip
 
network::IPAddress gateway
 
network::IPAddress subnet
 
network::IPAddress dns1
 The first DNS server. 0.0.0.0 for default. More...
 
network::IPAddress dns2
 The second DNS server. 0.0.0.0 for default. More...
 

Detailed Description

Struct for setting static IPs in WiFiComponent.

Definition at line 66 of file wifi_component.h.

Field Documentation

◆ dns1

network::IPAddress esphome::wifi::ManualIP::dns1

The first DNS server. 0.0.0.0 for default.

Definition at line 70 of file wifi_component.h.

◆ dns2

network::IPAddress esphome::wifi::ManualIP::dns2

The second DNS server. 0.0.0.0 for default.

Definition at line 71 of file wifi_component.h.

◆ gateway

network::IPAddress esphome::wifi::ManualIP::gateway

Definition at line 68 of file wifi_component.h.

◆ static_ip

network::IPAddress esphome::wifi::ManualIP::static_ip

Definition at line 67 of file wifi_component.h.

◆ subnet

network::IPAddress esphome::wifi::ManualIP::subnet

Definition at line 69 of file wifi_component.h.


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