Function extractFirmwareVersionFromFirmwarePackageFilename

  • Extracts the firmware version from the given firmware package filename, whether it's in the old or new format.

    Example

    "v4.1.0"
    

    Throws

    Throws an error if the provided filename does not match the expected pattern.

    Parameters

    • filename: string

    Returns string

Generated using TypeDoc