update can protocol

This commit is contained in:
2022-06-21 11:34:45 +02:00
parent 2d99902346
commit 8521a34897
8 changed files with 43 additions and 47 deletions

View File

@@ -40,7 +40,9 @@ extern "C" {
// Description: Definition of global constants (visible by all modules).
//=================================================================================================
#define MESSAGE_TYPE_WRITE 2
#define MESSAGE_TYPE_READ 1
#define MESSAGE_TYPE_COMMAND 0
//=================================================================================================
// Section: MACROS
@@ -64,6 +66,7 @@ extern "C" {
typedef struct {
U8 au8Data[8];
U8 u8Len;
U8 u8Type;
} CAND_Message;
// callback functions