Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An example of sending data to the server using the Light Sleep mode. #525

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Apr 29, 2021

  1. Configuration menu
    Copy the full SHA
    aaea592 View commit details
    Browse the repository at this point in the history
  2. Update BlynkSimpleEsp8266.h

    after long testing, I found out that after waking up from sleep, the connection to the access point can take up to 30 seconds or more. sometimes frozen.
    modified the library so that it was possible to limit the time of attempts to establish a connection and their number, in order to be able to somehow fork the connection script.
    
    Description
    Add 2 functions connectWiFi_t and begin_t
    
    Usage example
    
    int conB_count = 5;
    while ((!Blynk.begin_t(auth, ssid, pass, IPAddress(172,18,0,100), 8080, 30000)) && (conB_count>0))  --conB_count;
    if (WiFi.status() != WL_CONNECTED) ESP.restart();
    EarlVadim authored Apr 29, 2021
    Configuration menu
    Copy the full SHA
    728f749 View commit details
    Browse the repository at this point in the history
  3. Add files via upload

    EarlVadim authored Apr 29, 2021
    Configuration menu
    Copy the full SHA
    6366568 View commit details
    Browse the repository at this point in the history