diff --git a/miniprogram/page/API/pages/bluetooth/bluetooth.js b/miniprogram/page/API/pages/bluetooth/bluetooth.js index d3733901..3125a797 100644 --- a/miniprogram/page/API/pages/bluetooth/bluetooth.js +++ b/miniprogram/page/API/pages/bluetooth/bluetooth.js @@ -219,7 +219,7 @@ Page({ dataView.setUint8(0, Math.random() * 255 | 0) wx.writeBLECharacteristicValue({ deviceId: this._deviceId, - serviceId: this._deviceId, + serviceId: this._serviceId, characteristicId: this._characteristicId, value: buffer, })