更新 bluetooth_demo_L08/pages/index/index.js

This commit is contained in:
qiaocl 2026-03-17 09:47:27 +08:00
parent 8cb6f38f9e
commit 411b92d9b9
1 changed files with 5 additions and 5 deletions

View File

@ -291,11 +291,11 @@ Page({
}) })
} }
} }
if (typeInfo == "05") { // if (typeInfo == "05") {
let mcu = payload.substring(4, 6) // let mcu = payload.substring(4, 6)
let imp = parseInt(payload.substring(6, 14), 16) // let imp = parseInt(payload.substring(6, 14), 16)
console.log("阻抗类型:", payload, type, typeInfo, mcu,imp) //阻抗模式 // console.log("阻抗类型:", payload, type, typeInfo, mcu,imp) //阻抗模式
} // }
} }
if (type == "0f") { if (type == "0f") {
that.setData({ that.setData({