From ad7402f04bfc8e0b49c4765d26aa1e34fa317b70 Mon Sep 17 00:00:00 2001 From: chopster44 Date: Mon, 1 Dec 2025 17:49:19 +0000 Subject: [PATCH] without responses again --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 0ee51c3..16b567e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -211,7 +211,7 @@ export default class Updater { let packet = this.file.slice(this._fileProgress, this._fileProgress+this._packetSize); this._fileProgress += this._packetSize; return new Promise((resolve, reject) => { - this.bleObject.write(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, + this.bleObject.writeWithoutResponse(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => { resolve(true); },