[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

@@ -20,16 +20,16 @@ object CallerOTAManager: CallerBase<IOTAListener>() {
}
}
/**
* SSM上报OTA下载进度, 开始升级后定频上报
* @param progress 下载进度
*/
fun invokeOtaLoadingProgress(progress: SsmInfo.OtaLoadingProgess){
M_LISTENERS.forEach {
val listener = it.value
listener.onOtaLoadingProgress(progress)
}
}
// /**
// * SSM上报OTA下载进度, 开始升级后定频上报
// * @param progress 下载进度
// */
// fun invokeOtaLoadingProgress(progress: SsmInfo.OtaLoadingProgess){
// M_LISTENERS.forEach {
// val listener = it.value
// listener.onOtaLoadingProgress(progress)
// }
// }
/**
* SSM上报OTA状态和查询OTA状态