From ee48fd98bd7fde9ed86c228cee2b93d98f2c515e Mon Sep 17 00:00:00 2001 From: Dinesh Harjani Date: Fri, 20 Oct 2023 12:08:24 +0100 Subject: [PATCH] Fix: McuMgr Parameters & Bootloader Info are Independent Either, Both or none could be present. If one fails, there's no relation to the other, as we were assuming previously. --- Source/Managers/DFU/FirmwareUpgradeManager.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Managers/DFU/FirmwareUpgradeManager.swift b/Source/Managers/DFU/FirmwareUpgradeManager.swift index 32b5c00..1e2257c 100644 --- a/Source/Managers/DFU/FirmwareUpgradeManager.swift +++ b/Source/Managers/DFU/FirmwareUpgradeManager.swift @@ -320,8 +320,7 @@ public class FirmwareUpgradeManager : FirmwareUpgradeController, ConnectionObser self.log(msg: "Cancelling 'Erase App Settings' since device capabilities are not supported.", atLevel: .info) self.configuration.eraseAppSettings = false } - self.log(msg: "Skipping over 'Bootloader Info' step since device capabilities (McuMgr Parameters) are not supported.", atLevel: .info) - self.validate() // Continue Upload + self.bootloaderInfo() // Continue to Bootloader Info. return }