diff --git a/build/esp12e/firmware.bin b/build/esp12e/firmware.bin index f03a312..b21665c 100644 Binary files a/build/esp12e/firmware.bin and b/build/esp12e/firmware.bin differ diff --git a/include/version.h b/include/version.h index 2da4ab2..cb39b8d 100644 --- a/include/version.h +++ b/include/version.h @@ -1,9 +1,9 @@ #ifndef BUILD_NUMBER - #define BUILD_NUMBER 30 + #define BUILD_NUMBER 32 #endif #ifndef VERSION - #define VERSION "v0.1.30 - 2023-11-28 13:47:56.143755" + #define VERSION "v0.1.32 - 2023-11-28 13:50:39.195748" #endif #ifndef VERSION_SHORT - #define VERSION_SHORT "v0.1.30" + #define VERSION_SHORT "v0.1.32" #endif diff --git a/src/myOTA.cpp b/src/myOTA.cpp index 6c1f257..a4de63a 100644 --- a/src/myOTA.cpp +++ b/src/myOTA.cpp @@ -46,20 +46,8 @@ void handleOTALocal() { void handleOTARemote() { WiFiClient client; - // const uint8_t fingerprint[20] = { - // 0xe9, 0x4e, 0x54, 0xa9, 0x30, 0x86, 0x3d, 0x53, 0x5b, 0xa0, 0xd2, 0xd3, 0xa5, 0xdd, 0x0d, 0xe3, 0xbd, 0xa8, 0xc9, 0xc2, - // }; - // client.setFingerprint(fingerprint); - // client.setInsecure(); - const char* host = "www.github.com"; - const int httpsPort = 80; - Serial.println(host); - if (!client.connect(host, httpsPort)) { - Serial.println("connection failed"); - return; - } else { - Serial.println("connection worked"); - } + + Serial.println("Updating from remote..."); t_httpUpdate_return ret = ESPhttpUpdate.update(client, "http://patient.bendtherules.in/build/esp12e/firmware.bin", VERSION_SHORT); switch(ret) { case HTTP_UPDATE_FAILED: diff --git a/versioning b/versioning index 8580e7b..1758ddd 100644 --- a/versioning +++ b/versioning @@ -1 +1 @@ -30 \ No newline at end of file +32 \ No newline at end of file