feat: upgrade FFE1 command to 34 bytes with control byte

Per 协议简述(3): Byte33 is now control instruction (0=IDLE, 1=scan,
2=treat), Byte34 is XOR checksum. Backward compat with 33-byte
read-back preserved. All command sites updated with correct control:
- auto-scan: control=0x01 (scan mode)
- treatment-setup: control=0x02 (treat mode)
- stopTreatment: control=0x00 (IDLE)
这个提交包含在:
Guoguo
2026-06-12 09:00:01 -07:00
父节点 69621fd2b6
当前提交 36f12e098e
修改 5 个文件,包含 50 行新增6 行删除
+2 -1
查看文件
@@ -67,7 +67,8 @@ Page({
region_mask: 0x1F,
wavelength: 2,
brightness: SCAN_BRIGHTNESS,
hold_time: 10
hold_time: 10,
control: 0x01
}).then(function () {
console.log('[SCAN] 扫描指令发送成功,等待ADC回传...')
}).catch(function (err) {