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

Added deep sleep support for ESP32 #600

Closed
wants to merge 27 commits into from
Closed

Added deep sleep support for ESP32 #600

wants to merge 27 commits into from

Commits on May 2, 2019

  1. Configuration menu
    Copy the full SHA
    e2e25bb View commit details
    Browse the repository at this point in the history

Commits on May 3, 2019

  1. Configuration menu
    Copy the full SHA
    58a5e93 View commit details
    Browse the repository at this point in the history
  2. Adjusted formating

    EinfachArne committed May 3, 2019
    Configuration menu
    Copy the full SHA
    2ec2edd View commit details
    Browse the repository at this point in the history

Commits on May 10, 2019

  1. Configuration menu
    Copy the full SHA
    bbead88 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. Configuration menu
    Copy the full SHA
    e36b18b View commit details
    Browse the repository at this point in the history
  2. Adjusted code structure

    EinfachArne committed May 20, 2019
    Configuration menu
    Copy the full SHA
    c98eae2 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2019

  1. Fixed reorder warning (#578)

    (cherry picked from commit 124992d)
    kleini committed May 21, 2019
    Configuration menu
    Copy the full SHA
    1e157d4 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2019

  1. Configuration menu
    Copy the full SHA
    51aa5a6 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2019

  1. Fixed device not reconnecting after MQTT connection loss (#611)

    * Fixed device not reconnecting after MQTT connection loss
    
    * formatting
    
    (cherry picked from commit edb5d62)
    dakhnod authored and stritti committed Aug 3, 2019
    Configuration menu
    Copy the full SHA
    80556f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2019

  1. SSL support for MQTT connection (#577)

    * TLS support + fingerprint attribute in config file ( #399 )
    Credit @adriancuzman
    
    (cherry picked from commit 00843f3)
    (cherry picked from commit c63aeb6)
    
    * Refactor SSL to only compile when enabled (`#if ASYNC_TCP_SSL_ENABLED`)
    
    (cherry picked from commit 2a8a8f1)
    (cherry picked from commit 050cc8b)
    
    * corrected string and char array length
    
    (cherry picked from commit 107fbdf)
    
    * documented how to use SSL encryption for MQTT
    
    (cherry picked from commit ebac43a)
    
    * replaced board esp01 with esp01_1m due to failing CI builds because of growing image size
    kleini authored and stritti committed Aug 10, 2019
    Configuration menu
    Copy the full SHA
    9db189f View commit details
    Browse the repository at this point in the history
  2. Config: fix buffer overflow when loading json config (#617)

    When the configSize is MAX_JSON_CONFIG_FILE_SIZE the '\0' is written
    after the buffers end. Don't load config files with a
    size >= MAX_JSON_CONFIG_FILE_SIZE.
    
    Signed-off-by: Philipp Rosenberger <code@iluminat23.org>
    iluminat23 authored and stritti committed Aug 10, 2019
    Configuration menu
    Copy the full SHA
    88201f7 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2019

  1. Migrate to ArduinoJson version 6 (#622)

    * Migrate the code from ArduinoJson v5 to v6
    * Resolve memory allocation issues resulting from the migration
    * Reduce unnecessary copying of some JSON related strings
    * Change to StaticJsonBuffer if possible
    * Use C++ casts instead of C-style casts
    * Remove unnecessary comments
    * Serialize JsonDocument instead of JsonObject
    mkfrey authored and stritti committed Oct 1, 2019
    Configuration menu
    Copy the full SHA
    67d6452 View commit details
    Browse the repository at this point in the history
  2. stop stats on disconnect (#624)

    bertmelis authored and stritti committed Oct 1, 2019
    Configuration menu
    Copy the full SHA
    3a52ecc View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2019

  1. Configuration menu
    Copy the full SHA
    9ce06e2 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2019

  1. Fix potential MQTT topic buffer overflow (#633)

    * Fix wrong MQTT topic buffer size calulation which might lead to a buffer overflow
    mkfrey authored and stritti committed Nov 1, 2019
    Configuration menu
    Copy the full SHA
    71a766b View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2019

  1. Subscribing to messages using Homie.getMqttClient() is not reliable: …

    …topic is truncated (#526)
    
    * Declare _mqttTopicCopy in BootNormal.hpp
    * Using _mqttTopicCopy to manage subscribed topics
    * Removed leading spaces
    peret2000 authored and luebbe committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    91e9b63 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2019

  1. Calling ESP.getSketchMD5() at BootNormal constructor crashes on ESP32 (

    …#641) (#642)
    
    Removed the lines copying the sketch MD5 at the BootNormal constructor
    since that crashed the firmware. At that point the ESP object is not ready
    to invoke getSketchMD5(). Also the code was duplicated since it's was
    already invoked at the BootNormal::setup function with no issues.
    nemidiy authored and luebbe committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    661bd74 View commit details
    Browse the repository at this point in the history
  2. Fix semicolon after define statement in LightOnOff example (#643)

    Signed-off-by: Aitor Iturrioz <riturrioz@gmail.com>
    bodiroga authored and luebbe committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    7818c73 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2019

  1. Optimize JSON code

    * Simplify JSON lookups
    * Remove unnecessary lookups
    * Add null checks for JSON strings before calling strlen()
    mkfrey authored and kleini committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    2093ce8 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2019

  1. fixed wrong WiFi DNS parsing of commit 2093ce8 (#646)

    kleini authored and David Gräff committed Dec 15, 2019
    Configuration menu
    Copy the full SHA
    7b15526 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2019

  1. Fix topic copying for chunked messages (#645)

    Only copy the topic on the first message chunk. Otherwise the old copy will be
    destroyed on subsequent calls to `_onMqttMessage()` for the same message, while
    the copy is still being referenced by `_mqttTopicLevels`. This leads to undefined
    behaviour.
    mkfrey authored and luebbe committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    104a09c View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2019

  1. Configuration menu
    Copy the full SHA
    50e37c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    201a9aa View commit details
    Browse the repository at this point in the history
  3. Adjusted formating

    EinfachArne committed Dec 27, 2019
    Configuration menu
    Copy the full SHA
    f9e25f8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6757c64 View commit details
    Browse the repository at this point in the history
  5. Adjusted code structure

    EinfachArne committed Dec 27, 2019
    Configuration menu
    Copy the full SHA
    a12b8e0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b1023ec View commit details
    Browse the repository at this point in the history