feat(DLD110S): 0x24响应追加LOOP_MEASURE_BASE归一化基数(协议V1.1) — 修复第三方variation换算放大4倍问题

This commit is contained in:
wangfq
2026-08-26 17:29:15 +08:00
parent e43b882ca9
commit 9d90419ee0
4 changed files with 38 additions and 1 deletions
@@ -20,6 +20,9 @@
#define HARDWARE_VER_MAIN 4
#define HARDWARE_VER_SUB 1
/* 归一化基数: variation 换算 dL/L 时除以该值 (2^19=524288, 必须与 peripheral_main.c MEASUREMENT_BASE 同步) */
#define LOOP_MEASURE_BASE 524288L
/* 功能模式位 (direction_mode 高4位, 协议保留; 新算法不再消费) */
#define FUNCTION_A 0x01 // 二次判断 (已废弃)
#define FUNCTION_B 0x02 // 二次判断增强条件判断 (已废弃)