1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-12 00:02:21 +01:00

WiFi AP apply manual ip settings (#836)

This commit is contained in:
Otto Winter
2019-11-05 22:11:15 +01:00
committed by GitHub
parent 0cbd373817
commit 85c46becdf
2 changed files with 3 additions and 2 deletions

View File

@@ -566,7 +566,7 @@ bool WiFiComponent::wifi_start_ap_(const WiFiAP &ap) {
strcpy(reinterpret_cast<char *>(conf.ssid), ap.get_ssid().c_str());
conf.ssid_len = static_cast<uint8>(ap.get_ssid().size());
conf.channel = ap.get_channel().value_or(1);
conf.ssid_hidden = 0;
conf.ssid_hidden = ap.get_hidden();
conf.max_connection = 5;
conf.beacon_interval = 100;