Index: sources/canbus/MessageGlobals.h =================================================================== diff -u -r7b34653589ba6e4f4705fb4026fcd9319c41c352 -r200398eaf784dd2965023151086ba1939d2eb746 --- sources/canbus/MessageGlobals.h (.../MessageGlobals.h) (revision 7b34653589ba6e4f4705fb4026fcd9319c41c352) +++ sources/canbus/MessageGlobals.h (.../MessageGlobals.h) (revision 200398eaf784dd2965023151086ba1939d2eb746) @@ -44,6 +44,10 @@ * */ const QHash payloadLen { + // FixMe: This has to be move to each model. + // it has been observed that these length can only check the payload length is correct. + // but if the model still needs more the model will fail. + // so it is better to keep them next to each other to make sure they are in sync. // ---- {Gui::GuiActionType::ID_PowerOff , 1 }, {Gui::GuiActionType::ID_ShuttingDown , 0 },