Page 1 of 1

AP turned off when esp_smartconfig_start(sc_callback), and turned on back when esp_smartconfig_stop()

Posted: Mon Mar 25, 2019 6:15 am
by nzh912
Does anyone tried out,using Smartconfig to configure the WiFI SSID and Password, at the same time running AP mode on the ESP32?
i'm trying to implement both STA(Smartconfig) and AP mode on the ESP32. I want my devices turning on wifi AP all the time without turning off during WiFI SSID and Password configuration using Smart Config.

When i turned on the ESP32, it created AP at the startup with no issue. But the AP was turned off while executing the esp_smartconfig_start(sc_callback); /*" sc: SC_STATUS_FINDING_CHANNEL"*/
The AP turned on again after the Smartconfig configuration is over.

Anyone can let me know whether is it is a bug, or during smart config finding the channel, the AP definitely will turn OFF? or how to solve this problem.

Re: AP turned off when esp_smartconfig_start(sc_callback), and turned on back when esp_smartconfig_stop()

Posted: Tue Mar 26, 2019 3:22 am
by WiFive
Yes during the channel scan the AP would not be available, unless maybe both esp32 and the phone are on channel 1 already. If the phone is connected to esp32 ap, then why use smartconfig? They can already talk directly.

Re: AP turned off when esp_smartconfig_start(sc_callback), and turned on back when esp_smartconfig_stop()

Posted: Tue Mar 26, 2019 7:34 am
by nzh912
WiFive wrote:
Tue Mar 26, 2019 3:22 am
Yes during the channel scan the AP would not be available, unless maybe both esp32 and the phone are on channel 1 already. If the phone is connected to esp32 ap, then why use smartconfig? They can already talk directly.
okay, Thank you :D :D