Index: sources/canbus/FrameInterface.cpp =================================================================== diff -u -r4a67c01045f365be38f1a12a8572c0070d343e1e -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/canbus/FrameInterface.cpp (.../FrameInterface.cpp) (revision 4a67c01045f365be38f1a12a8572c0070d343e1e) +++ sources/canbus/FrameInterface.cpp (.../FrameInterface.cpp) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2020-2022 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-2024 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 FrameInterface.cpp * \author (last) Behrouz NematiPour - * \date (last) 17-Feb-2022 + * \date (last) 30-Jul-2023 * \author (original) Behrouz NematiPour * \date (original) 26-Aug-2020 * @@ -178,13 +178,13 @@ case eDG_Dialin: case eDialin_UI: case eUI_Dialin: - if ( gEnableDialinUnhandled ) { - channelGroup = ChannelGroup::eChannel_Listens; - } else { + if ( gDisableDialinUnhandled ) { channelGroup = ChannelGroup::eChannel_Ignores; + } else { + channelGroup = ChannelGroup::eChannel_Listens; } - debugChannel = ! gEnableDialinUnhandled; // if debug channel is true, the raw can message in logged in the service log. - ok = gEnableDialinUnhandled; // if ok is true then it will be interpreted as unhandled messages. + debugChannel = gDisableDialinUnhandled; // if debug channel is true, the raw can message in logged in the service log. + ok = ! gDisableDialinUnhandled; // if ok is true then it will be interpreted as unhandled messages. break; case eChlid_HD_DG : @@ -357,6 +357,7 @@ void FrameInterface::appendHead(Can_Id vCan_Id, const QByteArray &vData) { // disabled coco begin validated: has been manually tested by sending over 4000 frames and not received by any other node. + //DEBUG qDebug() << "F " << _txFrameList.count(); if (_txFrameList.count() >= _txFrameList_Max) { static quint32 i = 0; if ( i % 60 == 0 ) { // log only for the first time and each minute.