Index: sources/ApplicationController.cpp =================================================================== diff -u -rc97b99199d1be46f7cfa99908308ce98c8578285 -r5a9b7ff46df9cecc258f7cb18019a51bca76bce3 --- sources/ApplicationController.cpp (.../ApplicationController.cpp) (revision c97b99199d1be46f7cfa99908308ce98c8578285) +++ sources/ApplicationController.cpp (.../ApplicationController.cpp) (revision 5a9b7ff46df9cecc258f7cb18019a51bca76bce3) @@ -89,6 +89,8 @@ */ void ApplicationController::initConnections() { + connect(&_post , SIGNAL(didOSVersion (bool)), + this , SLOT( onOSVersion (bool))); connect(&_post , SIGNAL( didEthernet (bool)), this , SLOT(onPOSTEthernet (bool))); connect(&_post , SIGNAL( didWiFi (bool)), @@ -564,12 +566,23 @@ } /*! + * \brief ApplicationController::onOSVersion + * \details Notifies the OS Version POST status + */ +void ApplicationController::onOSVersion(bool vPass) { + // sending the data first, therefore in the slot for the didPOST we have the vPass and the Data to decide to use the data or not. + emit didPOSTOSVersionData (_post.osVersion()); + emit didPOSTOSVersion (vPass); +} + +/*! * \brief ApplicationController::onPOSTEthernet * \details sends the Ethernet mac to device controller */ void ApplicationController::onPOSTEthernet(bool vPass) { - emit didPOSTEthernet (vPass); + // sending the data first, therefore in the slot for the didPOST we have the vPass and the Data to decide to use the data or not. emit didPOSTEthernetData(_post.macEthernet()); + emit didPOSTEthernet (vPass); } /*! @@ -580,8 +593,9 @@ if (vPass) { _WifiInterface.doStart(); } - emit didPOSTWireless (vPass); + // sending the data first, therefore in the slot for the didPOST we have the vPass and the Data to decide to use the data or not. emit didPOSTWirelessData(_post.macWireless()); + emit didPOSTWireless (vPass); //DEBUG qDebug() << " ---------- " << _post.macWireless(); } @@ -598,18 +612,19 @@ else { _BluetoothInterface.doNotifyStatePOSTError(); } - emit didPOSTBluetooth (vPass); + // sending the data first, therefore in the slot for the didPOST we have the vPass and the Data to decide to use the data or not. emit didPOSTBluetoothData (_post.macBluetooth()); + emit didPOSTBluetooth (vPass); } /*! * \brief ApplicationController::onPOSTCloudSync * \details Notifies the CloudSync POST status */ -void ApplicationController::onPOSTCloudSync(bool vPass) -{ +void ApplicationController::onPOSTCloudSync(bool vPass) { + // sending the data first, therefore in the slot for the didPOST we have the vPass and the Data to decide to use the data or not. + emit didPOSTCloudSyncData("" /*_post.netCloudSync*/); // not needed and POST is not getting it yet. [ApplicationController => DeviceController] emit didPOSTCloudSync (vPass); - emit didPOSTCloudSyncData("" /*_post.netCloudSync*/); // not needed and post is not getting it yet.[ApplicationController => DeviceController] } /*!