From be3c560d41e390a28ad797364c3132aae9a13bd8 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Sun, 8 Sep 2019 00:25:01 +0900 Subject: [PATCH] Release for v1.0.0 Fixes #26, #45, #62, #122 --- .travis.yml | 10 +- README.md | 12 + docs/404.html | 86 +- docs/acelements.html | 86 +- docs/achandling.html | 238 +++-- docs/acintro.html | 86 +- docs/acjson.html | 238 ++++- docs/acupload.html | 88 +- docs/advancedusage.html | 140 ++- docs/api.html | 94 +- docs/apiaux.html | 142 ++- docs/apiconfig.html | 99 +- docs/apielements.html | 733 ++++--------- docs/apiextra.html | 95 +- docs/apiupdate.html | 1224 ++++++++++++++++++++++ docs/basicusage.html | 86 +- docs/changelog.html | 112 +- docs/colorized.html | 86 +- docs/credit.html | 171 ++- docs/datatips.html | 86 +- docs/faq.html | 132 ++- docs/gettingstarted.html | 86 +- docs/howtoembed.html | 86 +- docs/images/export_binary.png | Bin 0 -> 69528 bytes docs/images/global.svg | 524 +++++++++ docs/images/global1.png | Bin 0 -> 3925 bytes docs/images/global2.png | Bin 0 -> 3639 bytes docs/images/serverupdate.gif | Bin 0 -> 85215 bytes docs/images/updated.png | Bin 0 -> 6938 bytes docs/images/updatelist.png | Bin 0 -> 26415 bytes docs/images/updatemenu.png | Bin 0 -> 10456 bytes docs/images/updatemodel.png | Bin 0 -> 100314 bytes docs/images/updatemodel.svg | 898 ++++++++++++++++ docs/images/updateserver.png | Bin 0 -> 147369 bytes docs/images/updateserver.svg | 627 +++++++++++ docs/images/updating.png | Bin 0 -> 7482 bytes docs/images/webupdate.gif | Bin 0 -> 793344 bytes docs/images/webupdate.png | Bin 0 -> 118952 bytes docs/images/webupdate.svg | 628 +++++++++++ docs/images/webupdatemodel.png | Bin 0 -> 88949 bytes docs/images/webupdatemodel.svg | 354 +++++++ docs/index.html | 109 +- docs/license.html | 86 +- docs/lsbegin.html | 86 +- docs/menu.html | 90 +- docs/menuize.html | 86 +- docs/otabrowser.html | 1049 ++++++++++++++++++ docs/otaserver.html | 1178 +++++++++++++++++++++ docs/otaupdate.html | 916 ++++++++++++++++ docs/search/search_index.json | 2 +- docs/sitemap.xml | 70 +- docs/sitemap.xml.gz | Bin 383 -> 404 bytes docs/wojson.html | 86 +- examples/ConfigIP/ConfigIP.ino | 328 ++++++ examples/Credential/Credential.ino | 4 +- examples/Elements/Elements.ino | 4 + examples/Simple/Simple.ino | 3 + examples/Update/Update.ino | 184 ++++ examples/WebUpdate/HTTPUpdateServer.cpp | 130 +++ examples/WebUpdate/HTTPUpdateServer.h | 42 + examples/WebUpdate/WebUpdate.ino | 48 +- keywords.txt | 38 +- library.json | 2 +- library.properties | 2 +- mkdocs.yml | 5 + mkdocs/achandling.md | 126 +-- mkdocs/acjson.md | 106 +- mkdocs/acupload.md | 2 +- mkdocs/advancedusage.md | 52 +- mkdocs/apiaux.md | 30 +- mkdocs/apiconfig.md | 9 +- mkdocs/apielements.md | 170 +-- mkdocs/apiextra.md | 1 + mkdocs/apiupdate.md | 135 +++ mkdocs/changelog.md | 7 + mkdocs/credit.md | 62 +- mkdocs/faq.md | 35 +- mkdocs/images/export_binary.png | Bin 0 -> 69528 bytes mkdocs/images/global.svg | 524 +++++++++ mkdocs/images/global1.png | Bin 0 -> 3925 bytes mkdocs/images/global2.png | Bin 0 -> 3639 bytes mkdocs/images/serverupdate.gif | Bin 0 -> 85215 bytes mkdocs/images/updated.png | Bin 0 -> 6938 bytes mkdocs/images/updatelist.png | Bin 0 -> 26415 bytes mkdocs/images/updatemenu.png | Bin 0 -> 10456 bytes mkdocs/images/updatemodel.png | Bin 0 -> 100314 bytes mkdocs/images/updatemodel.svg | 898 ++++++++++++++++ mkdocs/images/updateserver.png | Bin 0 -> 147369 bytes mkdocs/images/updateserver.svg | 627 +++++++++++ mkdocs/images/updating.png | Bin 0 -> 7482 bytes mkdocs/images/webupdate.gif | Bin 0 -> 793344 bytes mkdocs/images/webupdate.png | Bin 0 -> 118952 bytes mkdocs/images/webupdate.svg | 628 +++++++++++ mkdocs/images/webupdatemodel.png | Bin 0 -> 88949 bytes mkdocs/images/webupdatemodel.svg | 354 +++++++ mkdocs/index.md | 11 +- mkdocs/menu.md | 4 +- mkdocs/otabrowser.md | 111 ++ mkdocs/otaserver.md | 175 ++++ mkdocs/otaupdate.md | 19 + src/AutoConnect.cpp | 34 +- src/AutoConnect.h | 12 +- src/AutoConnectAux.cpp | 31 +- src/AutoConnectAux.h | 6 +- src/AutoConnectCredential.cpp | 401 ++++++- src/AutoConnectCredential.h | 130 ++- src/AutoConnectDefs.h | 80 +- src/AutoConnectElement.h | 4 +- src/AutoConnectElementBasis.h | 8 +- src/AutoConnectElementBasisImpl.h | 2 + src/AutoConnectElementJson.h | 58 +- src/AutoConnectElementJsonImpl.h | 9 +- src/AutoConnectJsonDefs.h | 68 ++ src/AutoConnectLabels.h | 9 +- src/AutoConnectPage.cpp | 114 +- src/AutoConnectPage.h | 21 +- src/AutoConnectUpdate.cpp | 583 +++++++++++ src/AutoConnectUpdate.h | 193 ++++ src/AutoConnectUpdatePage.h | 60 ++ src/AutoConnectUploadImpl.h | 18 +- src/updateserver/README.md | 47 + src/updateserver/python2/updateserver.py | 178 ++++ src/updateserver/python3/updateserver.py | 174 +++ 123 files changed, 16722 insertions(+), 1399 deletions(-) create mode 100644 docs/apiupdate.html create mode 100644 docs/images/export_binary.png create mode 100644 docs/images/global.svg create mode 100644 docs/images/global1.png create mode 100644 docs/images/global2.png create mode 100644 docs/images/serverupdate.gif create mode 100644 docs/images/updated.png create mode 100644 docs/images/updatelist.png create mode 100644 docs/images/updatemenu.png create mode 100644 docs/images/updatemodel.png create mode 100644 docs/images/updatemodel.svg create mode 100644 docs/images/updateserver.png create mode 100644 docs/images/updateserver.svg create mode 100644 docs/images/updating.png create mode 100644 docs/images/webupdate.gif create mode 100644 docs/images/webupdate.png create mode 100644 docs/images/webupdate.svg create mode 100644 docs/images/webupdatemodel.png create mode 100644 docs/images/webupdatemodel.svg create mode 100644 docs/otabrowser.html create mode 100644 docs/otaserver.html create mode 100644 docs/otaupdate.html create mode 100644 examples/ConfigIP/ConfigIP.ino create mode 100644 examples/Update/Update.ino create mode 100644 examples/WebUpdate/HTTPUpdateServer.cpp create mode 100644 examples/WebUpdate/HTTPUpdateServer.h create mode 100644 mkdocs/apiupdate.md create mode 100644 mkdocs/images/export_binary.png create mode 100644 mkdocs/images/global.svg create mode 100644 mkdocs/images/global1.png create mode 100644 mkdocs/images/global2.png create mode 100644 mkdocs/images/serverupdate.gif create mode 100644 mkdocs/images/updated.png create mode 100644 mkdocs/images/updatelist.png create mode 100644 mkdocs/images/updatemenu.png create mode 100644 mkdocs/images/updatemodel.png create mode 100644 mkdocs/images/updatemodel.svg create mode 100644 mkdocs/images/updateserver.png create mode 100644 mkdocs/images/updateserver.svg create mode 100644 mkdocs/images/updating.png create mode 100644 mkdocs/images/webupdate.gif create mode 100644 mkdocs/images/webupdate.png create mode 100644 mkdocs/images/webupdate.svg create mode 100644 mkdocs/images/webupdatemodel.png create mode 100644 mkdocs/images/webupdatemodel.svg create mode 100644 mkdocs/otabrowser.md create mode 100644 mkdocs/otaserver.md create mode 100644 mkdocs/otaupdate.md create mode 100644 src/AutoConnectJsonDefs.h create mode 100644 src/AutoConnectUpdate.cpp create mode 100644 src/AutoConnectUpdate.h create mode 100644 src/AutoConnectUpdatePage.h create mode 100644 src/updateserver/README.md create mode 100644 src/updateserver/python2/updateserver.py create mode 100644 src/updateserver/python3/updateserver.py diff --git a/.travis.yml b/.travis.yml index 693552d..c8b55d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ before_install: - if [[ "$BOARD" =~ "esp32:esp32:" ]]; then arduino --install-boards esp32:esp32; fi - - arduino --install-library PubSubClient,PageBuilder:1.3.3 + - arduino --install-library PubSubClient,PageBuilder:1.3.4 - arduino --install-library ArduinoJson:5.13.5 - buildExampleSketch() { arduino --verify --board $BOARD $PWD/examples/$1/$1.ino; } - arduino --install-library ArduinoJson:6.10.1 @@ -32,14 +32,18 @@ install: - mkdir -p ~/Arduino/libraries - ln -s $PWD ~/Arduino/libraries/. script: + - buildExampleSketch ConfigIP - buildExampleSketch Credential + - buildExampleSketch Elements + - buildExampleSketch FileUpload - buildExampleSketch FSBrowser - buildExampleSketch HandleClient - buildExampleSketch HandlePortal - buildExampleSketch HandlePortalEX - - buildExampleSketch Simple - buildExampleSketch HelloWorld - buildExampleSketch mqttRSSI - buildExampleSketch mqttRSSI_FS - buildExampleSketch mqttRSSI_NA - - buildExampleSketch FileUpload + - buildExampleSketch Simple + - buildExampleSketch Update + - buildExampleSketch WebUpdate diff --git a/README.md b/README.md index e88bf5c..7a0c4d9 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,10 @@ These HTML elements that make up the user-owned screen can be easily loaded from +### Quick and easy to equip the OTA update feature ENHANCED w/ v1.0.0 + +You can quickly and easily equip the [OTA update feature](https://hieromon.github.io/AutoConnect/otaupdate.html) to your sketch and also you can operate the firmware update process via OTA from AutoConnect menu. + ## Supported hardware Apply the [Arduino core](https://github.com/esp8266/Arduino) of the ESP8266 Community. @@ -66,6 +70,7 @@ Alter the platform applying the [arduino-esp32](https://github.com/espressif/ard - Ai-Thinker NodeMCU-32S - Heltec WiFi Kit 32 - M5Stack +- Unexpected Maker TinyPICO - And other ESP32 modules supported by the Additional Board Manager URLs of the Arduino-IDE. ## Simple usage @@ -96,6 +101,13 @@ Full documentation is available on https://Hieromon.github.io/AutoConnect, some ## Change log +### [1.0.0] Sept. 7, 2019 +- Supports Arduino core for ESP32 1.0.3. +- Supports AutoConnectUpdate for the OTA update. +- Supports Preferences for saving credentials with ESP32 core 1.0.3 and later. **In ESP32, the credentials stored past in EEPROM will lose**. +- Supports AutoConnectAux::isValid function. +- Supports the global attribute with all AutoConnectElements. + ### [0.9.12] Aug. 18, 2019 - Fixed missing captive portal notifications on the newer mobile OS client. As a result of this fix, the SoftAP default IP address and gateway have been changed to **172.217.28.1**. (issue #85) diff --git a/docs/404.html b/docs/404.html index e02edf4..0f25e85 100644 --- a/docs/404.html +++ b/docs/404.html @@ -389,10 +389,70 @@ + + + + + + + + +
  • + + + + +