Add TryReceive

This commit is contained in:
Stefano Calabretti
2022-04-11 15:50:22 +02:00
parent 94ecc5ceeb
commit 49b541775a
4 changed files with 37 additions and 16 deletions
+6 -2
View File
@@ -10,6 +10,10 @@
* MMR_CAN_MESSAGE_ID_POINT might be interpreted as
* a message carrying a struct Point { int x; int y; };,
* and thus deserialized accordingly.
*
* You can find a table with more in-depth explanations on
* Google Drive:
* https://docs.google.com/spreadsheets/d/1GIC0_FuhCjXfBOg_dUWzoEsl5TG7SEOR
*/
#ifndef INC_MMR_CAN_MESSAGE_ID_H_
@@ -22,8 +26,8 @@
/**
* @brief
* Message ids are 10 bits wide
* The first 3 bits determine the message id type, while
* the other 7 determine the subtype.
* The first 5 bits determine the message id type, while
* the other 5 determine the subtype.
*
* Ids scheme:
*