Quote Originally Posted by anita.niharika@gmail.com View Post
How can I implement this loop mechanism in the serial sender part?
Probably a simple state machine with transitions triggered by readyRead(), bytesWritten(), and errorOccurred() from your QSerialPort, and the end of file indication.
How to handle file operation I mean read()/write API's or also saw QDataStream to perform file operation?
A basic QFile object and the QIODevice interface should suffice.
Should I read complete binary file first and store it in big buffer or directly from the file?
That depends on the size of the files concerned.