feat: support JW_ device ID format in QR scan and BLE matching

- parseDeviceId accepts hex with spaces (e.g. "672B6D5A 4DCD861")
- BLE scan does exact match on "JW_<device_id>" when target is known
- Manual input placeholder updated to show new format
这个提交包含在:
Guoguo
2026-06-05 19:21:43 -07:00
父节点 9882d19b54
当前提交 810a3a19a5
修改 3 个文件,包含 16 行新增7 行删除
@@ -52,6 +52,7 @@ Page({
}, SCAN_TIMEOUT)
ble.startScan({
targetDeviceId: self.data.deviceId,
onFound: function (device) {
clearTimeout(self._scanTimer)
self.setData({ state: 'connecting' })