FirmwareUpdateError

public enum FirmwareUpdateError : Error

Following are the possibilities of error that can come up while doing firmware upgrade.

  • An error occurred within the SDK code itself.

    Please raise a bug if you encounter this error.

    Declaration

    Swift

    case internalError(String)
  • Failure occurred during api call (clientError, serverError, parsingFailed).

    Declaration

    Swift

    case api(APIError)
  • Tag connection error (Reason could be out of range, sleep, bluetooth communication).

    Declaration

    Swift

    case tagDisconnected
  • Operation failed due to low battery.

    Declaration

    Swift

    case lowBattery
  • Data is missing on the disk.

    Declaration

    Swift

    case dataUnavailable
  • When module info is not available.

    Declaration

    Swift

    case moduleUnavailable
  • State is incorrect during firmware update operations.

    e.g. When transferring of images starts, state should be idle. Or State should be transferred before calling executeUpdates() api. Otherwise api will send invalidState error.

    Declaration

    Swift

    case invalidState(String)
  • Error occured during transferring images to the tag/interposer.

    Declaration

    Swift

    case transfer(Error)
  • Error occured during flashing of image to the tag/interposer.

    Declaration

    Swift

    case execution(Error)