zhunk 1 tahun lalu
induk
melakukan
f1f3191f40

+ 1 - 1
Application_cbd_apm32f1/applications/control.h

@@ -29,7 +29,7 @@
 #endif
 ////////////////////////////////////////////////////////////////
 
-#define VERSION  "2.2.3"
+#define VERSION  "2.2.4"
 
 
 extern rt_event_t event_485_play;

+ 9 - 1
Application_cbd_apm32f1/applications/dtu_uart2.c

@@ -1068,7 +1068,7 @@ int parseDtu(char *json_string)
                 DTU_Write("%s",takephotojson);
                 rt_free(takephotojson);
                 #else
-                device_status.photo_ws=1;
+                device_status.photo_ws=2;
                 char *photo = makeJson_Warn("takephoto","control");
                 DTU_Write("%s",photo);
                 rt_free(photo);
@@ -1134,6 +1134,14 @@ int parseDtu(char *json_string)
                       DTU_Write("%s",sleep);
                       rt_free(sleep);
                   }
+                  //{"ext": {"type": "clear"}, "cmd": "ctrl"}
+                  else if(strstr(type->valuestring,"clear")!=RT_NULL)
+                  {
+                      device_status.clear_status = 10;
+                      char *clear = makeJson_Warn("cmd run fanban!","control");
+                      DTU_Write("%s",clear);
+                      rt_free(clear);
+                  }
               }
 
               else if (strstr(item_cmd->valuestring,"reboot")!=RT_NULL)

+ 11 - 0
Application_cbd_apm32f1/readme.md

@@ -1,3 +1,14 @@
+# 2025-07-23 更新说明
+	2.2.3
+	更新内容:
+	1、省电模式拍照逻辑调整,由设定工作时间修改为定时拍照,每天
+	11、13、15、17点拍照,共计4张图片;
+	2、修复拍照后不执行翻板
+	3、修复下发修改参数无效问题
+	4、新增取消休眠模式的指令:
+	{"ext": {"type": "sleep_off"}, "cmd": "ctrl"}
+
+5、数据上传字段增加了高低温保护阈值,tpl,tph
 # 2025-06-03 更新说明
 #define VERSION   "2.1.0"
 1. 修复时控跨天工作bug,在0点会结束工作;