VLCB SDK
An opinionated SDK for VLCB protocol
Loading...
Searching...
No Matches
addr.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
vlcb/common/can.h
"
4
5
typedef
enum
{
6
VLCB_MEDIUM_CAN
,
7
}
VlcbNetMedium
;
8
9
typedef
union
{
10
VlcbCanId
can_id
;
11
}
VlcbNetHwAddr
;
12
13
bool
vlcb_net_IsHwAddrValid
(
VlcbNetMedium
medium,
VlcbNetHwAddr
addr);
14
15
VlcbNetHwAddr
vlcb_net_NewCanIdHwAddr
(
VlcbCanId
id
);
VlcbNetMedium
VlcbNetMedium
Definition
addr.h:5
VLCB_MEDIUM_CAN
@ VLCB_MEDIUM_CAN
Definition
addr.h:6
vlcb_net_NewCanIdHwAddr
VlcbNetHwAddr vlcb_net_NewCanIdHwAddr(VlcbCanId id)
Definition
addr.c:17
vlcb_net_IsHwAddrValid
bool vlcb_net_IsHwAddrValid(VlcbNetMedium medium, VlcbNetHwAddr addr)
Definition
addr.c:8
can.h
VlcbCanId
uint8_t VlcbCanId
Definition
common/inc/vlcb/common/can.h:9
VlcbNetHwAddr
Definition
addr.h:9
VlcbNetHwAddr::can_id
VlcbCanId can_id
Definition
addr.h:10
net
inc
vlcb
net
addr.h
Generated on Mon Nov 4 2024 09:13:33 for VLCB SDK by
1.12.0