refactor: remove 17-byte FFE4 and 33-byte FFE1 legacy compat code

- Remove parseVendorStatus 17-byte branch (FFE4 is now 19 bytes)
- Remove parseVendorStatus 33-byte branch (FFE1 is now 34 bytes)
- Remove buildVendorCommand33 deprecated alias
- Remove fitting/run_state !== -1 guards in connection.js
- Update commands.js to use buildVendorCommand directly
这个提交包含在:
Guoguo
2026-06-24 05:13:36 -07:00
父节点 29975c6043
当前提交 ec5b8584ec
修改 4 个文件,包含 3 行新增53 行删除
+1 -1
查看文件
@@ -151,7 +151,7 @@ function readDeviceInfo() {
function setParams(options) {
if (protocol.PROTOCOL_MODE === 'vendor_33') {
return writeRawCommand(protocol.buildVendorCommand33(options || {}))
return writeRawCommand(protocol.buildVendorCommand(options || {}))
}
var regionMask = options.region_mask || protocol.REGION.FULL_FACE