[690][adas]OTA升级功能接口修改

This commit is contained in:
xinfengkun
2024-12-02 15:16:19 +08:00
parent fdf1e4c0c4
commit e342a8d735
7 changed files with 84 additions and 65 deletions

View File

@@ -446,24 +446,24 @@ class MoGoAdasListenerImpl : OnAdasListener {
}
}
/**
* SSM上报OTA下载进度, 开始升级后定频上报
*
* @param header 头
* @param token PadSsmMsg唯一消息ID
* @param timestamp 消息发送时间 单位:毫秒
* @param progress 数据 null表示 PadSsmMsg中的消息体为null
*/
override fun onOtaLoadingProgress(
header: MessagePad.Header?,
token: Long,
timestamp: Long,
progress: SsmInfo.OtaLoadingProgess?
) {
if(progress != null){
CallerOTAManager.invokeOtaLoadingProgress(progress)
}
}
// /**
// * SSM上报OTA下载进度, 开始升级后定频上报
// *
// * @param header 头
// * @param token PadSsmMsg唯一消息ID
// * @param timestamp 消息发送时间 单位:毫秒
// * @param progress 数据 null表示 PadSsmMsg中的消息体为null
// */
// override fun onOtaLoadingProgress(
// header: MessagePad.Header?,
// token: Long,
// timestamp: Long,
// progress: SsmInfo.OtaLoadingProgess?
// ) {
// if(progress != null){
// CallerOTAManager.invokeOtaLoadingProgress(progress)
// }
// }
/**
* SSM上报OTA状态和查询OTA状态