Index: sources/canbus/messagedispatcher.cpp =================================================================== diff -u -r0a2ca0373a422201d5316df8fb891ef38799e3f9 -rd2035a8728794afeefaa244bf8d1597926d945f5 --- sources/canbus/messagedispatcher.cpp (.../messagedispatcher.cpp) (revision 0a2ca0373a422201d5316df8fb891ef38799e3f9) +++ sources/canbus/messagedispatcher.cpp (.../messagedispatcher.cpp) (revision d2035a8728794afeefaa244bf8d1597926d945f5) @@ -1,15 +1,16 @@ /*! - * + * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * \copyright - * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, - * IN PART OR IN WHOLE, - * WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. - * - * \file messagepacker.cpp - * \date 12/9/2019 - * \author Behrouz NematiPour - * + * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN + * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. + * + * \file messagedispatcher.cpp + * \author (last) Peter Lucia + * \date (last) 29-Jun-2020 + * \author (original) Behrouz NematiPour + * \date (original) 09-Dec-2019 + * */ #include "messagedispatcher.h" @@ -196,9 +197,7 @@ void MessageDispatcher::onFailedTransmit(Sequence vSequence) { // coco begin validated: Is a placeholder and has not beed implemented yet - Q_UNUSED(vSequence) - // may requires showing an alarm screen - // but we don't know yet. + emit didFailedTransmit(vSequence); } // coco end @@ -381,7 +380,9 @@ bool ok = false; QVariantList mData; Sequence mSequence = vMessage.sequence; + // coco begin validated: Has been validated manually. If MessageInterpreter::interpretMessage fails, this also returns false if (_interpreter.interpretMessage(vMessage, mData)) { + // coco end ok = true; GuiActionType mActionId = vMessage.actionId; switch (mActionId) {