From dda0ed243273a2f256b7666ba62118b5e001c16e Mon Sep 17 00:00:00 2001 From: Corey Harding Date: Tue, 1 Aug 2017 13:23:32 -0400 Subject: [PATCH] Minor bug fix Fix typo and update license --- source/ESP_Code/ESP_Code.ino | 4 ++-- source/ESP_Code/ESP_Code.ino.generic.bin | Bin 353456 -> 353776 bytes source/ESP_Code/License.h | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/source/ESP_Code/ESP_Code.ino b/source/ESP_Code/ESP_Code.ino index 8d90c58..69585f9 100644 --- a/source/ESP_Code/ESP_Code.ino +++ b/source/ESP_Code/ESP_Code.ino @@ -61,7 +61,7 @@ ESP8266WebServer httpServer(1337); ESP8266HTTPUpdateServer httpUpdater; HTTPClient http; -String version = "2.3.0"; +String version = "2.3.1"; String latestversion = ""; const char* update_path = "/update"; @@ -502,7 +502,7 @@ void setup(void) server.send(200, "text/html", String()+"<- BACK TO INDEX

ESPloit Firmware Info
Version Installed:"+version+"
Latest Version:"+latestversion+"
Click to automatically update firmware



Manually install firmware:
Open Arduino IDE.
Pull down Sketch Menu then select Export Compiled Binary.
Open Sketch Folder and upload the exported BIN file.
You may need to manually reboot the device to reconnect."); } else if (httpCode < 0) { - server.send(200, "text/html", String()+"<- BACK TO INDEX

ESPloit Firmware Info
Version Installed:"+version+"
Latest Version:?????
Could not connect to the update server



Manually install firmware:
Open Arduino IDE.
Pull down Sketch Menu then select Export Compiled Binary.
Open Sketch Folder and upload the exported BIN file.
You may need to manually reboot the device to reconnect."); + server.send(200, "text/html", String()+"<- BACK TO INDEX

ESPloit Firmware Info
Version Installed:"+version+"
Latest Version:?
Could not connect to the update server



Manually install firmware:
Open Arduino IDE.
Pull down Sketch Menu then select Export Compiled Binary.
Open Sketch Folder and upload the exported BIN file.
You may need to manually reboot the device to reconnect."); } }); diff --git a/source/ESP_Code/ESP_Code.ino.generic.bin b/source/ESP_Code/ESP_Code.ino.generic.bin index 8e51c8692bb63475bdc323e868464f3098fcca44..9e915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7Wtq(fN9pY|$kL23IVG7`$S>sEbiJ zJf;iHMq}lUi6Wh;zihr=Ou+tX{wH6o!0@Y+#NwN1nR(eOPS65#|HC3oPn%N<#1(qX zyzde5AdcDah;T5ClGTriG#hvImpiA6f}R`t^+{2MJ2f{i5Pm9^_Jv|$KTb5r!jJ*2G-A%IdJCVigYm)X$;@EtdG0nCxR|bN%r}H=&l${CN zB^Td@UG!_)r9oU4G7tW2+sg5fob`(h%hQh^M0AU6>$a`JBr!RI)d{S1U`-}tW{pjq z#Y&CIs#@r9*5E~h0p1!}tg6{G&WA=~y`}_EYd@K*Bv6y^_E<&Pd(@^VwfLQY8>T-| zJS2*-mKxcqsRioL9CVVR_`AEizgHB8;zipJzFJw3rbh6osg+&nYKqv4h1FL*MOZ-Q z!3?z!k9)jJ{o3U!!A|mTpJF6n-+^0b(3e@*t8peFlKj`_=D U>NljAUp}thCp}N7CmdA!Uq|xeX#fBK diff --git a/source/ESP_Code/License.h b/source/ESP_Code/License.h index 15386df..34340e5 100644 --- a/source/ESP_Code/License.h +++ b/source/ESP_Code/License.h @@ -215,6 +215,14 @@ Core libraries used: Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +/* + HTTP Get request to a variable based on example code from https://techtutorialsx.com/2016/07/17/esp8266-http-get-requests/ +*/ + +/* + Check for the latest version then fetch and update firmware from the Internet feature based on example code from https://github.com/squix78/esp8266-ci-ota/blob/master/src/main.cpp +*/ + This is not a comprehensive list, these "Core Libraries" may depend on additional libraries, more information can be obtained by viewing the source code of the main libraries.