fctom1215
2020-02-11 3ce7d9cbccabf7f94d8203a98796599cd9dd5411
lib/src/main/cpp/master/comm_if.cpp
@@ -14,6 +14,7 @@
#include "../defs.h"
#include "../common/apptimer.h"
#include "../jni_log.h"
#include "../mcu/mcu_if.h"
#include <string>
#include <iostream>
@@ -47,6 +48,7 @@
#define ID_SM_CAR               0x000E
#define ID_SM_RTCM_IND           0x000F
#define ID_SM_DEBUG_INFO        0x0010
#define ID_MS_FILE              0x8100
#define MA_OUT_GPS_BRIEF        0x0001
#define MA_OUT_RTK_BRIEF        0x0002
@@ -660,3 +662,15 @@
        default:break;
    }
}
void MA_MainProcBinMsgEntry(int cmd, const uint8_t *value, int length)
{
    switch (cmd) {
        case ID_MS_FILE: {
            UploadDfuFile(value, length);
            break;
        }
        default:
            break;
    }
}