ESPHome  2024.3.1
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 88 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 92 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 93 of file wifi_component.h.

◆ gateway

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

Definition at line 90 of file wifi_component.h.

◆ static_ip

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

Definition at line 89 of file wifi_component.h.

◆ subnet

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

Definition at line 91 of file wifi_component.h.


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