Commit 6bc6137f authored by martin hou's avatar martin hou

feat: 调整接收缓冲区大写提高传输速度

parent 77655e7f
...@@ -103,7 +103,7 @@ function Jensen(log, conn) { ...@@ -103,7 +103,7 @@ function Jensen(log, conn) {
this.onreceive = null; this.onreceive = null;
this.onerror = null; this.onerror = null;
const RECV_BUFF_SIZE = 8192; const RECV_BUFF_SIZE = 512000;
const _check_conn_status = () => { const _check_conn_status = () => {
if (device?.opened === false) { if (device?.opened === false) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment