MtfNpduCanTpCnx

class mtf.libs.mtf_pybinder.MtfNpduCanTpCnx

Represents Npdu CAN Tp connexion”

__init__(self: mtf.libs.mtf_pybinder.MtfNpduCanTpCnx, arg0: mtf.libs.mtf_pybinder.MtfNpduCanTpId, arg1: mtf.libs.mtf_pybinder.MtfNpduCanTpId) None
__new__(**kwargs)
configure(self: mtf.libs.mtf_pybinder.MtfNpduCanTpCnx, tx_pdu_length: int, flow_timeout_in_ms: int, padding_value: int | None) bool

Configure Can TP connexion

register(self: mtf.libs.mtf_pybinder.MtfNpduCanTpCnx, callback: Callable) bool

Register Rx Pdu listening callback

transmit(self: mtf.libs.mtf_pybinder.MtfNpduCanTpCnx, payload: list[int]) bool

Transmit Tx Pdu TP message

unconfigure(self: mtf.libs.mtf_pybinder.MtfNpduCanTpCnx) bool

UnConfigure Can TP connexion

unregister(self: mtf.libs.mtf_pybinder.MtfNpduCanTpCnx) bool

Unregister Rx pdu listening callback