ChkCreate_J1939RTSCTS, ChkStart_J1939RTSCTS
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
dword ChkCreate_J1939RTSCTS(dword t1, dword t2, dword t3, dword t4, char[] callback1);dword ChkCreate_J1939RTSCTS(dword senderAddress, dword responderAddress, dword t1, dword t2, dword t3, dword t4, char[] callback1);dword ChkCreate_J1939RTSCTS(Node origninatorNode, Node responderNode, dword t1, dword t2, dword t3, dword t4, char[] callback1);dword ChkStart_J1939RTSCTS(dword t1, dword t2, dword t3, dword t4, char[] callback1);dword ChkStart_J1939RTSCTS(dword orginatorAddress, dword responderAddress, dword t1, dword t2, dword t3, dword t4, char[] callback1);dword ChkStart_J1939RTSCTS(Node origninatorNode, Node responderNode, dword t1, dword t2, dword t3, dword t4, char[] callback1);
Constructor
TestCheck:: CreateJ1939RTSCTSTestCheck:: CreateJ1939RTSCTS(dword t1, dword t2, dword t3, dword t4, char[] callback2);TestCheck:: CreateJ1939RTSCTS(dword orginatorAddress, dword responderAddress, dword t1, dword t2, dword t3, dword t4, char[] callback2);TestCheck:: CreateJ1939RTSCTS(Node origninatorNode, Node responderNode, dword t1, dword t2, dword t3, dword t4, char[] callback2);
Check Name
J1939 RTS/CTS (Check Description)Description
Observes the RTS/CTS transport protocol. It is possible to observe all RTS/CTS transmissions or only the transmission of a specific send node. Note: Dependent on the used parameter type the appropriate bus context in a multibus environment has only to be set before the function is called if the corresponding database object will be ambiguous. Further information on site MultiBus Environment.Parameters
- originatorNode: Originator node from database.
- responderNode: Responder node from database.
- originatorAddress: Originator address
- Possible values:
- 0 – 253: Observe originator node with this address
- 254, -1 (or 0xFFFFFFFF): Observe all originator nodes
- Possible values:
- responderAddress: Responder address
- Possible values:
- 0 – 253, 255: Observe responder node with this address
- 254, -1 (or 0xFFFFFFFF): Observe all responder nodes
- Possible values:
- t1: Timeout T1 [ms] (Default 750ms)
- t2: Timeout T2 [ms] (Default 1250ms)
- t3: Timeout T3 [ms] (Default 1250ms)
- t4: Timeout T4 [ms] (Default 1050ms)
- callback1: This parameter is optional. Name of the callback which is called when the check fails.
- Signature:
void Callback( dword checkId )
- Signature:
- callback2: This parameter is optional. Name of the callback which is called when the check fails.
- Signature:
void Callback( TestCheck check )
- Signature:
Return Values
- 0: Check could not be created and must not be referenced
- > 0: Check was created successfully and may be referenced using the returned (handle-) value
Possible Errors
- Specified node object does not exist in the database.
- Invalid originator or responder address.
- CAPL callback does not exist.