Index: sources/canbus/MessageInterpreter.h =================================================================== diff -u -rfc329c788fe9453983072bee937ccbc95b4ed6e4 -rcbb246d6efa242f927f88ac5da518dedb2d63320 --- sources/canbus/MessageInterpreter.h (.../MessageInterpreter.h) (revision fc329c788fe9453983072bee937ccbc95b4ed6e4) +++ sources/canbus/MessageInterpreter.h (.../MessageInterpreter.h) (revision cbb246d6efa242f927f88ac5da518dedb2d63320) @@ -52,12 +52,7 @@ // list of the unhandled messages with their definition to be able to log them like the ones which are not unhandled and have models. // it is the quickest to add them to support the V&V team. - QMap _messageList { - // /*QString("0x6A00").toUInt(0,16)*/ - { 0x6A00 , { "FluidLeak","U32" }}, - { 0x6C00 , { "BloodLeak","U32","U32" }}, - { 0x4900 , { "TxStopPrg","U32","U32" }}, - }; + QMap _messageList {}; bool isType (const Message &vMessage, Gui::GuiActionType vType) const; bool isPayloadLenValid (const Message &vMessage, Gui::GuiActionType vType) const; @@ -90,6 +85,8 @@ bool interpretMessage(const Message &vMessage, QVariantList &vData) __attribute_warn_unused_result__; bool interpretMessage(const Gui::GuiActionType &vActionId, const QVariantList &vData, QByteArray &vPayload, Can_Id &vCanId) __attribute_warn_unused_result__; + void updateUnhandledMessages(); + static Can_Source identifySource (Can_Id vCanId, QString *vText = nullptr); static Can_Id identifyDestination(Can_Id vCanId, QString *vText = nullptr);