While reading from the port using the function readdata of qextserialport
class data loss happens
For example serialobj->bytesavailable
returns 9 bytes but while serialobj->readData
returns only two characters from pic microcontroller
While reading from the port using the function readdata of qextserialport
class data loss happens
For example serialobj->bytesavailable
returns 9 bytes but while serialobj->readData
returns only two characters from pic microcontroller
Copyright © 2021 Jogjafile Inc.
Judging by the comments, you're trying to print out the received bytes to the console. Obviously, some of the bytes you attempt to print out are not printable and produce no visual output.
Perhaps you want to see the values of the bytes in hexadecimal base: