Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

ReadyRead not triggered when only one byte is written to the other end



  • Hi All,
    i have many issues with QT serial port, i am writing only one byte to the other end( a pic microcontroller) and i programmed it so it writes back what it received. However, when i only write one byte i don't have any response from the microcontroller(ReadyRead not triggered) but if i write more than 2 bytes i receive back one of the bytes. and if it is more than 2 bytes i receive one good byte and the rest is garbage values but also i don't receive the same number of bytes i have sent... Do you please have any suggestions how to proceed and what is the issue
    (FYI: not for sure a microcontroller issue, i have done the same thing with realterm and i am receiving the same bytes and the same number of bytes...)

    thank you in advance for any suggestions..



  • @DiaaQTdev said in ReadyRead not triggered when only one byte is written to the other end:

    and i programmed it so it writes back what it received.

    Can you show your code?


Log in to reply