fix(protocol): RXTX 命令通道切换到 331f(实机证据:1f1f 仅ACK不执行)+ 设备ID反解参数序校正(实机向量),150 测试全绿

This commit is contained in:
agent committed 2026-07-28 16:22:46 +00:00
1 parent 4db823f207
commit aebe0ad317
6 files changed
+33 -18

No files matched your search

+2 -1
View File
@@ -99,7 +99,8 @@ async def test_write_channels_and_hex(server):
await t.write_rxtx(bytes([0xE2]), response=False)
w = [r for r in s.received if r["op"] == "write"]
assert w[0]["char"] == "epd" and w[0]["data"] == "03ff"
assert w[1]["char"] == "rxtx" and w[1]["data"] == "e2" and w[1]["response"] is False
# RXTX 写走 alt(331f) 活通道(实机证据)
assert w[1]["char"] == "alt" and w[1]["data"] == "e2" and w[1]["response"] is False
@pytest.mark.asyncio