When implementing this library in my own project, I found that if I ran the Firmware Upgrade Manager in testAndConfirm mode, it would do everything properly up until the last step, where instead of marking the state as successful it would just throw itself into an infinite loop of resetting and confirming the firmware.
Changing the self.reset() call to a self.success() call, mimicking FirmwareUpgradeManager's reconnect function fixes this problem.
(Re-submitting from a separate branch so that I can continue to use the master branch on my fork.)
When implementing this library in my own project, I found that if I ran the Firmware Upgrade Manager in testAndConfirm mode, it would do everything properly up until the last step, where instead of marking the state as successful it would just throw itself into an infinite loop of resetting and confirming the firmware.
Changing the self.reset() call to a self.success() call, mimicking FirmwareUpgradeManager's reconnect function fixes this problem.
(Re-submitting from a separate branch so that I can continue to use the master branch on my fork.)