I have tried finding documentation about this, without success and even just running the function for checking which binary slot is used, system_upgrade_userbin_check(), always returns a "0", even after a few FOTAs.
Here is some example code using that function: https://github.com/willemwouters/ESP826 ... rade_lib.c
Any suggestions for the following are warmly welcome:
1. why is system_upgrade_userbin_check() always returning a "0"?
2. how to do the actual switching of active code (something like: notice which binary is running, mark the other one, restart with the marked one)
3. other useful or relevant sources
Thank you!