From 20bd5ec5a7f859c0f98f13ef62b906b1c781e51b Mon Sep 17 00:00:00 2001
From: fctom1215 <fctom1215@outlook.com>
Date: 星期日, 07 二月 2021 09:25:53 +0800
Subject: [PATCH] 暂时屏蔽获取车模型从平台  直接打开mapfragment 跳过arcgis

---
 lib/src/main/cpp/mcu/mcu_if.cpp |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/lib/src/main/cpp/mcu/mcu_if.cpp b/lib/src/main/cpp/mcu/mcu_if.cpp
index 10b9b7d..c658caa 100644
--- a/lib/src/main/cpp/mcu/mcu_if.cpp
+++ b/lib/src/main/cpp/mcu/mcu_if.cpp
@@ -399,7 +399,27 @@
         case ID_MC_MCU_DFU_RSP:
             break;
         case ID_MC_CAR_INFO2:
-//            DEBUG("ID_MC_CAR_INFO2 %d", length);
+           /* DEBUG("ID_MC_CAR_INFO2 %d", length);
+
+            {
+                static char buffd[16384];
+
+                buffd[0] = 0;
+                int i = 0;
+                for (i = 0; i < length; i++) {
+                    if ((i % 32) == 0) {
+                        sprintf(buffd + strlen(buffd), "\n");
+                    }
+                    sprintf(buffd + strlen(buffd), "%02X ", data[i]);
+                    if (strlen(buffd) > 800) {
+                        DEBUG("%s <- %s...", "杞﹁締淇″彿" , buffd);
+                        buffd[0] = 0;
+                    }
+                }
+                if (strlen(buffd) > 0)
+                    DEBUG("%s <- %s", "杞﹁締淇″彿" , buffd);
+            }*/
+
             if (length > 0) {
                 PlatformStatusChanged(CAR_SENSOR_UPDATE_EVT, data, length);
             }

--
Gitblit v1.8.0