Index: sources/device/DeviceView.h =================================================================== diff -u -r5a4a26f106ba03759e3a89b19690fa678f8a3aca -r9ebd78edd3127e38ee92b2e870430f12731244bc --- sources/device/DeviceView.h (.../DeviceView.h) (revision 5a4a26f106ba03759e3a89b19690fa678f8a3aca) +++ sources/device/DeviceView.h (.../DeviceView.h) (revision 9ebd78edd3127e38ee92b2e870430f12731244bc) @@ -59,5 +59,13 @@ PROPERTY ( bool , decommissionEnabled , true ) VIEW_DEC_CLASS(VDevice) + +private: + bool isCompleteResponse(Model::MDeviceResponseBase::Data vData) { + // Either the script exited successfully or the script failed and the reason is provided + // There are situaltoins that the script is using the attribute response to update the UI + // but it is not the final/completed response + return vData.mAccepted || (!vData.mAccepted && vData.mReason != 0 ); + } }; }