Probably a simple state machine with transitions triggered by readyRead(), bytesWritten(), and errorOccurred() from your QSerialPort, and the end of file indication.
A basic QFile object and the QIODevice interface should suffice.How to handle file operation I mean read()/write API's or also saw QDataStream to perform file operation?
That depends on the size of the files concerned.Should I read complete binary file first and store it in big buffer or directly from the file?
Bookmarks