Skip to content

This Library can be used for Automatik update the Firmware of a ESP8266/ESP32

Notifications You must be signed in to change notification settings

Thro42/ESPFirmware

Repository files navigation

ESP Firmware Update Library

This Library can be used for Automatik update the Firmware of a ESP8266/ESP32

Example versionInfo

The Version Information is stored in JSON Format in a File on a Webserver.

versionInfo without IS

File Name: SketchName.json

versionInfo with ID

File Name: SketchName.ID.json

versionInfo content

{
    "version":"1.00",
    "binfile":"ScetchName.Verson.bin"
}

How to Using the library

  #define SKETCH_NAME "FwUpdJson"
  #define SKETCH_VERSION 1.50
  #define FW_ROOTURL "http://192.168.1.1/fw/"

  void setup() {
...
    ESPFirmware fwUpd(FW_ROOTURL, SKETCH_NAME, SKETCH_VERSION );
    fwUpd.Update();
...
  }

About

This Library can be used for Automatik update the Firmware of a ESP8266/ESP32

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages