ESPHome  2024.11.1
Public Member Functions | Protected Attributes
esphome::wifi::WiFiAP Class Reference

#include <wifi_component.h>

Public Member Functions

void set_ssid (const std::string &ssid)
 
void set_bssid (bssid_t bssid)
 
void set_bssid (optional< bssid_t > bssid)
 
void set_password (const std::string &password)
 
void set_eap (optional< EAPAuth > eap_auth)
 
void set_channel (optional< uint8_t > channel)
 
void set_priority (float priority)
 
void set_manual_ip (optional< ManualIP > manual_ip)
 
void set_hidden (bool hidden)
 
const std::string & get_ssid () const
 
const optional< bssid_t > & get_bssid () const
 
const std::string & get_password () const
 
const optional< EAPAuth > & get_eap () const
 
const optional< uint8_t > & get_channel () const
 
float get_priority () const
 
const optional< ManualIP > & get_manual_ip () const
 
bool get_hidden () const
 

Protected Attributes

std::string ssid_
 
optional< bssid_tbssid_
 
std::string password_
 
optional< EAPAutheap_
 
optional< uint8_t > channel_
 
float priority_ {0}
 
optional< ManualIPmanual_ip_
 
bool hidden_ {false}
 

Detailed Description

Definition at line 123 of file wifi_component.h.

Member Function Documentation

◆ get_bssid()

const optional< bssid_t > & esphome::wifi::WiFiAP::get_bssid ( ) const

Definition at line 791 of file wifi_component.cpp.

◆ get_channel()

const optional< uint8_t > & esphome::wifi::WiFiAP::get_channel ( ) const

Definition at line 796 of file wifi_component.cpp.

◆ get_eap()

const optional< EAPAuth > & esphome::wifi::WiFiAP::get_eap ( ) const

Definition at line 794 of file wifi_component.cpp.

◆ get_hidden()

bool esphome::wifi::WiFiAP::get_hidden ( ) const

Definition at line 798 of file wifi_component.cpp.

◆ get_manual_ip()

const optional< ManualIP > & esphome::wifi::WiFiAP::get_manual_ip ( ) const

Definition at line 797 of file wifi_component.cpp.

◆ get_password()

const std::string & esphome::wifi::WiFiAP::get_password ( ) const

Definition at line 792 of file wifi_component.cpp.

◆ get_priority()

float esphome::wifi::WiFiAP::get_priority ( ) const
inline

Definition at line 143 of file wifi_component.h.

◆ get_ssid()

const std::string & esphome::wifi::WiFiAP::get_ssid ( ) const

Definition at line 790 of file wifi_component.cpp.

◆ set_bssid() [1/2]

void esphome::wifi::WiFiAP::set_bssid ( bssid_t  bssid)

Definition at line 781 of file wifi_component.cpp.

◆ set_bssid() [2/2]

void esphome::wifi::WiFiAP::set_bssid ( optional< bssid_t bssid)

Definition at line 782 of file wifi_component.cpp.

◆ set_channel()

void esphome::wifi::WiFiAP::set_channel ( optional< uint8_t >  channel)

Definition at line 787 of file wifi_component.cpp.

◆ set_eap()

void esphome::wifi::WiFiAP::set_eap ( optional< EAPAuth eap_auth)

Definition at line 785 of file wifi_component.cpp.

◆ set_hidden()

void esphome::wifi::WiFiAP::set_hidden ( bool  hidden)

Definition at line 789 of file wifi_component.cpp.

◆ set_manual_ip()

void esphome::wifi::WiFiAP::set_manual_ip ( optional< ManualIP manual_ip)

Definition at line 788 of file wifi_component.cpp.

◆ set_password()

void esphome::wifi::WiFiAP::set_password ( const std::string &  password)

Definition at line 783 of file wifi_component.cpp.

◆ set_priority()

void esphome::wifi::WiFiAP::set_priority ( float  priority)
inline

Definition at line 133 of file wifi_component.h.

◆ set_ssid()

void esphome::wifi::WiFiAP::set_ssid ( const std::string &  ssid)

Definition at line 780 of file wifi_component.cpp.

Field Documentation

◆ bssid_

optional<bssid_t> esphome::wifi::WiFiAP::bssid_
protected

Definition at line 149 of file wifi_component.h.

◆ channel_

optional<uint8_t> esphome::wifi::WiFiAP::channel_
protected

Definition at line 154 of file wifi_component.h.

◆ eap_

optional<EAPAuth> esphome::wifi::WiFiAP::eap_
protected

Definition at line 152 of file wifi_component.h.

◆ hidden_

bool esphome::wifi::WiFiAP::hidden_ {false}
protected

Definition at line 157 of file wifi_component.h.

◆ manual_ip_

optional<ManualIP> esphome::wifi::WiFiAP::manual_ip_
protected

Definition at line 156 of file wifi_component.h.

◆ password_

std::string esphome::wifi::WiFiAP::password_
protected

Definition at line 150 of file wifi_component.h.

◆ priority_

float esphome::wifi::WiFiAP::priority_ {0}
protected

Definition at line 155 of file wifi_component.h.

◆ ssid_

std::string esphome::wifi::WiFiAP::ssid_
protected

Definition at line 148 of file wifi_component.h.


The documentation for this class was generated from the following files: