Fix capacitor BLE slow transfer

This commit is contained in:
MultiMote 2024-11-17 10:53:52 +03:00
parent de886b1ebd
commit e3fb0fafc2

@ -149,7 +149,7 @@ export class NiimbotCapacitorBleClient extends NiimbotAbstractClient {
await Utils.sleep(this.packetIntervalMs);
const dw = new DataView(data.buffer, data.byteOffset, data.byteLength);
await BleClient.write(this.deviceId!, this.serviceUUID!, this.characteristicUUID!, dw);
await BleClient.writeWithoutResponse(this.deviceId!, this.serviceUUID!, this.characteristicUUID!, dw);
this.emit("rawpacketsent", new RawPacketSentEvent(data));
};