FirmwareUpgradeManager
Manages a McuManager firmware upgrade. Once initialized, this object can only perform a single firmware upgrade for a single device to completion. In other words, the same FirmwareUpgradeManager may start the upload, cancel the upload, and call start once again to restart the firmware upgrade. However, once the upload is completed, the same FirmwareUpgradeManager cannot not be used for subsequent firmware upgrades.
Like other MCU managers, FirmwareUpgradeManagers must be initialized with a McuMgrTransport which defines the scheme and implements the transport methods for communicating with the device. FirmwareUpgradeManagers additionally require a callback and the image data to upload.
Once initialized, a firmware upgrade is started by calling start, and can be paused, resumed, and canceled using pause, resume, and cancel.