Create Iso Tp Simulation Config

Creates a configuration for CAN TP or Flexray Tp (ISO-TP) simulation.

Arguments Description

channel_name (str): The name of the channel

rx_id (str): The receive ID for the iso TP simulation

tx_id (str): The transmit ID for the iso TP simulation

protocol (str): The protocol for the iso TP simulation (CAN,CANFD,FR)

pdu_length (int): The PDU length for the iso TP simulation

source_adr (int, optional): Source address for the iso TP simulation. Defaults to 0

target_adr (int, optional): Target address for the iso TP simulation. Defaults to 0

padding_value (int, optional): Padding value for the CAN TP simulation. Defaults to 0xFF

flow_timeout (int, optional): Flow control timeout for the CAN TP simulation. Defaults to 1

is_padding_activated (bool, optional): Whether padding is activated for the iso TP simulation. Defaults to True

Returns

Configuration object: Configuration for iso TP simulation.

Example

${config}= Create Iso Tp Simulation Config ${ChannelName} 0x123 0x321 CAN ${8} source_adr=${0xf1} target_adr=${0x10}