You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the documentation at readthedocs and the issue is not addressed there.
I have tested that the issue is present in current master branch (aka latest git).
I have searched the issue tracker for a similar issue.
If there is a stack dump, I have decoded it.
I have filled out all fields below.
Platform
Hardware: ESP-01|
Core Version: 3.0.2
Development Env: Arduino IDE/Platformio
Operating System: MacOS
Settings in IDE
Module: Generic ESP8266 Module
Flash Mode: dout
Flash Size: 1MB
lwip Variant: Unknown
Reset Method: nodemcu
Flash Frequency: [40Mhz]
CPU Frequency: 80Mhz|
Upload Using: SERIAL
Upload Speed: 115200
Problem Description
I’m trying to use esp8266 smart config but it fails to connect. There’s no error message shown and after inspecting the smart config app UDP message using WireShark, I see that the UDP messages are sent correctly.
#include<Arduino.h>
#include<ESP8266WiFi.h>
#include<WiFiUdp.h>
#include"smartconfig.h"voidsetup() {
// 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());
}
Debug Messages
Wireshark logs:
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!
The text was updated successfully, but these errors were encountered:
Same issue on my ESP8266-12E / -12F. additionaly tested on a D1 mini, too. SmartConfig does not work on any of my ESP8266, while other ways of connecting to WiFi work well there. I tried same SmartConfig-Connect code on an ESP32 dev module and there, it works. So I am sure the problem is not my App nor my Android device.
I tried ESP8266 board managers V3.02, V3.1.0 and 3.1.1. Environment is Arduino IDE V2.0 and the VisualStudio-Plugin "VisualMicro" (which has other issues with V3.1 board manager). Firmware always prompts "ets Jan 8 2013".
I'm pretty sure there is something rotten in the state of denmark... and in the WiFi lib of the board manager.
Any help somewhere?
Basic Infos
Platform
Settings in IDE
Problem Description
I’m trying to use esp8266 smart config but it fails to connect. There’s no error message shown and after inspecting the smart config app UDP message using WireShark, I see that the UDP messages are sent correctly.
MCVE Sketch
Debug Messages
Wireshark logs:
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!
The text was updated successfully, but these errors were encountered: