public static interface ILinkOTABusiness.IOtaError
限定符和类型 | 字段和说明 |
---|---|
static int |
ERROR_CHANNEL_NOT_EXIST
设备通道不存在
|
static int |
ERROR_DEVICE_NOT_BIND
设备没有绑定
|
static int |
ERROR_DEVICE_PARAM_INVALID
设备返回参数非法
|
static int |
ERROR_DEVICE_TIMEOUT
设备超时
|
static int |
ERROR_DEVICE_UPGRADE
设备升级时出现错误
|
static int |
ERROR_DOWNLOAD_ERR
下载错误
|
static int |
ERROR_DOWNLOAD_TIMEOUT
下载超时
|
static int |
ERROR_MTOP_FAILED
MTOP 接口错误
|
static int |
ERROR_OTA_IS_GOING
OTA正在进行,需要先停止
|
static int |
ERROR_OTA_NOT_SUPPORTED
设备不支持OTA
|
static int |
ERROR_TRANSMIT
传输固件到设备错误
|
static int |
ERROR_UNKNOWN
其他未知错误
|
static int |
ERROR_UPGRADE_NOT_PERMITTED
设备不同意升级
|
static int |
NO_ERROR
成功
|
static final int NO_ERROR
static final int ERROR_MTOP_FAILED
static final int ERROR_UPGRADE_NOT_PERMITTED
static final int ERROR_DEVICE_TIMEOUT
static final int ERROR_DOWNLOAD_ERR
static final int ERROR_DOWNLOAD_TIMEOUT
static final int ERROR_TRANSMIT
static final int ERROR_DEVICE_UPGRADE
static final int ERROR_DEVICE_PARAM_INVALID
static final int ERROR_CHANNEL_NOT_EXIST
static final int ERROR_OTA_NOT_SUPPORTED
static final int ERROR_OTA_IS_GOING
static final int ERROR_DEVICE_NOT_BIND
static final int ERROR_UNKNOWN
int getCode()
NO_ERROR
, ERROR_DEVICE_UPGRADE
java.lang.Object getData()