Skip to main content
Open topic with navigation

SCC_SetTLSEnabled

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » Simulation Control » Shared Functions » SCC_SetTLSEnabled Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

void SCC_SetTLSEnabled ( long Enabled )

Description

Specifies if TLS is used. This function will affect both the Security flag in the SECC Discovery message and the subsequent communication setup. By calling this function, the configuration parameter <UseTLS> is overwritten. When no behavior is specified by any of these methods, the remote station may decide for either TCP or TLS. Note:
  • Communication between EV and EVSE can only be established if both sides configure the TLS equally.
  • You can use the information from SCC_SECCDiscoveryReq() or SCC_SECCDiscoveryRes() to adjust the TLS mode for one station.

Parameters

  • Enabled: 1 to enable TLS support, 0 to disable TLS support.

Return Values

Example

SCC_SECCDiscoveryReq() | SCC_SECCDiscoveryRes()