Help QSerialPort

  • I have a question: I use 9-pin COM port, I want PC1 just send only, PC2 only receive. Therefore I connect Tx of COM1 (PC1) to Rx of COM2 (PC2). In my file.txt there is MD5 to check PC2, if the received PC2 file is match with the original file. if the file is not match, how to PC1 be aware and send it again (without the connect Tx of PC2 to Rx of PC1)

  • Lifetime Qt Champion


    Not possible if that is the only communication channel.

    The only chance you have is to generate redundancy on the transmitter side and use that redundancy to re-generate the correct data on receiver side. Satellite TV uses this mechanism, for example.


  • Thanks for your answer.

Log in to reply