Index: sources/canbus/MessageDispatcher.cpp =================================================================== diff -u -r38ae7b93679d05a54fc460dac68891562d7da72d -r99cf0dc3002c0395f0d10d1d4fb34e2052449fd6 --- sources/canbus/MessageDispatcher.cpp (.../MessageDispatcher.cpp) (revision 38ae7b93679d05a54fc460dac68891562d7da72d) +++ sources/canbus/MessageDispatcher.cpp (.../MessageDispatcher.cpp) (revision 99cf0dc3002c0395f0d10d1d4fb34e2052449fd6) @@ -1056,6 +1056,14 @@ // disabled coco end /*! + * \brief Get the sequence number, used by SW update to enter boot loader. + * \return sequence number value. + */ +uint16_t MessageDispatcher::getSequenceNumber() { + return (uint16_t)txCount(); +} + +/*! * \brief MessageDispatcher::txCount * \details count transmitted messages up the size of the Sequence type size * \return message count