-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Compile errors #2
Comments
Seems AcSSlFileHandler not supported on ESP32 as per this issue in mqtt.cpp had to comment out setSecure and setPsk
reconfig See this is commented out with reference to some issue with it With so many library dependencies this might present some challenges to creating a simple and secure OTA base. Still it is worthwhile to try. |
I just pushed my latest version, which has a number of improvements. The errors you encountered are because I use TLS and the PSK ciphersuites with some libraries that don't officially support them yet. I have PRs pending but it's taking eons to get them in, e.g. AsyncTCP. The platformio.ini files have the dependencies I use. |
Thank you for the update. And no problem if you are moving to micropython - I've been seeing more and more people talk about it. I did come across a simple approach which works for me over http/https in EOTAUpdate . I like your idea with using MQTT. The option I wanted was to be able to initiate the update via MQTT and not necessarily deliver it over MQTT. |
Cool. You may have noticed that my code sends the OTA URL and MD5 over MQTTS to the esp32 and then the esp32 fetches the data over HTTP and verifies the MD5. The one downside to watch out for is that this means the firmware is unencrypted over the air so it should not have any credentials in it, e.g., don't put your Wifi password or MQTT creds in... |
Hi
This project looks interesting. I have been trying to run some of the examples but as yet can't compile them. Possibly breaking changes in the referenced libraries.
I'll try work through them but this is what I am encountering at the moment. Using Windows 10 and PlatformIO.
The text was updated successfully, but these errors were encountered: