Station mode connect to WiFI constantly broken(bug?)?
Station mode connect to WiFI constantly broken(bug?)?
Postby FrenkR » Sun Dec 21, 2014 1:02 am
Hi,
I have buffalo 802.11g AP. PC is normally connected and WiFI is working all the time. Using ESP-03 version(0.9.3/0.9.4 SDK), I am playing wtih STA mode and client TCP connection to TCP server in a PC.
in user_init() I did following steps:
- configure station mode
- disable DHCP, set static IP
- disable autoconnect
- connect to AP
- run timer to trigger tcp connection and send data
---
after timeout(outside user_init()), steps are as follows:
- register connected callback and connect to TCP server (espconn_connect())
- on connected callback, register send, receive and disconnect callback
when running this application, connection is very unstable. after checking "osprintf" output, I see that connection to wifi is broken very often. In this case system scans wifi again and again, locates correct channel, and then connection does not succeed. Status of connection is STATION_CONNECT_FAIL, STATION_WRONG_PASSWORD
or STATION_NO_AP_FOUND. After some time it connects again.
Is there some special procedure that could be used to more precisely check(debug) what is going when connecting to AP?
Rgds,
Frenk
I have buffalo 802.11g AP. PC is normally connected and WiFI is working all the time. Using ESP-03 version(0.9.3/0.9.4 SDK), I am playing wtih STA mode and client TCP connection to TCP server in a PC.
in user_init() I did following steps:
- configure station mode
- disable DHCP, set static IP
- disable autoconnect
- connect to AP
- run timer to trigger tcp connection and send data
---
after timeout(outside user_init()), steps are as follows:
- register connected callback and connect to TCP server (espconn_connect())
- on connected callback, register send, receive and disconnect callback
when running this application, connection is very unstable. after checking "osprintf" output, I see that connection to wifi is broken very often. In this case system scans wifi again and again, locates correct channel, and then connection does not succeed. Status of connection is STATION_CONNECT_FAIL, STATION_WRONG_PASSWORD
or STATION_NO_AP_FOUND. After some time it connects again.
Is there some special procedure that could be used to more precisely check(debug) what is going when connecting to AP?
Rgds,
Frenk
-
- Posts: 10
- Joined: Fri Oct 31, 2014 9:10 pm
Re: Station mode connect to WiFI constantly broken(bug?)?
Postby ESP_Stanza » Mon Dec 22, 2014 6:06 pm
ESP01-ESP-12 modules are not designed by Espressif.
Until now only ESP-WROOM-01 & ESP-WROOM-02 are designed by Espressif which are showed in our user guide.
Now we are planning to produce some samples for customer testing.
And we will also begin ESP8266 module certification program in Jan 2015 as we announced. http://bbs.espressif.com/viewtopic.php?f=20&t=89
As I understand, ESP01-ESP12 are designed for different use and they have different features. You'd better confirm with the seller.
Until now only ESP-WROOM-01 & ESP-WROOM-02 are designed by Espressif which are showed in our user guide.
Now we are planning to produce some samples for customer testing.
And we will also begin ESP8266 module certification program in Jan 2015 as we announced. http://bbs.espressif.com/viewtopic.php?f=20&t=89
As I understand, ESP01-ESP12 are designed for different use and they have different features. You'd better confirm with the seller.
-
- Posts: 10
- Joined: Fri Oct 31, 2014 9:10 pm
Re: Station mode connect to WiFI constantly broken(bug?)?
Postby ESP_Stanza » Thu Dec 25, 2014 6:13 pm
We have just obtained ESP-01~ESP12 from the designer.
We will first test ESP-03 to check the problem and give you answer.
We will first test ESP-03 to check the problem and give you answer.
Re: Station mode connect to WiFI constantly broken(bug?)?
Postby ESP_Faye » Wed Dec 31, 2014 11:08 am
@FrenkR , how about this issue now, does it still bother you ?
Could you please try it with another module or ask your friend to try it with another module ?
Could you please try it with another module or ask your friend to try it with another module ?
Re: Station mode connect to WiFI constantly broken(bug?)?
Postby FrenkR » Wed Dec 31, 2014 5:06 pm
I also changed a module and restructured my code. Also updated SDK to a latest 0.9.5 b1. It is much better now. After I finish my code, I will do some more long-term tests and if this will be an issue, I will reopen this case again. Thank you.
Who is online
Users browsing this forum: No registered users and 207 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.