[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

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

View File

@@ -34,4 +34,12 @@ interface IOTAListener {
*/
fun onOtaDownloadStatus(status: Boolean){}
/**
* OTA 2.0 新接口
* @param token PadSsmMsg唯一消息ID
* @param timestamp 消息发送时间 单位:毫秒
* @param status OTA 2.0 数据
*/
fun onOtaPureStr(token: Long,timestamp: Long,status: SsmInfo.PureStr){}
}