Skip to content

Commit 9f56575

Browse files
committed
修复蓝牙打印serviceId写错
1 parent d9a62db commit 9f56575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

miniprogram/page/API/pages/bluetooth/bluetooth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Page({
219219
dataView.setUint8(0, Math.random() * 255 | 0)
220220
wx.writeBLECharacteristicValue({
221221
deviceId: this._deviceId,
222-
serviceId: this._deviceId,
222+
serviceId: this._serviceId,
223223
characteristicId: this._characteristicId,
224224
value: buffer,
225225
})

0 commit comments

Comments
 (0)