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