使用sdk v1.2或v1.3,iot模式,smartconfig配置成功,esp12可连上路由,但是重启后却无法自动重连,又重新进入scan模式,需要再次手工配置smartconfig。
请问smartconfig以后,路由的ssid和password没有保存下来吗,芯片默认是不自动重连的吗,需要自己手工加入代码来使esp12支持这一功能吗,但我看到文档里wifi auto connect好像是标志为默认的
请问sdk是否支持重启后自动连接路由
Re: 请问sdk是否支持重启后自动连接路由
Postby ESP_Faye » Mon Aug 24, 2015 4:53 pm
您好,
从您的描述看起来,您的问题应该是由于重启后,又再次跑到了 smartconfig_start 再次进入 smart config 的缘故。
smartconfig_start 设置进入 smart config 模式。
否则,如果之前调用过 wifi_station_set_config 连接 AP,默认重启后仍然会自动连接该 AP。
从您的描述看起来,您的问题应该是由于重启后,又再次跑到了 smartconfig_start 再次进入 smart config 的缘故。
smartconfig_start 设置进入 smart config 模式。
否则,如果之前调用过 wifi_station_set_config 连接 AP,默认重启后仍然会自动连接该 AP。
Who is online
Users browsing this forum: No registered users and 27 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.