add returning board id to public

This commit is contained in:
2022-10-20 10:48:08 +02:00
parent 08efcebd82
commit 19ff672938
3 changed files with 11 additions and 7 deletions

View File

@ -67,7 +67,7 @@ typedef struct {
U8 au8Data[8];
U8 u8Len;
U8 u8Type;
U16 u16Id;
BOOL boIsPrivate;
} CAND_Message;
// callback functions
@ -92,7 +92,7 @@ typedef VOID (*CAND_pfnRxCallback)( CAND_Message stMessage );
//=================================================================================================
BOOL CAND_boInitializeModule( VOID );
BOOL CAND_boSendMessage( U16 u16Id, PU8 pu8Buffer, U8 u8Len );
BOOL CAND_boSendMessage( PU8 pu8Buffer, U8 u8Len, BOOL boIsPrivate, U8 u8Type );
VOID CAND_vSetRxCallback( CAND_pfnRxCallback pfnRxCallback );
U8 CAND_u8GetBoardId( VOID );