实现 lora

This commit is contained in:
2025-10-09 20:10:23 +08:00
parent dfb50f5c74
commit 97a9c778e8
2 changed files with 138 additions and 25 deletions

View File

@@ -37,6 +37,9 @@ LORA_CONFIG = {
# (ED + 05(消息长度) + 0201(地址) + "Hello"(消息本体))
# 接收: ED 05 02 01 48 65 6c 6c 6f
'lora_mesh_mode': 'EC',
# 单包最大用户数据数据长度, 模块限制240, 去掉两位自定义包头, 还剩238
'max_chunk_size': 238
}
# --- 总线配置 ---