Function resolveInstallableFirmwares

  • Resolves a list of installable firmware versions based on the provided firmware package filenames. Filters the list by the specified FWID or device, and optionally sorts the results by version in descending order.

    Returns

    A list of compatible firmware packages, each with its filename and version.

    Parameters

    • filenames: string[]

      An array of firmware package filenames to evaluate.

    • firmwareIdOrDevice: string | Pick<Device, "hardwareDescription" | "integroVariant" | "stackInfo">

      The FWID or device object (with hardwareDescription, stackInfo, and optionally integroVariant) to check compatibility.

    • sortByVersion: boolean = false

      Optional flag to sort the resulting firmware list by version in descending order (default is false).

    Returns Firmware[]

Generated using TypeDoc