Hey all!
I’m trying to use esp8266 smart config but it fails to connect. There’s no error message show and after inspecting the smart config app udp message using WireShark, I see that the udp messages are sent correctly.
These are the esp logs:
Wireshark logs will be attached in the next comment*
My esp code:
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include "smartconfig.h"
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.setDebugOutput(true);
WiFi.mode(WIFI_STA);
delay(500);
esptouch_set_timeout(20);
// timeout
WiFi.beginSmartConfig();
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
Serial.println(WiFi.smartConfigDone());
}
Serial.println("WiFi connected");
Serial.println(WiFi.localIP());
}
void loop() {
// put your main code here, to run repeatedly:
}
I’ve tried adding some more logs in _smartConfigCallback
to find out what actually happens and it looks like it’s trying to find a channel.
Also, I saw that my smartconfig version is v2.5.4 and in other posts, I see that people are using version 2.9.0. Tried looking for a way to upgrade the version but found no resources on that as well.
Is it an issue with the version of smartconfig that I’m using? Is there a way to view more debugging logs so I could figure out what the exact issue is?
Thanks a lot!