Chat freely about anything...

User avatar
By ftheirs
#48075 Hi everyone!
I'm working in a project with some sensors and they send the info to my broker (mosquitto). I'm still fighting with the configuration buy I have solved the MQTT and WiFi parts.

I'd like to add OTA upgrade to my project and if I change something I don't need to go one by on with my serial cable. Since I'm using MQTT I thought that I can use the MQTT protocol to do the upgrade. Do you think that it is possible? I think that I should design a mini bootloader to check updates and when there is one, write the flash with the new code.

What do you think about it? Would you recommend a normal OTA? Have you seen it before or my idea it's nuts? Any idea/advice/whatever would be really appreciated.

Many thanks,
Fernando