Comments (8)
I don't actually want to merge https://github.com/ARMmbed/esp8266-driver/tree/g-connect-retries
I'd consider retries at this level to be an issue with the test framework, so I'll move them there.
from esp8266-driver.
Hi @MarceloSalazar, thanks for the test log, that helps a bunch.
It looks like the esp8266 can't establish a connection to your host PC. For those three tests, the esp8266 is supposed to connect to your computer, but the logs are showing that you can't.
Is it possible that there is something preventing the device and PC from talking to each other? Maybe your firewall is getting in the way?
from esp8266-driver.
Thanks @geky, you seem to be right, I've moved to a PC with Windows 10 and things have improve a bit. All tests usually pass (w/wo DEBUG), but sometimes random tests fail. See log with lots of tests:
lots_of_tests.txt
Also, the connectivity test sometimes fails when running it alone multiple times (with DEBUG enabled), might be related to previous report. See log:
tests-net-conn_fail.txt
I don't know whether this might be caused by the ESP8x fw, or the tests itself, but it would be great to be able to consistently have all tests passing at some point. Let me know if you need more info/help to do more testing.
from esp8266-driver.
Ah! that's good new. In the new results, it looks like the esp8266 just isn't able to connect to the wifi occasionally. We can add some retry logic to the tests for this.
from esp8266-driver.
Hi @MarceloSalazar, are you able to try this branch and see if it still shows the intermitent failures?
https://github.com/ARMmbed/esp8266-driver/tree/g-connect-retries
from esp8266-driver.
@geky I've been running the tests based on your branch the whole day.
The tests run in the morning are very unreliable (half of them fail), whether the ones run in the afternoon consistently pass all the time (more than 20 cycles completed!).
I suspect this might be related to the wifi network infrastructure, but cannot really say.
I'd be happy if you merge the branch and then close this issue.
from esp8266-driver.
ARM Internal Ref: MBOTRIAGE-502
from esp8266-driver.
Closing due to inactivity.
from esp8266-driver.
Related Issues (20)
- _process_oob should be put in the event queue based on sigio and not a timer HOT 1
- Link borken HOT 2
- IPD data can be corrupted when two simultaneous requests come in HOT 4
- Question: esp8266 doesn't respond reset command "AT+RST" HOT 2
- Add a set_speed() get_speed() interface HOT 2
- Failing to connect with No MAC Address HOT 3
- ESP8266 broadcast bogus access point names HOT 2
- Why ESP8266 interface disable soft AP mode HOT 4
- No way to throttle incoming TCP data HOT 2
- Add support for TCP flow control HOT 8
- Driver does not reconnect HOT 2
- Len vs amount check HOT 1
- strange id comparison HOT 3
- is this implemented HOT 4
- status update missing HOT 2
- Country code needs to be set HOT 2
- Why this differs from UDP HOT 1
- Modem and driver can fall out of sync state
- Missing from following else? HOT 3
- Should this call the underlying udp or tcp open? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp8266-driver.