mirror of
https://github.com/esphome/esphome.git
synced 2025-11-15 06:15:47 +00:00
wip
This commit is contained in:
@@ -408,10 +408,10 @@ void WiFiComponent::save_wifi_sta(const std::string &ssid, const std::string &pa
|
|||||||
|
|
||||||
void WiFiComponent::start_connecting(const WiFiAP &ap, bool two) {
|
void WiFiComponent::start_connecting(const WiFiAP &ap, bool two) {
|
||||||
if (ap.get_bssid().has_value()) {
|
if (ap.get_bssid().has_value()) {
|
||||||
ESP_LOGI(TAG, "Connecting to '%s' (%s)", ap.get_ssid().c_str(),
|
ESP_LOGI(TAG, "Connecting to " LOG_SECRET("'%s' (%s)"), ap.get_ssid().c_str(),
|
||||||
format_mac_address_pretty(ap.get_bssid()->data()).c_str());
|
format_mac_address_pretty(ap.get_bssid()->data()).c_str());
|
||||||
} else {
|
} else {
|
||||||
ESP_LOGI(TAG, "Connecting to '%s'", ap.get_ssid().c_str());
|
ESP_LOGI(TAG, "Connecting to " LOG_SECRET("'%s'"), ap.get_ssid().c_str());
|
||||||
}
|
}
|
||||||
#ifdef ESPHOME_LOG_HAS_VERBOSE
|
#ifdef ESPHOME_LOG_HAS_VERBOSE
|
||||||
ESP_LOGV(TAG, "Connection Params:");
|
ESP_LOGV(TAG, "Connection Params:");
|
||||||
|
|||||||
Reference in New Issue
Block a user