From 852fcf67f4bf03c4bf3a8625ff749e17b3e457ec Mon Sep 17 00:00:00 2001 From: chopster44 Date: Mon, 1 Dec 2025 17:26:43 +0000 Subject: [PATCH] going back to writing with response due to transmission issues --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 16b567e..0ee51c3 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.writeWithoutResponse(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, + this.bleObject.write(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => { resolve(true); },