Files
JBao_Heat_Pad_FW/apps/usr_app/app_th_scan.h
T

29 lines
1.0 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/******************************************************************************
* @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__ */