CommandResponseStatus

public enum CommandResponseStatus : Int, Error

The possible failure responses from a command.

  • The domain or opcode is unsupported.

    Declaration

    Swift

    case errorUnsupported
  • The parameters to this command were incorrect/invalid.

    Declaration

    Swift

    case errorBadParam
  • The device has a critically low battery and will not execute the command.

    Declaration

    Swift

    case errorBattery
  • We have experienced a failure in some hardware component.

    Declaration

    Swift

    case errorHardware
  • The key in an authentication call was incorrect, or there has been no authentication yet and this call must happen on an authenticated connection.

    Declaration

    Swift

    case errorAuth
  • The device has an invalid device type.

    Declaration

    Swift

    case errorDeviceTypeInfo
  • Invalid state to perform requested operation.

    Declaration

    Swift

    case errorInvalidState
  • Error accessing Flash for either read/write or erase operation request.

    Declaration

    Swift

    case errorFlashAccess
  • Checksum error.

    Declaration

    Swift

    case errorChecksum
  • Error Busy - e.g. Busy updating Interposer FW.

    Declaration

    Swift

    case errorBusy
  • Flash memory less than 20% free

    Declaration

    Swift

    case errorLowMemory = 15
  • Error Generated in APP only

    Declaration

    Swift

    case errorAppTimeout
  • Error Generated in APP only

    Declaration

    Swift

    case errorAppUnknown
  • Some internal, unknown error has occurred.

    Declaration

    Swift

    case errorUnknown