Index: sources/cloudsync/CloudSyncController.cpp =================================================================== diff -u -rf57ac5a2760518380bc876f5eb12e7ec0d07c066 -r928a1ed5d70358fc00c49df45725f989d16c370e --- sources/cloudsync/CloudSyncController.cpp (.../CloudSyncController.cpp) (revision f57ac5a2760518380bc876f5eb12e7ec0d07c066) +++ sources/cloudsync/CloudSyncController.cpp (.../CloudSyncController.cpp) (revision 928a1ed5d70358fc00c49df45725f989d16c370e) @@ -148,7 +148,7 @@ // a simple touch or a check-in message? testWatchBuffDate(); testDeviceInfoWait(); - qDebug() << " ~~~~~~~~~~ " << ""; + testPendingTxReports(); } /*! @@ -706,6 +706,13 @@ return ok; } +void CloudSyncController::testPendingTxReports() +{ + QFileInfoList fileInfos; + fileInfos = Storage::FileHandler::find(_TreatmentLog.logPathPending(), {"*.log"}); + qDebug() << fileInfos; +} + /*! * \brief CloudSyncController::doResetFactory * \details does the reset factory Index: sources/cloudsync/CloudSyncController.h =================================================================== diff -u -rf57ac5a2760518380bc876f5eb12e7ec0d07c066 -r928a1ed5d70358fc00c49df45725f989d16c370e --- sources/cloudsync/CloudSyncController.h (.../CloudSyncController.h) (revision f57ac5a2760518380bc876f5eb12e7ec0d07c066) +++ sources/cloudsync/CloudSyncController.h (.../CloudSyncController.h) (revision 928a1ed5d70358fc00c49df45725f989d16c370e) @@ -260,6 +260,9 @@ bool saveDeviceState (const QVariantList &vData); bool sendDeviceState (); // eMessageID_DeviceState + // Tx Report + void testPendingTxReports (); // eMessageID_TxReport + // reset Factory bool doResetFactory (); // eMessageID_ResetFactory bool sendResetFactory (); // eMessageID_ResetFactory Index: sources/storage/TreatmentLog.h =================================================================== diff -u -r6210028a421d6259963bf172efbe4f23abfecf2f -r928a1ed5d70358fc00c49df45725f989d16c370e --- sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision 6210028a421d6259963bf172efbe4f23abfecf2f) +++ sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision 928a1ed5d70358fc00c49df45725f989d16c370e) @@ -230,6 +230,9 @@ void append(const TreatmentLogAlarmData &vData); void append(const TreatmentLogEventData &vData); + QString logPath () { return _treatmentLogPath ;} + QString logPathPending () { return _treatmentLogPath_Pending ;} + private slots: void onLogPathSet(Logger::LogType vLogType, const QString &vLogPath); void onSave ();