I tried to use an Arduino implementation. Hours of digging through the source code later because half this stuff is undocumented I'm giving up, because the design choices are fundamentally stupid and broken. Why did I even try? Seriously. Sigh.
-
Show this thread
-
If you're wondering: ESP8266 variant. Can't make the main thread go to sleep and wake it up on wifi events. You get to poll. Which doesn't work when you want power saving. Which I kind of do because I'm building a temperature sensor and 70mA constantly will warm it up.
5 replies 1 retweet 10 likesShow this thread -
It's really sad, because I implemented my entire application in 200 lines of code using all these wonderful pre-existing libraries, and now I have to rewrite it (which will probably be 2000 lines) because I hit a fundamental showstopper with power management.
4 replies 0 retweets 7 likesShow this thread -
Replying to @marcan42
I'm not familiar with the ESP8266, but it looks like wifi is disabled in sleep mode ?pic.twitter.com/m702OpD7zj
1 reply 0 retweets 1 like
But it wakes up on the AP's DTIM interval. This is how Wi-Fi power saving works.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.