Repository navigation
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.
Owner
|
@Jgckm 谢谢提供认证、初始化和实机协议资料。我保留了你的原提交,按项目的核心集成范围整理了一份独立维护版:#131。原 PR 继续保留,维护版等待你对最终包复核后再合入。 下载官方签名维护包 f7c9d38a(登录 GitHub,下载 ZIP 后解压 APK)。签名与正式版一致,文件名为 这次保留设备认证、左右耳电量、三态控制和游戏模式,主要整理了以下部分:
本地 38 项定向测试、完整 CI和官方签名构建均通过。接下来主要请确认这份维护包:
原 PR 的部分接收示例未列出 覆盖安装后重载蓝牙与 MiLink 作用域,开启 HyperEars“调试 → 详细日志”,在 LSPosed 关闭“禁用详细日志”、开启“输出日志到守护进程”,复现后选择“导出日志”。不用再制作独立测试程序。 |
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.
Summary
新增戴灵 T3 具体型号适配:杰理 RCSP 设备认证 + 初始化、左右耳组件电量、三态噪声控制,
以及三项型号专属控制(降噪深度三档、游戏模式、双设备开关)。
原因:T3 的厂商 App 独占 SPP 私有通道,HyperEars 需要同源协议才能接管电池/降噪等接入能力。
卡片扩展复用 MiLink 原生控件:清除装饰性「噪声控制」标题放入两个原生开关,降噪激活时
占用尾部「更多设置」槽位显示深度三档行,卡片保持原生高度、不滚动。
Scope and impact
integration:新增DailingT3Adapter、DailingAncDepth(特征/请求),注册杰理品牌组;新增「戴灵耳机」控制 App。
protocol/jieli:RCSP 帧编解码、btcon 认证、ADV 信息与自定义命令。system-module:卡片扩展、深度档位持久化(蓝牙进程数据目录)、控制 App 作用域同步。共享代码改动保持最小:请求序列化注册 +1 行、适配器注册 +2 行、卡片注册 +1 行、
宿主扩展点由
bind改为open(1 词)、会话注入/持久化 +34 行。详细设备配置仍在厂商 App 内,HyperEars 只提供 MiLink 接入所需控制。
This change follows the project scope; detailed configuration remains in vendor control apps
Evidence
帧格式、初始化序列、设备信息、电量、三态噪声、深度、游戏模式、双设备。
jl_auth_2.0.0.js),已用 SDK 向量逐字节校验;出处登记于
THIRD_PARTY_NOTICES.md。docs/dailing-t3-protocol.md。Validation
testDebugUnitTest:system-module:lintRelease:system-module:assembleRelease本 PR 为新型号,不适用
scope.list、测试与docs/control-apps.md已同步实机确认:识别、RCSP 认证、初始化、左右耳电量、三态噪声读写与卡片回读、游戏模式
(切换后音频正常、延迟生效)、双设备开关读写与状态跟随。
Risks and rollback
失效时扩展跳过绑定,不影响原生三态与电量。