zhouhuandev/SerialPortKit

Demo中发送数据一直提示超时,这个什么情况呀

Closed this issue · 1 comments

Supopo commented
Demo中发送数据一直提示超时,这个什么情况呀

建议使用阻塞方式尝试。

    /**
     * 是否阻塞方式读取数据
     * 注:大批量数据建议阻塞方式读取数据,isBlockingReadData 则建议为 true
     */
    val isBlockingReadData: Boolean = false,