SCC_TLSHandshakeInd
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
The callback is called when a TLS handshake has been attempted after the SECC Discovery procedure. It is not called, however, if TLS is disabled or TCP was negotiated during SECC Discovery. To enable TLS, callSCC_SetTLSEnabled(1) in CAPL or set the parameter <UseTLS> to 1 in the XML configuration file.
Parameters
-
Status
- 1 – TLS handshake has successfully been completed.
- 2 – TLS handshake has failed. The Write window may contain more details about the cause of the failure.
- 3 – TLS handshake has most likely failed due to a bad certificate.
-
IsServer
- 0 – Callback for EV.
- 1 – Callback for EVSE.
- You may usually ignore this parameter as your CAPL code is linked to the EV or EVSE simulation DLL.