ESPHome  2024.12.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 97 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 101 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 102 of file wifi_component.h.

◆ gateway

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

Definition at line 99 of file wifi_component.h.

◆ static_ip

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

Definition at line 98 of file wifi_component.h.

◆ subnet

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

Definition at line 100 of file wifi_component.h.


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