Index: sources/canbus/messagedispatcher.h =================================================================== diff -u -r227f28b202f81ab3dd04a81868697025ccab6220 -re58b907a69d4ca7daa77d69791593b886d1b80e8 --- sources/canbus/messagedispatcher.h (.../messagedispatcher.h) (revision 227f28b202f81ab3dd04a81868697025ccab6220) +++ sources/canbus/messagedispatcher.h (.../messagedispatcher.h) (revision e58b907a69d4ca7daa77d69791593b886d1b80e8) @@ -115,6 +115,8 @@ void actionTransmit(GuiActionType vActionId, const QVariantList &vData); + bool buildMessage (Can_Id vCanId, const QByteArray &vPayload); + bool interpretMessage(const Message &vMessage); signals: /*! * \brief didActionReceive @@ -125,7 +127,23 @@ * \param vData - The data has been collected from CANBUS frame(s) */ void didActionReceive(GuiActionType vAction , const QVariantList &vData); + /*! + * \brief didActionReceive + * \details Emits when a message requires + * \param vData + */ + void didActionReceive(const Message &vMessage); + + /** + * @brief didAcknowReceive + * @details if the type the received message id is and Acknow this signal will be emitted + * @param vData - the data of the Acknow message which is the message Sequence + * which we got the Ack for. + */ + void didAcknowReceive(const QVariantList &vData); + + /*! * \brief didFrameTransmit * \details When a message is requested to be transmitted this signal is emitted * on successful interpretation and building the message into frames