OTA question - should mg_ota_end() be split into two functions? #3471
-
|
Go easy on me, I'm still learning. Thankyou for this wonderful body of work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
There are as many possible OTA architectures as people designing them. |
Beta Was this translation helpful? Give feedback.
There are as many possible OTA architectures as people designing them.
This is the one we came up with after simplifying a former one with all the bells and whistles you'd probably come up with after you sit down and think about all that can possibly happen if.
Once you start thinking "what happens if", things are no longer simple.
"Better" implies a judgment, a comparison.
Our aim is to have something simple, you can always define
MG_OTA_CUSTOMand do whatever you want. BTW, our Wizard calls mg_ota_end on a timer, to leave some time.