Hi all,
I'm using the class QSerialDevice in order to send datas over the serial port.
I compiled this class and it works. I write a word and it sends over the serial port.

Now I need to transfer a binary file.
Inside the QSerialDevice class there are these functions:
qint64 write(const char *data, qint64 maxSize);
qint64 write(const char *data);
qint64 write(const QByteArray &byteArray);

Please can you help me to send whole binary file and send the datas using one of these functions and Qfile?
I think it is easy but I'm not expert with data streams.

Thank you in advance

ilpaso