Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src added esp8266-light-sleep Nov 25, 2018 some info on esp8266-deep-sleep Nov 23, 2018
platformio.ini esp8266-deep-sleep Nov 23, 2018

ESP8266 Deep-sleep with periodic wake-up

This sketch tests how long it takes the esp8266 to wake-up from deep sleep, connect to wifi, send some data to a server over TCP (or UDP), and go back to sleep.

It has 4 modes which in the amount of information passed into the Wifi initialization functions:
WiFi.begin and WiFi.config:

mode ssid, passwd channel, bssid ip, mask, gw, dns
0 ..
1 ..

Compile and run

platformio run -t upload -t monitor

Start server to capture data packets

nc -lukn -p 12345