From c6d958d2eafde82fdfaae7f6e82570a2c6b4859a Mon Sep 17 00:00:00 2001 From: Guoguo Date: Wed, 24 Jun 2026 02:31:23 -0700 Subject: [PATCH] debug: log FFE4 frame length and type on receive --- miniprogram/services/ble/connection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/miniprogram/services/ble/connection.js b/miniprogram/services/ble/connection.js index 0ef5ccf..a9979ef 100644 --- a/miniprogram/services/ble/connection.js +++ b/miniprogram/services/ble/connection.js @@ -84,6 +84,7 @@ function handleNotification(frame) { function handleValueChange(res) { if (protocol.PROTOCOL_MODE === 'vendor_33') { var parsed = protocol.parseVendorStatus(res.value) + console.log('[BLE] FFE4 收到', protocol.bufferToBytes(res.value).length + '字节', parsed.type, '| raw:', parsed.raw_hex) emit('vendor_raw', parsed) if (parsed.type === 'heartbeat') {