Hi All:
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
SmartConfig Issue
Re: SmartConfig Issue
Postby ESP_Faye » Wed Jan 20, 2016 3:22 pm
Hi,
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 !
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 !
Who is online
Users browsing this forum: No registered users and 190 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.