diff --git a/src/XD0OTA.h b/src/XD0OTA.h index 9fd52eb..e1a77a6 100644 --- a/src/XD0OTA.h +++ b/src/XD0OTA.h @@ -32,6 +32,10 @@ openssl req -x509 -nodes -days 18263 -newkey rsa:2048 -keyout /etc/ssl/private/x openssl x509 -noout -fingerprint -sha1 -inform pem -in /etc/ssl/certs/xd0-fwupdate-selfsigned.crt +scp .pioenvs/nodemcuv2/firmware.bin user@webserver:/var/www/fwupdate/fota/macaddress.bin +and change macaddress.version + + server { listen 444 ssl; listen [::]:444 ssl; diff --git a/src/main.cpp b/src/main.cpp index 9d5d230..d5b4927 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -8,7 +8,7 @@ #include #include extern "C" { -#include +//#include #include "user_interface.h" }