CanIsoTpSettings

class CanIsoTpSettings
Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

CanIsoTpSettings

GetAddressByte()

Returns the AddressByte.

Here: Only the byte sequence in format “AA:BB:01”.

Network target address or address extension (only relevant for extended or mixed addressing) - ByteStream of length 1

Returns:

AddressByte

Return type:

str

GetAddressMode()

Returns the AddressMode.

Code of addressing mode - Integer (0: Standard Addressing | 1: Extended Addressing)

Returns:

AddressMode

Return type:

int

GetBlockSize()

Returns the BlockSize.

Number (0 - 255) of consecutive frames that can be received without an intermediate flow control - Integer

Returns:

BlockSize

Return type:

int

GetDiagTimeoutCanIsoTp()

Returns the DiagTimeoutCanIsoTp.

Timeout in milliseconds when waiting for responses on diagnostic requests via the ISO-TP protocol - Integer

Returns:

DiagTimeoutCanIsoTp

Return type:

int

GetFillByte()

Returns the FillByte.

Here: Only the byte sequence in format “AA:BB:01”.

Byte to fill messages (optional) - ByteStream of length 1

Returns:

FillByte

Return type:

str

GetFlowControlAddressByte()

Returns the FlowControlAddressByte.

Here: Only the byte sequence in format “AA:BB:01”.

Different network destination address or address extension for FlowControl (only relevant for extended and mixed addressing) - ByteStream of length 1

Returns:

FlowControlAddressByte

Return type:

str

GetFlowControlId()

Returns the FlowControlId.

Message ID for flow control messages (optional) - Hex (optional Integer)

Returns:

FlowControlId

Return type:

int

GetIsExtended()

Returns the IsExtended.

Use Extended CAN-ID format? (1=yes / 29 Bits; 0=no / 11 Bits; -1 = Use setting from TBC)

Returns:

IsExtended

Return type:

int

GetIsExtendedFlowControlId()

Returns the IsExtendedFlowControlId.

Use Extended CAN ID format (for FlowControlId)? (1=yes/29 bit; 0=no/11 bit;-1 = use same setting as IsExtended)

Returns:

IsExtendedFlowControlId

Return type:

int

GetIsExtendedRequestId()

Returns the IsExtendedRequestId.

Use Extended CAN ID format (for RequestId)? (1=yes/29 bit; 0=no/11 bit;-1 = use same setting as IsExtended)

Returns:

IsExtendedRequestId

Return type:

int

GetIsExtendedResponseId()

Returns the IsExtendedResponseId.

Use Extended CAN ID format (for ResponseId)? (1=yes/29 bit; 0=no/11 bit;-1 = use same setting as IsExtended)

Returns:

IsExtendedResponseId

Return type:

int

GetRequestId()

Returns the RequestId.

Message ID for ECU requests - Hex (optional Integer)

Returns:

RequestId

Return type:

int

GetResponseId()

Returns the ResponseId.

Message ID for ECU responses - Hex (optional Integer)

Returns:

ResponseId

Return type:

int

GetSeparationTime()

Returns the SeparationTime.

Minimal time separation between successive fragments 0x00..0x7F => 0..127ms, 0x80..0xf0 => reserved, 0xf1..0xf9 => 100.900µs, 0xfa..0xff => reserved - Integer

Returns:

SeparationTime

Return type:

int

SetAddressByte(value)

Sets the AddressByte.

Here: Only the byte sequence in format “AA:BB:01”.

Network target address or address extension (only relevant for extended or mixed addressing) - ByteStream of length 1

Parameters:
value : str

AddressByte

SetAddressMode(value)

Sets the AddressMode.

Code of addressing mode - Integer (0: Standard Addressing | 1: Extended Addressing)

Parameters:
value : int

AddressMode

SetBlockSize(value)

Sets the BlockSize.

Number (0 - 255) of consecutive frames that can be received without an intermediate flow control - Integer

Parameters:
value : int

BlockSize

SetDiagTimeoutCanIsoTp(value)

Sets the DiagTimeoutCanIsoTp.

Timeout in milliseconds when waiting for responses on diagnostic requests via the ISO-TP protocol - Integer

Parameters:
value : int

DiagTimeoutCanIsoTp

SetFillByte(value)

Sets the FillByte.

Here: Only the byte sequence in format “AA:BB:01”.

Byte to fill messages (optional) - ByteStream of length 1

Parameters:
value : str

FillByte

SetFlowControlAddressByte(value)

Sets the FlowControlAddressByte.

Here: Only the byte sequence in format “AA:BB:01”.

Different network destination address or address extension for FlowControl (only relevant for extended and mixed addressing) - ByteStream of length 1

Parameters:
value : str

FlowControlAddressByte

SetFlowControlId(value)

Sets the FlowControlId.

Message ID for flow control messages (optional) - Hex (optional Integer)

Parameters:
value : int

FlowControlId

SetIsExtended(value)

Sets the IsExtended.

Use Extended CAN-ID format? (1=yes / 29 Bits; 0=no / 11 Bits; -1 = Use setting from TBC)

Parameters:
value : int

IsExtended

SetIsExtendedFlowControlId(value)

Sets the IsExtendedFlowControlId.

Use Extended CAN ID format (for FlowControlId)? (1=yes/29 bit; 0=no/11 bit;-1 = use same setting as IsExtended)

Parameters:
value : int

IsExtendedFlowControlId

SetIsExtendedRequestId(value)

Sets the IsExtendedRequestId.

Use Extended CAN ID format (for RequestId)? (1=yes/29 bit; 0=no/11 bit;-1 = use same setting as IsExtended)

Parameters:
value : int

IsExtendedRequestId

SetIsExtendedResponseId(value)

Sets the IsExtendedResponseId.

Use Extended CAN ID format (for ResponseId)? (1=yes/29 bit; 0=no/11 bit;-1 = use same setting as IsExtended)

Parameters:
value : int

IsExtendedResponseId

SetRequestId(value)

Sets the RequestId.

Message ID for ECU requests - Hex (optional Integer)

Parameters:
value : int

RequestId

SetResponseId(value)

Sets the ResponseId.

Message ID for ECU responses - Hex (optional Integer)

Parameters:
value : int

ResponseId

SetSeparationTime(value)

Sets the SeparationTime.

Minimal time separation between successive fragments 0x00..0x7F => 0..127ms, 0x80..0xf0 => reserved, 0xf1..0xf9 => 100.900µs, 0xfa..0xff => reserved - Integer

Parameters:
value : int

SeparationTime