.Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SocketCAN

Information

Example for Linux Socket CAN interface support

Will only work on Linux!

Please, read the package information for SocketCAN first!

The example

The example is configured to use the virtual CAN interface "vcan0". The SocketCAN package documentation describes briefly how to bring up such a virtual CAN interface in Linux.

Two sockets are opened in the example: One for sending messages, the other for receiving them. The SerialPackager blocks are used to add/retrieve data to/from the messages.


Generated at 2019-12-15T02:38:26Z by OpenModelicaOpenModelica 1.16.0~dev-83-g5b8ff4c using GenerateDoc.mos