[8.1.0_new_ota]OTA 2.0 版本

This commit is contained in:
xuxinchao
2025-06-23 14:57:21 +08:00
parent fa02d6c200
commit f64c5d273d
12 changed files with 173 additions and 8 deletions

View File

@@ -1556,6 +1556,14 @@ class MoGoAutopilotControlProvider :
return AdasManager.getInstance().sendSsmFuncOtaStatusQuery(token)>-1
}
/**
* OTA2.0查询
* @param queryStr {"cmd":"PAD_QUERY_UPGRADE_STATUS","token":"123"} JSON
*/
override fun sendOtaPadMsgQuery(queryStr: String): Boolean {
return AdasManager.getInstance().sendOtaPadMsgQuery(queryStr) > -1
}
/**
* 人工接管时获取前方和后方摄像头数据
* 一次请求域控回调次两次摄像头数据 根据{@link MessagePad.CaptureImgOnTakeOver#getUuid()}进行区分是否是哪次请求

View File

@@ -622,6 +622,9 @@ class MoGoAdasListenerImpl : OnAdasListener {
timestamp: Long,
status: SsmInfo.PureStr?
) {
if(status != null){
CallerOTAManager.invokeOtaPureStr(token,timestamp,status)
}
}
/**