Sfoglia il codice sorgente

添加application文件

xuxinyi 1 mese fa
parent
commit
ef8c9f9a07
3 ha cambiato i file con 25 aggiunte e 0 eliminazioni
  1. 2 0
      CMakeLists.txt
  2. 8 0
      Core/Inc/application.h
  3. 15 0
      Core/Src/application.c

+ 2 - 0
CMakeLists.txt

@@ -41,6 +41,8 @@ add_executable(${CMAKE_PROJECT_NAME}
         Core/Inc/RTC_SLEEP.h
         Core/Src/ring_buffer.c
         Core/Inc/ring_buffer.h
+        Core/Src/application.c
+        Core/Inc/application.h
 )
 
 # Add STM32CubeMX generated sources

+ 8 - 0
Core/Inc/application.h

@@ -0,0 +1,8 @@
+//
+// Created by EDZ on 25-10-3.
+//
+
+#ifndef APPLICATION_H
+#define APPLICATION_H
+
+#endif //APPLICATION_H

+ 15 - 0
Core/Src/application.c

@@ -0,0 +1,15 @@
+//
+// Created by EDZ on 25-10-3.
+//
+
+#include "application.h"
+
+//设备自检:检测lora设备。蓝牙设备。等
+/*
+ * 描述:1.检测设备是否离线。虽然自身显示是在线,但是可能因为某些原因,导致设备无法接收后台数据。
+ *      2.检测蓝牙设备是否正常。
+ *
+ */
+void equipmentSelfInspection_Fun() {
+
+}