chenyc
2025-12-09 a7fb2f5eab3e548f040004c1019f1c994eb91ad4
src/samples/deviceApi/mbp7000qy.ts
@@ -28,7 +28,7 @@
        console.log('端口异常端口链接断开')
        console.log(err)
    })
    const parser = serialport.pipe(new InterByteTimeoutParser({maxBufferSize:20}))
    const parser = serialport.pipe(new InterByteTimeoutParser({interval: 500 ,maxBufferSize:20}))
    // parser.on('ready', () => console.log('the ready byte sequence has been received'))
    
    parser.on('data',(value: string | any[]) =>{