Repository navigation
Maintain DaiLing T3 core RCSP integration - #131
Draft
silverpoetry wants to merge 3 commits into
Draft
silverpoetry wants to merge 3 commits into
silverpoetry wants to merge 3 commits into
Conversation
Add a model adapter for the DaiLing T3 TWS earbuds, which expose a JieLi RCSP control channel over the classic Bluetooth SPP service opened insecurely on RFCOMM channel 1. - Run the JieLi btcon device authentication before RCSP commands, then replay the five-read vendor initialisation burst; the capture-derived framing, battery report parsing and three-state noise attribute block are covered by codec tests. - Port the authentication algorithm from the official Apache-2.0 WeChat mini-program OTA SDK and validate it against the SDK vectors. - Expose the model-specific ANC depth (deep / middle / light) as a typed feature state and control request. The card extension appends a second row cloned from the native noise items and, while ANC is active, uses the trailing More Settings slot so the card keeps its native height. - Add the low-latency game-mode switch (ADV-info settings command with the `02 05 <mode>` LTV record) and the dual-device switch (custom command `1A <0|1>`), both read back from device reports. Query the work mode on connect like the vendor app does, which avoids muting the headset on the first game-mode write after a restart. - Persist the chosen ANC depth in the Bluetooth process data directory and apply it on the next connection instead of storing a second settings entry. - Register the vendor control app for More Settings navigation and runtime yield, and document the protocol, evidence levels and pending revalidation. Identification, component battery, three-state noise, game mode and dual-device control were validated on hardware; ANC depth audibility still needs device revalidation before merge.
…aries Preserve the contributor's original commit and authenticated RCSP protocol facts. Keep battery, three noise modes and an independently confirmed game-mode toggle. Remove depth persistence, dual-device controls and model-specific runtime hooks. Validate complete authentication, frame trailers and structured device reports; read mode and work-mode state back through the existing transaction interface. Include upstream authentication license and maintenance revalidation boundaries. Co-authored-by: Jgckm <51497452+Jgckm@users.noreply.github.com>
8 of 9 tasks
|
补充实机结论:维护包 用厂商 App 抓了一份 HCI,真实认证是两轮六个包: 已在分支 |
7 of 9 tasks
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.
范围
基于 Jgckm 的 #129 保留原提交
377e5819,整理戴灵 T3 的核心系统接入。当前主线 3.3.0 已同步;本维护版尚未合入,原 PR 保持开放。保留认证、左右耳电量、降噪/关闭/通透和游戏模式。每项能力分别由合法设备状态开放。游戏开关复用现有原生三态扩展,保留标题、更多设置和容器尺寸;详细配置继续交给戴灵耳机 App。
维护调整
02 pass;保留 ACK 后同次读取的 RCSP 数据,缓冲固定有界。EF结束字节;状态解析限定已记录的命令、成功状态与完整 LTV,不扫描任意载荷片段。验证
本地编译与定向测试通过,覆盖认证、粘包/分片、错误结束标记、畸形属性、能力独立开放、旧电量清理、写后回读、会话重置、控制权禁用和序列化。三组认证向量与固定官方 SDK 提交交叉核对一致;Markdown、站内链接和 33 项控制 App 目录一致性检查通过。
38 项定向测试通过;完整 CI与官方签名构建均通过。最终维护提交
f7c9d38a989946e1d05f978e3a371b8574197f98,尚无实机复核,保持 Draft。下载最终签名包(登录 GitHub 下载 ZIP,解压 APK)。APK SHA-256:
271e0281ec331df8430db85785db4a36c34d39dacdc5e176cd21b501313734d0;已验证正式签名、文件校验和及随包 Apache-2.0 许可。实机复核边界
EF,请确认完整流与帧定义一致。协议说明见
docs/dailing-t3-protocol.md。保留标准音量、流转和系统电量回退,不扩大其他型号的匹配、传输或 Hook 范围。