P0功能已实现,按键、LED、过零检测、配网、OTA都已正常实现

This commit is contained in:
2026-09-04 18:49:07 +08:00
parent 2fb61a6458
commit 0de88083ba
47 changed files with 5184 additions and 26 deletions
+28
View File
@@ -0,0 +1,28 @@
/******************************************************************************
* @file app_th_scan.h
* @brief CBR1 断连温湿度扫描(第 8 章,P2):500ms 重连广播 ↔ 500ms 扫描
* @author cyWu <1917507415@qq.com>
* @date 2026.09.04
* @version V1.0.0P0 = 骨架(BOARD_TH_SCAN_ENABLE=0
*
* @note 匹配规则:名字 = "JBao-"+本机缸体号(DP8 uint16 十进制)且配置版本
* 相等 → temp_x10 = int8℃×10;湿度只打日志不参与开停。缸体号 0 不扫。
* 断连丢包:保持上一温度与上一加热态,禁止因丢包关加热。
******************************************************************************/
#ifndef __APP_TH_SCAN_H__
#define __APP_TH_SCAN_H__
/**
* @brief 初始化扫描模块
* @return 无
*/
void app_th_scan_init(void);
/**
* @brief 500ms 任务上下文:断连已配对时 500ms 重连广播 / 500ms 扫描交替
* @return 无
*/
void app_th_scan_tick(void);
#endif /* __APP_TH_SCAN_H__ */