DoIP_GetReconnectInterval, DoIP_SetReconnectInterval
Valid for: CANoe DE NoteThe following DoIP CAPL function is only available with the modeling library DoIP.dll and eventually an appropriate implementation of the CAPL Callback Interface. Information about the DoIP DLL and the CAPL Callback Interface you find here:
Function Syntax
Description
Get the distance between reconnect attempts by the tester, or configure the way the tester repeats reconnect attempts to the vehicle. When the vehicle closes the connection the tester will wait for a time configured with DoIP_SetReconnectDelay before trying to connect to the vehicle again. It will then send up to maxAttempts TCP connection requests to the ECU, waiting reconnectInterval_ms between attempts.Parameters
-
reconnectInterval_ms
0
After sending a TCP connection request the tester will wait this long for the vehicle to accept it. If it does not respond, the tester will send another request, unless the maximum number of attempts is reached. -
maxAttempts
Maximum number of reconnection attempts the tester will perform.
Return Values
-
Form 1
dword reconnectInterval_ms -
Form 2
void