From 1d88787c92c72398e72aa1415308f08318a5835c Mon Sep 17 00:00:00 2001 From: liamcottle Date: Mon, 10 Mar 2025 02:53:00 +1300 Subject: [PATCH] quiet logs --- index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index f363153..ddd46d0 100644 --- a/index.html +++ b/index.html @@ -200,15 +200,15 @@ this.connection = await SerialConnection.open(); this.connection.on("connected", () => this.onConnected()); this.connection.on("disconnected", () => this.onDisconnected()); - this.connection.on("tx", (data) => console.log("tx", data)); - this.connection.on("rx", (data) => console.log("rx", data)); + // this.connection.on("tx", (data) => console.log("tx", data)); + // this.connection.on("rx", (data) => console.log("rx", data)); }, async askForBleDevice() { this.connection = await BleConnection.open(); this.connection.on("connected", () => this.onConnected()); this.connection.on("disconnected", () => this.onDisconnected()); - this.connection.on("tx", (data) => console.log("tx", data)); - this.connection.on("rx", (data) => console.log("rx", data)); + // this.connection.on("tx", (data) => console.log("tx", data)); + // this.connection.on("rx", (data) => console.log("rx", data)); }, async disconnect() { if(this.connection){ @@ -250,10 +250,10 @@ console.log("ExportContact", event); }); - this.connection.on(Constants.PushCodes.LogRxData, async (event) => { - console.log("LogRxData", event) - console.log(this.bytesToHex(event.raw)); - }); + // this.connection.on(Constants.PushCodes.LogRxData, async (event) => { + // console.log("LogRxData", event) + // console.log(this.bytesToHex(event.raw)); + // }); }, onDisconnected() {