Configure Can Tp Connection
- Configures Can Tp Connection.
This keyword is used to configure the CANTP connection by specifying the connection parameters. Once the connection is established, this keyword returns an object that will be used as an input for other cantp keywords such as: ‘Clear Cantp Connection’, ‘Transmit Cantp Message’ and ‘Get Cantp Message Queue’.
Arguments Description
channel_name (str): The name of the Can channel to be used.
*rxid” (int): The receiver identifier (ID) of the Can channel.
txid (int): The transmitter identifier (ID) of the Can channel.
source_address (int): The source address used by the Can TP.
- target_address (int): The target address used by the Can TP.
note : if target_address==0 normal addressing will be used
- format (str): The PDU (Protocol Data Unit) format of the Can TP.
var : CAN or CANFD
pdu_length (int): The length of the PDU in bytes.
padding (int): The padding byte value used by the Can TP.
time_flow (int): The time flow value used by the Can TP.
Returns
object (can_tp_config) if connection is set, False otherwise.
Example
${config_sender}= Configure Cantp Connection ${sender_channel} ${rxid} ${txid} ${source_address} ${target_address} ${protocol} ${pdu_length} ${padding} ${time_flow}