I use offcial RTOS SDK , I build a HTTP server in the esp8266, I got the ssid and pass through the web post method.I found l connect the ap when i use the function `wifi_station_set_config_current()` and `wifi_station_connect()` with the return 1. And once after I handle a HTTP request successly, the software timer stop.I have tried the connecting work in the handling task or the hardware timer callback or the task created in the hardware timer callback, all failed. I set a new software timer after the HTTP handling and also failed too…
In the task handling the HTTP request , I still can print the free heap.
I know these functions need to be used after the station being on. But I dont know how can I ensure if the station is on?
I have tried the wifi connecting in the post handling task too, It was successed but after I revised the code in a large range, it couldn't work now...
Need your help!
Why my software timer stop and I couldnt connect the AP?
Who is online
Users browsing this forum: No registered users and 147 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.