Repository navigation
Add SWARMOO MO3 PRO core integration maintenance - #126
Merged
Merged
Conversation
Co-authored-by: ZaneZhang <50073444+ZaneZhang111@users.noreply.github.com>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
范围
关联 #97,依据 ZaneZhang111 的实机抓包与传输补充资料,独立实现 SWARMOO MO3 PRO 的核心系统集成。保留来源署名及协议贡献,未复制附件测试应用代码。
必需的传输支持
该设备使用同一 FFF0 服务内两条 Write+Notify 特征,状态通知 23 字节。新增可选逻辑路由、通知边界保留、顺序 CCCD 订阅和最低 MTU;其他设备默认仍为主通道、平台 MTU。MO3 的物理写入最短间隔为 300ms,包含跨批次写入。
仅 MO3 Adapter 允许已记录命令在对应特征返回 ATT 状态 1 后继续等协议报告,保留原错误日志。其他错误、提交失败、超时与断连照常失败。不扩大全局超时,不扫描未知特征,不重发控制或切换未验证写方式。
模式控制使用 DEVICE_REPORT。Adapter 内按既有 HOLD / requestState 事件处理暂态回报,最多 250/500/700ms 三次查询;目标到达或预算耗尽时接受真实报告。无回报不会乐观显示切换成功。
验证与合入范围
抓包向量、短 MTU/错路由拒绝、能力独立开放、旧电量清除、模式收敛、未知错误传播、默认协议路由、卡片注册、目录及文档检查通过。
最终提交
be6152e47fc44b54e42cc78ceec705684375ccde的官方签名构建通过:下载维护包(登录 GitHub 下载 ZIP,解压 APK);构建记录。签名已核对与正式版一致,APK SHA-256:85c0a76c29dfea3956c15a8e4b3ce40f13d8d3a351c75abe1de98d24b6ec14e9。最终包已于 2026-11-08 获贡献者确认:双耳使用时电量和全部模式正常;所附日志确认 MTU 512、两特征、电量、四态写入及回读和重连。收尾只合并主线、解决更新日志冲突并更新证据,保留已确认的协议实现。合并后 CI 43411289543 通过,2026-11-13 已合入并发布 3.3.0。单耳控制尚无专门日志,#97 继续开放跟踪;导航和退避不记为该日志独立验证项。