FrTpSettings¶
- class FrTpSettings¶
- 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:
- GetAcknowledged()¶
Returns the Acknowledged.
The acknowledge bit (C_CT communication type) signals whether the sender requires a confirmation of receipt (acknowledged, STFA) or not (unacknowledged, STFU). - Integer
- Returns:
Acknowledged
- Return type:
int
- GetBlockSize()¶
Returns the BlockSize.
Block size in bytes; maximum number of bytes that may be transmitted in the following consecutive frames before the sender has to wait for another flow control frame. - Integer
- Returns:
BlockSize
- Return type:
int
- GetDiagTimeoutFrTp()¶
Returns the DiagTimeoutFrTp.
Timeout in milliseconds when waiting for responses on diagnostic requests via the FrTp protocol - Integer
- Returns:
DiagTimeoutFrTp
- 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
- GetFlowControlAddress()¶
Returns the FlowControlAddress.
Different address of the control unit (ECU) for FlowControl - Hex (optional Integer)
- Returns:
FlowControlAddress
- Return type:
int
- GetMNPC()¶
Returns the MNPC.
MNPC specifies how many consecutive frames the receiver can process within one FlexRay cycle. With MNPC set to 0 the sender can utilize the maximum possible band width. - Integer
- Returns:
MNPC
- Return type:
int
- GetRequestBaseCycle()¶
Returns the RequestBaseCycle.
Cycle offset in the application cycle window - Integer < RequestCycleRepetition
- Returns:
RequestBaseCycle
- Return type:
int
- GetRequestCycleRepetition()¶
Returns the RequestCycleRepetition.
Cycle count after which the frame is sent periodically based on BaseCycle - Integer >= 1
- Returns:
RequestCycleRepetition
- Return type:
int
- GetRequestSlotId()¶
Returns the RequestSlotId.
Frame-ID for requests sent to the ECU - 1 or 2 byte Hex (integer)
- Returns:
RequestSlotId
- Return type:
int
- GetResponseBaseCycle()¶
Returns the ResponseBaseCycle.
Cycle offset in the application cycle window - Integer < ResponseCycleRepetition
- Returns:
ResponseBaseCycle
- Return type:
int
- GetResponseCycleRepetition()¶
Returns the ResponseCycleRepetition.
Cycle count after which the frame is received periodically based on BaseCycle - Integer >= 1
- Returns:
ResponseCycleRepetition
- Return type:
int
- GetResponseSlotId()¶
Returns the ResponseSlotId.
Frame-ID for ECU responses - 1 or 2 byte Hex (integer)
- Returns:
ResponseSlotId
- Return type:
int
- GetSCexp()¶
Returns the SCexp.
SC defines the minimum distance in cycles until the sender is allowed to send the next consecutive frame. SC = 2^SCexp - 1 - Integer
- Returns:
SCexp
- Return type:
int
- GetSourceAddress()¶
Returns the SourceAddress.
Address of the tester (ecu.test) - Hex (integer)
- Returns:
SourceAddress
- Return type:
int
- GetTargetAddress()¶
Returns the TargetAddress.
Address of the ECU - Hex (integer)
- Returns:
TargetAddress
- Return type:
int
- SetAcknowledged(value)¶
Sets the Acknowledged.
The acknowledge bit (C_CT communication type) signals whether the sender requires a confirmation of receipt (acknowledged, STFA) or not (unacknowledged, STFU). - Integer
- Parameters:
- value : int¶
Acknowledged
- SetBlockSize(value)¶
Sets the BlockSize.
Block size in bytes; maximum number of bytes that may be transmitted in the following consecutive frames before the sender has to wait for another flow control frame. - Integer
- Parameters:
- value : int¶
BlockSize
- SetDiagTimeoutFrTp(value)¶
Sets the DiagTimeoutFrTp.
Timeout in milliseconds when waiting for responses on diagnostic requests via the FrTp protocol - Integer
- Parameters:
- value : int¶
DiagTimeoutFrTp
- 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
- SetFlowControlAddress(value)¶
Sets the FlowControlAddress.
Different address of the control unit (ECU) for FlowControl - Hex (optional Integer)
- Parameters:
- value : int¶
FlowControlAddress
- SetMNPC(value)¶
Sets the MNPC.
MNPC specifies how many consecutive frames the receiver can process within one FlexRay cycle. With MNPC set to 0 the sender can utilize the maximum possible band width. - Integer
- Parameters:
- value : int¶
MNPC
- SetRequestBaseCycle(value)¶
Sets the RequestBaseCycle.
Cycle offset in the application cycle window - Integer < RequestCycleRepetition
- Parameters:
- value : int¶
RequestBaseCycle
- SetRequestCycleRepetition(value)¶
Sets the RequestCycleRepetition.
Cycle count after which the frame is sent periodically based on BaseCycle - Integer >= 1
- Parameters:
- value : int¶
RequestCycleRepetition
- SetRequestSlotId(value)¶
Sets the RequestSlotId.
Frame-ID for requests sent to the ECU - 1 or 2 byte Hex (integer)
- Parameters:
- value : int¶
RequestSlotId
- SetResponseBaseCycle(value)¶
Sets the ResponseBaseCycle.
Cycle offset in the application cycle window - Integer < ResponseCycleRepetition
- Parameters:
- value : int¶
ResponseBaseCycle
- SetResponseCycleRepetition(value)¶
Sets the ResponseCycleRepetition.
Cycle count after which the frame is received periodically based on BaseCycle - Integer >= 1
- Parameters:
- value : int¶
ResponseCycleRepetition
- SetResponseSlotId(value)¶
Sets the ResponseSlotId.
Frame-ID for ECU responses - 1 or 2 byte Hex (integer)
- Parameters:
- value : int¶
ResponseSlotId
- SetSCexp(value)¶
Sets the SCexp.
SC defines the minimum distance in cycles until the sender is allowed to send the next consecutive frame. SC = 2^SCexp - 1 - Integer
- Parameters:
- value : int¶
SCexp