Smartconfig doesn't work stable
Posted: Thu Jul 25, 2019 2:30 pm
Hello,
I'm trying to use smyrtconfig in my project. The ESP32 always receives the gc code from the App and connects to the WiFi.
And then it should send a confirmation with its IP address. But that doesn't happen in 50% of the cases.
I'm using several tasks in my firmware, is it possible that they cause the problem and block something in the smartconfig process?
I'm not using the ardiono loop function because of the too small small stack size, I replaced it with a xTaskCreatePinnedToCore task with a bit more stack and the same core and priority as the loop function because I'm not able to use menuconfig with VSCode, platformIO and Arduino.
With a small 30-liner which is just doing smartconfig it works like a charm. The same code is called in my firmware os it has to be something from a different task.
Any help appreciated
I'm trying to use smyrtconfig in my project. The ESP32 always receives the gc code from the App and connects to the WiFi.
And then it should send a confirmation with its IP address. But that doesn't happen in 50% of the cases.
I'm using several tasks in my firmware, is it possible that they cause the problem and block something in the smartconfig process?
I'm not using the ardiono loop function because of the too small small stack size, I replaced it with a xTaskCreatePinnedToCore task with a bit more stack and the same core and priority as the loop function because I'm not able to use menuconfig with VSCode, platformIO and Arduino.
With a small 30-liner which is just doing smartconfig it works like a charm. The same code is called in my firmware os it has to be something from a different task.
Any help appreciated