Index: sources/device/DeviceController.h =================================================================== diff -u -ra2a273600d25e863214833ead3324a63fb4759f1 -rdeaef8b5bdfe9be7293e63fb6ac256a9ce3cd3f4 --- sources/device/DeviceController.h (.../DeviceController.h) (revision a2a273600d25e863214833ead3324a63fb4759f1) +++ sources/device/DeviceController.h (.../DeviceController.h) (revision deaef8b5bdfe9be7293e63fb6ac256a9ce3cd3f4) @@ -205,6 +205,7 @@ const int _pendingInterval = 60 ; // 1m int _pendingCounter = 0 ; // QString _pendingLog = ""; + QString _interface = "wlan0"; const qint8 _minRequiredAvailableSpacePercent = 10; @@ -221,6 +222,7 @@ bool _hasThread = false; bool _hasSalt = false; + bool _wifiAvailable = false; //TODO: all of these should use the TimesProcess (instead of QProcess) // to be able to kill the process automatically after the set time out. @@ -283,6 +285,9 @@ void findPendingLogs(); + void checkWiFi(); + void checkWifiConnectionReady(); + bool logBackup(const QString &vFileName); bool logUpload(const QString &vFileName); @@ -431,6 +436,14 @@ */ void didLogUpload ( bool vPass, const QString &vFileName ); + /*! + * \brief didWiFiIP + * \details notifies UI when WiFi netowrk data has changed + * \param vData - WiFi data to displayh on UI + + */ + void didWiFiIP ( const QString &vData ); + private: // ----- USB void usbCheck ();