Hi everyone,
i have a probleme while recieving datas in a QByteArray when i use readAll from QSerialPort, i recieve datas like that when i use qDebug << datas.size() << datas;
(datas is a QByteArray)
512 "1101011111110100000101000001010000010100000101000 00101000001010000010100000101000001010000010100000 10100000101000001010000010100000101000001010000010 10000010100000101000001010000010100000101000001010 00001010000010100000101000001010000010100000101000 00101000001010000010100000101000001010000010100000 10100000101000001010000010100000101000001010000010 10000010100000101000001010000010100000101000001010 00001010000010100000101000001010000010100000101000 00101000001010000010100000101000001010000010100000 1010000010100"
6 "0001\r\n"
after recieving the frame i extract the different information, but it doesn't come entirely so the data extraction is not correct, it works only if the frame is less than 512 bits


Reply With Quote

Bookmarks