To have both order from the GCS and drone messages in logs
So that it's possible to analyze the complete exchange between QGC and the
drone.
- Add a signal emitted by writeBytes of each LinkInterface
- Connect this signal to MAVLinkProtocol::logSentBytes in LinkManager
- MAVLinkProtocol::logSentBytes will parse and log messages sent from
QGC
// If there's an error logging data, raise an alert and stop logging.
emitprotocolStatusMessage(tr("MAVLink Protocol"),tr("MAVLink Logging failed. Could not write to file %1, logging disabled.").arg(_tempLogFile.fileName()));