[630][adas] 新增域控认证;优化重连机制:无限重连、用不重连、指定次数重连;优化连接状态;新增设置是否启用超时检测;新增是否自动连接;
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.mogo.eagle.core.function.api.autopilot
|
||||
|
||||
import com.zhjt.mogo.adas.data.AdasConstants
|
||||
import mogo.telematics.pad.MessagePad
|
||||
import mogo_msg.MogoReportMsg
|
||||
import system_master.*
|
||||
@@ -35,7 +36,7 @@ interface IMoGoAutopilotStatusListener {
|
||||
/**
|
||||
* 工控机获取SN
|
||||
*/
|
||||
fun onAutopilotSNRequest() {}
|
||||
fun onAutopilotSNRequest(status: AdasConstants.CertificationStatus) {}
|
||||
|
||||
/**
|
||||
* 工控机监控节点
|
||||
@@ -45,7 +46,7 @@ interface IMoGoAutopilotStatusListener {
|
||||
/**
|
||||
* 工控机连接状态回调
|
||||
*/
|
||||
fun onAutopilotIpcConnectStatusChanged(status: Int, reason: String?) {}
|
||||
fun onAutopilotIpcConnectStatusChanged(status: AdasConstants.IpcConnectionStatus, reason: String?) {}
|
||||
|
||||
/**
|
||||
* 工控机主动查询 AdasManager#sendStatusQueryReq(),后会收到如下回调
|
||||
|
||||
Reference in New Issue
Block a user