FirmwareServer
public class FirmwareServer
Used for interfacing with the MbientLab firmware server
-
Find all compatible firmware for the given device type
Declaration
Swift
public static func getAllFirmwareAsync(hardwareRev: String, modelNumber: String, buildFlavor: String = "vanilla") -> Task<[FirmwareBuild]>
-
Find all compatible bootloaders for the given device type
Declaration
Swift
public static func getAllBootloaderAsync(hardwareRev: String, modelNumber: String) -> Task<[FirmwareBuild]>
-
Get only the most recent firmware
Declaration
Swift
public static func getLatestFirmwareAsync(hardwareRev: String, modelNumber: String, buildFlavor: String = "vanilla") -> Task<FirmwareBuild>
-
Try to find the the given firmware version
Declaration
Swift
public static func getVersionAsync(hardwareRev: String, modelNumber: String, firmwareRev: String, buildFlavor: String = "vanilla", requiredBootloader: String? = nil) -> Task<FirmwareBuild>