upgrade obu version

This commit is contained in:
lixiaopeng
2021-07-13 15:57:47 +08:00
parent e6657f3941
commit 077d32a4b8
2 changed files with 3 additions and 3 deletions

View File

@@ -172,7 +172,7 @@ ext {
// obu sdk
obusdk : "com.zhidao.enterprise.smartv2x:smartv2x:1.0.0.3",
// mebulaobu : 'com.zhidao.support.nebulaobu:nebulaobu:1.0.0.3',
mogoobu : 'com.zhidao.support.obu:mogoobu:1.0.0.5',
mogoobu : 'com.zhidao.support.obu:mogoobu:1.0.0.6',
// 左侧面板
moduleleftpanel : "com.mogo.module:module-left-panel:${MOGO_MODULE_LEFT_PANEL_VERSION}",

View File

@@ -115,7 +115,7 @@ public class V2XObuManager implements IObuCallback, Handler.Callback {
//自研obu
MogoObuManager.getInstance().init(context);
MogoObuManager.getInstance().connect();
MogoObuManager.getInstance().connect("192.168.1.199");
MogoObuManager.getInstance().registerListener(mogoObuListener);
//TODO 测试
@@ -340,7 +340,7 @@ public class V2XObuManager implements IObuCallback, Handler.Callback {
} else if (type == ObuConstant.TYPE_URGENCY_COLLISION_WARNING) { // 前车紧急制动预警
urgencyEvent.setType(ObuConstant.TYPE_URGENCY_COLLISION_WARNING);
urgencyEvent.setDesc(V2XObuEventScenario.URGENCY_COLLISION_WARN_TEXT);
} else {
} else { //TODO
// urgencyEvent.setType(ObuConstant.TYPE_URGENCY_COLLISION_WARNING);
// urgencyEvent.setDesc(V2XObuEventScenario.URGENCY_COLLISION_WARN_TEXT);
}