1、新增Dengle定时参数下发功能,支持最多10条配置,断电保存到Flash,COM打开时暂停发送、关闭后恢复

2、新增USB查询产品码(0x66)和查询Dengle配置(0x74)命令
3、修复bleproto组包栈溢出导致设置Dengle后复位的问题,并完善CDC的DTR状态判断
This commit is contained in:
2026-07-31 14:54:26 +08:00
parent 79e15a9ccc
commit 2260768167
38 changed files with 1742 additions and 717 deletions
+2
View File
@@ -144,6 +144,8 @@ u8 *syscfg_ptr_read(u16 item_id, u16 *len);
#define CFG_USER_PAIR_INFO 2
#define CFG_USER_TIM_FLAG 3
#define CFG_USER_PROD_INFO 28 /* ProdtCode + productCode */
#define CFG_USER_DENGLE_L 29 /* Dengle slots 0~4 */
#define CFG_USER_DENGLE_H 30 /* Dengle slots 5~9 */