Skip to main content

_DoIP_TlsHandshakeCompleted

Valid for: CANoe DE Note
The 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

void _DoIP_TlsHandshakeCompleted (dword handshakeResult);

Description

The callback function is called when a TLS handshake is completed for the DoIP connection.

Parameters

  • handshakeResult
    TLS handshake result. If the operation completed successfully the value is zero. Otherwise, the value is an error code.

Return Values

Example

void _DoIP_TlsHandshakeCompleted(dword handshakeResult)
{
  write( "[%.3f] TLS handshake completed with result '%i'", timenow()/100000.0, handshakeResult);
}