INFM HIL Interface
Interface between Artery simulation and DuTs
|
This connector provides an interface between a network interface for V2X and this interface.
A raw socket is opened on the configured interface and the packets received are sent as events to the simulation. Similarly, received V2X events are sent out over the socket.
⚠ The raw socket requires root privileges to be opened, alternatively the CAP_NET_RAW capability needs to be given to the executable
sudo setcap cap_net_raw=ep executable
To test the V2X Connector two virtual interfaces can be created and linked together with the following commands.
Packets send to veth0 are received on veth1 and vice versa.