lib/src/main/cpp/mcu/mcu_if.cpp
@@ -45,6 +45,7 @@ #define ID_CM_RTK_DATA 0x0008 #define ID_CM_READ_RFCARD 0x0009 #define ID_MC_RFCARD_RSP 0x8009 #define ID_CM_SHUTDOWN 0x0020 static parse_status_t parse_status; @@ -514,3 +515,10 @@ AppTimer_add(ReadCardTimeout, D_SEC(3)); SendMcuCommand(ID_CM_READ_RFCARD, NULL, 0); } void ShutdownInd(int timeout) { uint8_t v = timeout; SendMcuCommand(ID_CM_SHUTDOWN, &v, 1); }