From 14d6fa7ccb12c240c1db5d491e8df23ae7b165a6 Mon Sep 17 00:00:00 2001 From: fengerli <528575642@qq.com> Date: Fri, 21 Nov 2025 18:47:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=BA=E5=88=86=E5=9B=BE?= =?UTF-8?q?=E7=89=87=EF=BC=8C=E5=8A=A8=E7=94=BB=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/6155/deviceDetail.vue | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pages/6155/deviceDetail.vue b/pages/6155/deviceDetail.vue index f9a4375..58bfff9 100644 --- a/pages/6155/deviceDetail.vue +++ b/pages/6155/deviceDetail.vue @@ -77,7 +77,7 @@ 泛光模式 - - + + @@ -422,15 +422,11 @@ } switch (this.formData.mode) { case 0: - - txt = "强光模式"; - break; case 1: txt = "弱光模式"; break; - case 2: txt = "爆闪模式"; break; @@ -773,7 +769,7 @@ } - //FA 09 0C 84 FB 09 00 [01~08] + 3200字节 +FF 数据格式 + //FA 09 0C 84 FE 09 00 [01~08] + 3200字节 +FF 数据格式 var buffer = new ArrayBuffer(bufferSize); var dataView = new DataView(buffer); if (childPacket == 1) { @@ -781,7 +777,7 @@ dataView.setUint8(1, 0x09); // 帧头 dataView.setUint8(2, 0x0C); // 帧头 dataView.setUint8(3, 0x84); // 帧头 - dataView.setUint8(4, 0xFD); // 帧头 + dataView.setUint8(4, 0xFE); // 帧头 dataView.setUint8(5, 0x09); dataView.setUint8(6, 0x00); // 帧头 dataView.setUint8(7, currentPacket); //包序号 @@ -1581,7 +1577,7 @@ dataView.setUint8(bufferSize - 1, 0xFF); - let inteval = 100; + let inteval = 200; //parseInt(this.inteval ? this.inteval : 80); //console.log("inteval=", inteval) ble.sendData(f.deviceId, buffer, f.writeServiceId, f