ESP8266 Developer Zone The Official ESP8266 Forum 2016-01-20T15:22:40+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1647 2016-01-20T15:22:40+08:00 2016-01-20T15:22:40+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1647&p=5452#p5452 <![CDATA[Re: SmartConfig Issue]]>
You can register WiFi event handler by calling wifi_set_event_handler_cb. When WiFi status changed, there will be corresponding WiFi event.

For example, if you got "EVENT_STAMODE_DISCONNECTED", you can try to connect to router by SmartConfig again.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Wed Jan 20, 2016 3:22 pm


]]>
2016-01-19T18:10:07+08:00 2016-01-19T18:10:07+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1647&p=5439#p5439 <![CDATA[SmartConfig Issue]]>
One question about smartconfig:

Scenario:
1. ESP8266 got right SSID/Passwd once & worked OK.
2. After somedays, ESP8266 could NOT connect router any longer,
Root causes could be: a. SSID/Passwd changed, b. router faults temporarily, c. router removed.
ESP8266 can NOT switch from work mode to smartconfig mode without any end user's determination & operation (such as reset button to clear SSID/Passwd)
3. End user just want to reconfigure SSID/Passwd via smartconfig feature in App

To resolve the above issues, new requirements:
Smartconfig always standby either ESP8266 are NOT configured SSID/Passwd or configured SSID/Passwd (connected or NOT connected).

Could RTOS SDK support the above smartconfig mode? any sample code if YES?
Any work around approaches if NOT?

Many thanks!

B.R.

Macrogram

Statistics: Posted by esp8266ac — Tue Jan 19, 2016 6:10 pm


]]>