Skip to content

用微信客户端给设备配网很难成功 #3628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Sep 21, 2017 · 2 comments
Closed

用微信客户端给设备配网很难成功 #3628

ghost opened this issue Sep 21, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 21, 2017

硬件:nodemcu 0.9
核心版本 :2.3.0
描述:
使用智能配网功能,我用微信客户端给设备配网很难成功。如果使用IOT_Espressif_ESPTouch软件可以轻易配网成功。可以优化这个问题吗。
我的代码如下:
void smartConfig()
{
WiFi.mode(WIFI_STA);
WiFi.beginSmartConfig();
while (1)
{
Serial.print(".");
digitalWrite(LED, 0);
delay(100);
digitalWrite(LED, 1);
delay(100);
if (WiFi.smartConfigDone())
{
Serial.println("SmartConfig Success");
Serial.printf("SSID:%s\r\n", WiFi.SSID().c_str());
Serial.printf("PSW:%s\r\n", WiFi.psk().c_str());
break;
}
}
}

@devyte
Copy link
Collaborator

devyte commented Sep 21, 2017

@wh17762392194 there is a lot of diversity among contributors and collaborators here, but the common language here for all is English.
I think this is the first time I have seen a question about Wechat, but in any case, this is not the right place to request help for your particular project. Please ask at esp8266.com or stackoverflow, or any other forum, for discussions and assistance.
Closing as off-topic.

@devyte devyte closed this as completed Sep 21, 2017
@igrr
Copy link
Member

igrr commented Sep 21, 2017

There were some fixes/optimizations to SmartConfig in the new SDK version, you may try #3278 and see if it is any better. If not, please raise this issue on bss.espressif.com, as the smartconfig functionality is implemented inside the SDK. Arduino only provides a thin wrapper around it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants