Write CAN frame/message to socket
encapsulated function write import Modelica; extends Modelica.Icons.Function; import Modelica_DeviceDrivers.Communication.SocketCAN; import Modelica_DeviceDrivers.Packaging.SerialPackager; input SocketCAN socketCAN; input Integer can_id "CAN frame identifier"; input Integer can_dlc(min = 0, max = 8) "length of data in bytes (min=0, max=8)"; input SerialPackager pkg; end write;